Repository navigation
fix(manager): post the judge's verdict as the judge reported it - #635
Merged
TheGreatAxios merged 4 commits intoOct 26, 2026
Merged
TheGreatAxios merged 4 commits into
TheGreatAxios merged 4 commits into
Conversation
The judge reports the whole verdict it evaluated, and the pass that has it for its head mirrors and executes it without evaluating the head again. The judge's reviewer and its verdict stay on the claim for that head, so a later pass on it posts the same verdict and deploys no second judge.
A later pass on the same head posts the stored review with the verdict and deploys no second review; a failed or late review stays and is not deployed again.
A stored judge verdict is posted only while the pass's rules need the judge and it names the pass's pull request, head and host. The judge waits for the host's checks and the head is marked waiting. Undecided, degraded, failed, late or oversized results are not kept, so the next event deploys the reviewer again. A stored review is posted only while code review still applies.
TheGreatAxios
force-pushed
the
cl-11521-post-the-judges-verdict-as-the-judge-reported-it
branch
from
October 26, 2026 18:18
47c07ba to
3d7b3fb
Compare
TheGreatAxios
marked this pull request as ready for review
October 26, 2026 18:18
Contributor
|
Triage: Unsure Waiting on:
Some rules could not run this time. Triage will re-check this pull request. |
…udge verdict without a head A stored verdict holding or skipping a Do for the head's CI is not decided, so a CI run that changes on the same head gets a new judge. A judge verdict that names no head counts as a failed judge instead of failing the pass.
This was referenced Oct 26, 2026
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-11521
Why
The manager evaluated a judged head a second time by replaying the judge's answers. When an answer had been dropped, or the pull request had changed in the meantime, the comment said "Some rules could not run this time" and the pull request got Needs Human Review. Both the judge's result and the code review's were forgotten once nothing was waiting, so the next event on the same head started each of them again.
What changed
Verified
bun --conditions=intx-src test packages/triage-manager packages/triage-judge packages/triage-contracts packages/triage-workflows/src: all pass.renderVerdictfor items markedjudgeSkipped, which only the manager sets. The offline triage-workflows evals pass (2), and the paid-model eval was not run.bun run check,bun run lintand the policy check against origin/main are clean.