Repository navigation
[build] recover from incomplete Java release by dropping staged repositories when found - #18112
Conversation
PR Summary by QodoRecover stale Java staging repositories before deployment
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
Code Review by Qodo
1.
|
…er to the Portal when a previous deployment is still in flight
…rtal lists its purls
c6f86a3 to
82ff791
Compare
|
Code review by qodo was updated up to the latest commit 82ff791 |
💥 What does this PR do?
java:releasenow drops a staging repository left behind by an earlier CI attempt and redeploys, instead of aborting. Since repositories only apply to given credentials, this code can't see attempts from local executions, so there is no value to just aborting.🔧 Implementation Notes
FAILEDdeployment is dropped, aPUBLISHEDone for this version ends the deploy as already done, and anything still in flight aborts naming the state, since the right move is to rerun once it settles.purls, so a stale deployment of an older version cannot suppress the current release.🤖 AI assistance
🔄 Types of changes