Repository navigation
refactor(workflow)!: remove existing-pr gate on the workflow - #8133
Conversation
PR Summary by QodoRemove the existing-PR gate from workflow dispatch
AI Description
Diagram
High-Level Assessment
Files changed (2)
|
|
🤖 Finished Review · ✅ Success · Started 9:13 AM UTC · Completed 9:28 AM UTC Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $2.46 |
Code Review by Qodo
1.
|
|
Risk Assessment: moderate (2/5) DetailsWhile the PR modifies a protected CI workflow in a high-churn, heavily coupled area without a feature flag, the change is compact (2 files, 100 lines) with accompanying test updates and no dependency changes, yielding a moderate composite risk score. Previous runRisk Assessment: moderate (2/5) DetailsModerate risk reflects a small, test-backed diff modifying a protected CI workflow without a rollback flag, where high churn and change coupling in git history offset the compact change size. |
ReviewFindingsMedium
Previous runReviewFindingsMedium
Low
Next steps:
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
BREAKING CHANGE: this change removes the existing PR gate on the workflow. The gate exists on the pre-script for the code agent. A breaking change anyway, as now the workflows will run for longer up to that point. Signed-off-by: Hector Martinez <hemartin@redhat.com>
a1af002 to
7f2f73d
Compare
|
🤖 Finished Review · ✅ Success · Started 10:51 AM UTC · Completed 11:02 AM UTC Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $2.63 |
Superseded by updated review
waynesun09
left a comment
There was a problem hiding this comment.
LGTM. Checked that the code pre-script in agents v0.48.1/main (forge_list_prs_for_issue) keeps the same gate: closing refs, OPEN only, coder-bot exempt. It also honors --force, so /fs-code --force now works end to end. No dangling pr-check references are left. Two minor notes, not blocking: a skipped code run now posts a status comment and the pr-open label instead of a silent notice, and the removed guard test has no replacement assertion.
The existing-PR gate was removed from main in fullsend-ai#8133 but reintroduced by the workflow changes for fullsend-ai#7555. Drop the gate and its authorization metadata/test plumbing so code dispatch is not incorrectly suppressed by unrelated open PRs. Signed-off-by: Barak Korren <bkorren@redhat.com> Assisted-by: Codex (gpt-5.6-sol)
Summary
BREAKING CHANGE: this change removes the existing PR gate on the workflow. The gate exists on the pre-script for the code agent. A breaking change anyway, as now the workflows will run for longer up to that point.
This creates an extra cost on the workflow side, but it is accepted.
Related Issue
Related to #7608
Changes
Testing
make lintpasses (stage changes first, then run)Checklist
!for breaking changes)