Repository navigation
fix(manager): record the manager's verdict when it reports done - #637
Merged
TheGreatAxios merged 2 commits intoOct 26, 2026
Merged
TheGreatAxios merged 2 commits into
TheGreatAxios merged 2 commits into
Conversation
TheGreatAxios
force-pushed
the
cl-11520-record-the-managers-verdict-when-it-reports-done
branch
from
October 26, 2026 18:18
625048a to
b0185e5
Compare
TheGreatAxios
force-pushed
the
cl-11520-record-the-managers-verdict-when-it-reports-done
branch
from
October 26, 2026 18:45
2f2940a to
cfa69fb
Compare
…ttle a gone manager's head
TheGreatAxios
force-pushed
the
cl-11520-record-the-managers-verdict-when-it-reports-done
branch
from
October 26, 2026 18:46
cfa69fb to
e211911
Compare
TheGreatAxios
marked this pull request as ready for review
October 26, 2026 18:46
Contributor
|
Triage: Unsure Waiting on:
Some rules could not run this time. Triage will re-check this pull request. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes CL-11520
Why
In a workspace on the new manager path, a pull request's verdict was posted but never recorded, so the portal showed nothing for it and the reconciler kept mailing the head again as "run never started". Approving a held action from such a verdict had nowhere to read it from.
What changed
verdict-row.ts, which reads no run log). A run's newest verdict on a pull request replaces its earlier one and keeps the outcomes of actions already written on that head. The verdict's start is when the run first took that head, and its trigger is the newest mail for that head.vendor/interchange/packages/workflow/src/runtime/run.ts, used by live runs through workflow-host'srun-child.tsand byrunLocalalike):{ skipped: true, gateId, branch }(emitSkipClosure). The loop'swhile/carryread each pass's outputs back from that log (hydrateChildOutputs), so they see that marker for every done the pass skipped.donefirst and so picked up its marker whenever the judge's or the code review's done ran, and never started another pass on theirmore. It now takes the first done that isn't marked skipped.Verified
bun run check,bun run lint(no new warnings) and the policy check against origin/main, which is clean.