Skip to content

feat(roadmap): Give each attempt its own strategy - #5898

Merged
dan-petty merged 6 commits into
mainfrom
feat/3569-each-repair-round-changes-the-strategy
Nov 16, 2026
Merged

dan-petty merged 6 commits into
mainfrom
feat/3569-each-repair-round-changes-the-strategy

Conversation

@devops-cli-service

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

Copy link
Copy Markdown
Contributor

A repair round of an implement step sends the same inputs again with the text of the failure, so a second failure of the same kind repeats the strategy that failed. A stop with action change_tier on a ladder of one tier names no setting, so a person cannot see what to change. This change gives each attempt a strategy of its own and names the ladder at that stop (#3569).

Closes #3569

Change: openspec/changes/archive/2026-11-15-3569-each-repair-round-changes-the-strategy/

@devops-cli-service
devops-cli-service Bot force-pushed the feat/3569-each-repair-round-changes-the-strategy branch 6 times, most recently from fce0952 to 086c5b2 Compare November 15, 2026 23:38
@devops-cli-service devops-cli-service Bot added type/feature Type feature: a new function scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 15, 2026
@devops-cli-service
devops-cli-service Bot force-pushed the feat/3569-each-repair-round-changes-the-strategy branch from 086c5b2 to 4584b4c Compare November 15, 2026 23:42
@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 2106789/10284 pytest on base: tests/roadmap/implement/test_roadmap_implement_step_attempts.py
group 2 done 1 11045621/46781 pytest on base: tests/roadmap/implement/test_roadmap_implement_step_repair.py
group 3 done 1 7012128/45410 pytest on base: tests/roadmap/implement/test_roadmap_implement_tier_move.py
group 4 done 1 7221983/20115 pytest on base: tests/roadmap/implement/test_roadmap_implement_one_tier.py, tests/roadmap/implement/test_roadmap_implement_step.py
group 5 done 1 1433166/8155 -
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 feat/3569-each-repair-round-changes-the-strategy on origin. The last is 4584b4cd78b77eda723f712a06c7af16c8cf8973. 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 2106789/10284 pytest on base: tests/roadmap/implement/test_roadmap_implement_step_attempts.py
group 2 done 1 11045621/46781 pytest on base: tests/roadmap/implement/test_roadmap_implement_step_repair.py
group 3 done 1 7012128/45410 pytest on base: tests/roadmap/implement/test_roadmap_implement_tier_move.py
group 4 done 1 7221983/20115 pytest on base: tests/roadmap/implement/test_roadmap_implement_one_tier.py, tests/roadmap/implement/test_roadmap_implement_step.py
group 5 done 1 1433166/8155 -
  • scoped check pre-push: passed, 10 s
  • scoped check static: passed, 31 s
  • scoped check tests: passed, 52 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.implement.test_roadmap_implement_step_attempts::test_a_group_that_changes_no_file_is_one_attempt_of_class_plan_defect, tests.roadmap.implement.test_roadmap_implement_step_attempts::test_the_attempt_events_name_the_planned_and_repo_map_strategies.
  • fail-to-pass of group 2: fails on the base commit. Tests that fail on the base commit: tests.roadmap.implement.test_roadmap_implement_step_repair::test_the_map_of_the_second_attempt_names_the_file_before_its_location, tests.roadmap.implement.test_roadmap_implement_step_repair::test_the_second_attempt_holds_the_map_entry_of_the_file_of_the_failure, tests.roadmap.implement.test_roadmap_implement_step_repair::test_a_step_with_an_unused_import_ends_done_after_the_extra_turn_removes_it, tests.roadmap.implement.test_roadmap_implement_step_repair::test_a_failure_gets_one_extra_turn_and_the_job_ticks_the_group, tests.roadmap.implement.test_roadmap_implement_step_repair::test_a_fix_step_gets_the_extra_turn_with_the_failure_and_no_list_of_ticks, tests.roadmap.implement.test_roadmap_implement_step_repair::test_the_failure_text_in_the_message_is_cut_to_the_reason_limit.
  • fail-to-pass of group 3: fails on the base commit. Tests that fail on the base commit: tests.roadmap.implement.test_roadmap_implement_tier_move::test_the_third_attempt_calls_the_model_of_the_second_tier, tests.roadmap.implement.test_roadmap_implement_tier_move::test_an_attempt_after_a_change_tier_failure_names_the_second_tier_and_the_tier_strategy, tests.roadmap.implement.test_roadmap_implement_tier_move::test_the_third_attempt_sends_the_failure_text_in_a_new_conversation.
  • fail-to-pass of group 4: fails on the base commit. Tests that fail on the base commit: tests.roadmap.implement.test_roadmap_implement_one_tier::test_a_change_tier_stop_on_one_tier_names_the_ladder, tests.roadmap.implement.test_roadmap_implement_step::test_a_400_inside_a_stream_on_every_send_stops_the_step_with_the_body.
  • verify of group 5: uv run devops ci docs exits 0.
\u2139 Quality gate root: /home/devops/.data/agent/worktrees/w-3569
\u2713 All documentation files are up to date.
Bytecode compiled 23339 files in 583ms
Bytecode compiled 23339 files in 609ms

@dan-petty
dan-petty marked this pull request as ready for review November 16, 2026 00:19
@dan-petty
dan-petty self-requested a review as a code owner November 16, 2026 00:19
@dan-petty
dan-petty merged commit a4390b2 into main Nov 16, 2026
24 checks passed
@dan-petty
dan-petty deleted the feat/3569-each-repair-round-changes-the-strategy branch November 16, 2026 00:40
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/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(roadmap): each repair round changes the strategy of a step

1 participant