Repository navigation
Conversation
Its oracle knew a pull request that breaks by itself and a pair that fails together, so a planner that built #1 and #3 without the #2 that #3 needs, and ejected #3, passed it. A pull request may now need another: a tree that holds it without that one fails, and ejecting it is a culprit's unless the one it needs has landed, or is queued ahead of it with its own checks passed and nothing holding it. Worlds of three pull requests on two slots, batches of two and probes, where #2 and #3 need each other and where #3 needs #2, join both tables. The planner of eaf9498 fails the first with spare on invariant 3, #3. A mutant that goes on beside a candidate stacked on a red one is killed there. Of the worlds with probes and no such need it passes all but one, most of them stopped at the cap: a world with keep kills it on keep inertness, which compares any planner with queue.Plan itself. Today's planner ejects #3 where #1 breaks and #3 needs #2: both candidates fail, the chain goes on with #3 alone while #2 is a suspect, #2 is cleared and lands, and #3 leaves on its own build's fair test. The world stays out of the tables, and a test holds the counterexample.
There was a problem hiding this comment.
🟡 Changes recommended
The readiness projection ignores prerequisite merge conflicts, allowing unavailable prerequisites to be treated as ready and causing false invariant-3 failures.
1 open issue
What changed in this PR
Extends the evaluation checker to model pull requests that depend on others, covering failures that standalone breaks and pairwise clashes could not detect. The production planner is unchanged.
Changes:
- Adds dependency-aware build outcomes and ejection checks, plus three dependency worlds.
- Adds a planner mutant and regression tests, including a known current-planner counterexample outside the passing tables.
- Documents the checker’s expanded model.
[!TIP]
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or rungh pr ready --undo.
Click "Ready for review" or rungh pr readyto reengage.
| File | Description |
|---|---|
eval/check.go |
Models dependencies, queue readiness, and dependency worlds. |
eval/check_test.go |
Tests dependency judgments, mutant detection, and the known counterexample. |
eval/check_mutants.go |
Adds a mutant that proceeds beside a pending stacked candidate. |
.agents/skills/hillclimb/SKILL.md |
Documents dependency modeling in the checker. |
Review effort: Balanced
An ejection was judged against pull requests whose waits left out a conflict with the trunk, so a pull request that needs one that can join no candidate read as innocent. It is judged against the same reading the drain uses, where such a pull request waits.
|
🤖 Held with #16, which it is stacked on (see the note there). An outside read of this diff left four notes on the checker, none yet acted on:
|
|
🤖 Closed in favour of #33, which carries this pull request's checker work on main, without the planner setting it was stacked on (#16, closed unmerged).
The branch stays. |

The checker plays the planner through every interleaving of a small world and judges the charter's invariants. Its worlds knew two ways a tree fails: a pull request that breaks by itself, and a pair that fails together. None had a pull request that needs another, so a planner that built #1 and #3 without the #2 that #3 needs, and took #3 out, passed it. That happened: the change d431614 removed got through the checker and was caught by a hand-written test.
Based on #16 (
slot-hold), which addsspare. Eval only: nothing underinternal/changes.What changes
pullSpec.Needs): a tree that holds it without that one fails. A pushed head waits for every admitting check of its own #2 and The head branch settles a pull ref that fell behind #3 needing each other is a break and its repair; The head branch settles a pull ref that fell behind #3 needing A pushed head waits for every admitting check of its own #2 alone is a pull request built on another.spareand without) and pass whole.What it shows
spare, breaks invariant 3 on The head branch settles a pull ref that fell behind #3 in the needing-each-other world, in 11 steps: it builds Score the stale-head repair and after-merge iPhone tests of hey-native-apps in the eval #1 and The head branch settles a pull ref that fell behind #3 beside the candidate of all three and takes The head branch settles a pull ref that fell behind #3 out in the tick that candidate lands. Withoutspareit passes, and so does today's planner.spareand without: Score the stale-head repair and after-merge iPhone tests of hey-native-apps in the eval #1 breaks and The head branch settles a pull ref that fell behind #3 needs A pushed head waits for every admitting check of its own #2. Both candidates fail, the chain goes on with The head branch settles a pull ref that fell behind #3 alone while A pushed head waits for every admitting check of its own #2 is held aside as a suspect, A pushed head waits for every admitting check of its own #2 is cleared and lands, and The head branch settles a pull ref that fell behind #3 leaves on its own build's fair test, made on the old trunk.TestCheckerCurrentPlannerEjectsAPullRequestThatNeedsASuspectSetAsideholds the counterexample; the world stays out of the passing tables. The planner is not changed here: what takes a pull request out is decided separately. Both queues' records, 15 to 25 Nov, hold 17 take-outs of a culprit and none was this: 7 were made on evidence built on an older trunk, and each of those pull requests came back with a commit of its author's own.Checked
gofmt,go vet ./eval/,go test ./eval/ -run TestChecker(28 s before, about 55 s after on a busy machine). The whole suite runs here in CI.Not checked: the needing-each-other world with builds free to begin at any time (105,071 states whole at head; left out of the tables for its size).