Skip to content

fix(roadmap): check a split plan of the stage with every gate - #4109

Merged
dan-petty merged 4 commits into
mainfrom
fix/4040-rerun-group-gates-after-split
Nov 8, 2026
Merged

dan-petty merged 4 commits into
mainfrom
fix/4040-rerun-group-gates-after-split

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

After the model splits an over-budget group, _Planner._settle now checks the new groups with the same check_proposal call as the first reply. Before, it ran only five gates by hand, so eval-replay, what-changes, move-prefix, move-verify, registry, content and spec-delta did not run on a split plan, and the job could stage a plan that one of them refuses (#4040).

Closes #4040

Change: openspec/changes/archive/2026-11-08-4040-rerun-group-gates-after-split/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 8, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Test record for #4040.

fail-to-pass (uv run devops ci fail-to-pass --base origin/main): the 8 new tests in tests/roadmap/stage/test_roadmap_stage_split_gates.py fail on the base (assert 2 == 3: the planner accepts the split plan and makes no third model call) and pass on this branch. Run output: .data/agent/scratch/f2p-4040.out.

Full uv run devops ci (log .data/agent/scratch/ci-4040.out): all rows passed except test, with 1 failed and 21083 passed. The one failure was in this change: a span with parentheses in the Verification line of task 1.3, which tests/invariants/test_change_folders.py refuses. It is fixed in 261e770, and that file now has 34 passed.

After the last rebase onto origin/main (8978d56), the narrow tests passed again: test_roadmap_stage_split_gates.py (8), test_roadmap_stage_split.py, test_change_folders.py (34) and the source-tree test.

The test row took 12m36s on a shared host with other CI runs. The change did not cause this. It is the known issue #3593.

No setting, ConfigMap key or Settings field changes, so no ConfigMap load test is needed.

@dan-petty
dan-petty marked this pull request as ready for review November 8, 2026 02:06
@dan-petty
dan-petty merged commit 768dbd3 into main Nov 8, 2026
25 checks passed
@dan-petty
dan-petty deleted the fix/4040-rerun-group-gates-after-split branch November 8, 2026 02:09
dan-petty pushed a commit that referenced this pull request Nov 8, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.87.0](v0.86.0...v0.87.0)
(2026-11-08)


### Features

* **k8s:** add k8s crawl4ai-check command
([#4108](#4108))
([32e247f](32e247f))


### Bug Fixes

* **repos:** keep unmanaged and ignored-data worktrees in add reclaim
([#4106](#4106))
([8978d56](8978d56))
* **roadmap:** check a split plan of the stage with every gate
([#4109](#4109))
([768dbd3](768dbd3))
* **roadmap:** count only answered searches in alternatives
([#4101](#4101))
([b34fe0e](b34fe0e))
* **roadmap:** keep a round alive on item-changed; fail on bad schedule
([#4102](#4102))
([9231dc3](9231dc3))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(roadmap): rerun the group gates after a split

1 participant