Skip to content

fix(roadmap): Measure and bound the repair return request - #5883

Merged
dan-petty merged 3 commits into
mainfrom
fix/3529-a-return-request-leaves-room-for
Nov 16, 2026
Merged

dan-petty merged 3 commits into
mainfrom
fix/3529-a-return-request-leaves-room-for

Conversation

@devops-cli-service

@devops-cli-service devops-cli-service Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

The stage job sends the earlier plan back to the planner with the problem after a gate refuses a reply and after a review returns a finding, and the earlier change measured only the first plan request. A long earlier plan can push the return request past the limit at which the run offers no tool, and the planner then makes no tool call. #3529 asks for an offline measure of the return request and for a bound on the earlier plan.

Closes #3529

Change: openspec/changes/archive/2026-11-15-3529-a-return-request-leaves-room-for/

@devops-cli-service
devops-cli-service Bot force-pushed the fix/3529-a-return-request-leaves-room-for branch from e8fef5f to 8d3bd7c Compare November 15, 2026 20:12
@devops-cli-service devops-cli-service Bot 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 15, 2026
@devops-cli-service

Copy link
Copy Markdown
Contributor Author

The steps of the job:

Stopped at scoped checks.

Failure class: ci_infra.
Action taken: none.
Action left: retry: run the item again.

Step Status Attempts Tokens in/out Last failing command
group 1 done 1 16407385/42959 pytest on base: tests/roadmap/stage/test_roadmap_stage_window.py
group 2 done 1 6999135/21547 pytest on base: tests/roadmap/stage/test_roadmap_stage_window.py
scoped checks stopped 1 0/0 -

Reason:

SecurityError: Prohibited dangerous environment variable override: 'PYTEST_ADDOPTS'

Last message of the agent (a claim that no check verified): none.

The item is Blocked, and the job will not run it. Fix the cause. Then comment implement: retry. The Service clears the stop on its own when a new runner image rolls out, but only if a retry can fix the class of the stop and the limits of roadmap.implement.digest_clears_per_class and roadmap.implement.digest_clears_per_item allow it.

The job kept the commits that passed on the branch fix/3529-a-return-request-leaves-room-for on origin. The last is 513973014113606120588f041429d8662e6cd391. The pull request stays a draft. The next run continues from it, runs no group that is ticked, and runs the scoped checks again.

Step Status Attempts Tokens in/out Last failing command
group 1 done 1 16407385/42959 pytest on base: tests/roadmap/stage/test_roadmap_stage_window.py
group 2 done 1 6999135/21547 pytest on base: tests/roadmap/stage/test_roadmap_stage_window.py
  • scoped check pre-push: passed, 9 s
  • scoped check static: passed, 31 s
  • scoped check tests: passed, 42 s
  • scoped check tests: the changed files select more than 30 test modules, so only the changed test modules ran. The required checks of CI run the others
  • fail-to-pass of group 1: fails on the base commit. Tests that fail on the base commit: tests.roadmap.stage.test_roadmap_stage_window::test_a_gate_return_with_the_full_earlier_plan_leaves_room_for_the_tools.
  • fail-to-pass of group 2: fails on the base commit. Tests that fail on the base commit: tests.roadmap.stage.test_roadmap_stage_window::test_a_repair_return_request_of_a_large_plan_leaves_room_for_the_tools.

@dan-petty
dan-petty marked this pull request as ready for review November 16, 2026 00:20
@dan-petty
dan-petty self-requested a review as a code owner November 16, 2026 00:20
@dan-petty
dan-petty merged commit c5b21a3 into main Nov 16, 2026
23 checks passed
@dan-petty
dan-petty deleted the fix/3529-a-return-request-leaves-room-for branch November 16, 2026 00:39
dan-petty pushed a commit that referenced this pull request Nov 16, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.160.0](v0.159.0...v0.160.0)
(2026-11-16)


### Features

* **roadmap:** add toolset comparison to the stage eval
([#5786](#5786))
([27b6d39](27b6d39))
* **roadmap:** fix simple stage gate problems with no model call
([#5902](#5902))
([7d0b38d](7d0b38d))
* **roadmap:** Give each attempt its own strategy
([#5898](#5898))
([a4390b2](a4390b2))
* **roadmap:** name the test module for a changed function
([#5912](#5912))
([7bd61b3](7bd61b3))
* **roadmap:** one watch row for plan and delivery PRs
([#5906](#5906))
([85b15fa](85b15fa)),
closes [#5024](#5024)
* **roadmap:** rebase staged branch onto main before implement
([#5921](#5921))
([42fbc79](42fbc79))


### Bug Fixes

* **k8s:** the config template holds the job limits
([#5913](#5913))
([c1f3259](c1f3259)),
closes [#5583](#5583)
* **roadmap:** each job reads a model setting of its own
([#5909](#5909))
([11390b4](11390b4))
* **roadmap:** Measure and bound the repair return request
([#5883](#5883))
([c5b21a3](c5b21a3))
* **roadmap:** return unbuildable premise items during stage
([#5917](#5917))
([0a7e45c](0a7e45c))
* **tests:** deselect only tests that carry k8s marker
([#5915](#5915))
([e6904f5](e6904f5)),
closes [#5910](#5910)


### Performance Improvements

* **cli:** Cut the shared import cost of a CLI start
([#5890](#5890))
([836cec5](836cec5))

---
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): a return request leaves room for the planner tools

1 participant