You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(jira,linear): board state on build failure + re-open revert (review blocker 9)
9a (Jira board lies): pipeline.py moved the Jira card to In Review the moment a
PR opened — but ensure_pr deliberately opens a PR even on a FAILED build, so a
red build was reported as ready-for-review. Gate transition_pr_opened on
build_passed, mirroring the Linear twin (react_task_finished transitions only on
success). A build-failed PR now leaves the card In Progress with the failure
comment. +2 tests (fail → no transition, pass → transition).
9b (Linear re-open revert was a silent no-op): the rollup's re-opened-epic revert
(In Review → In Progress) never fired because transitionIssueState's backward-move
guard blocks a within-type regression (both are 'started' type; In Progress sits
at a lower position). Added an allowSameTypeRegression opt-in that relaxes ONLY
the same-type position tiebreak — cross-type demotion (Done → In Progress) stays
blocked. The rollup re-open passes it. +3 tests (blocked by default, allowed with
flag, cross-type still blocked). agent + cdk gates green.
0 commit comments