Skip to content

fix(roadmap): a stop carries a typed class and the failed check - #3513

Merged
dan-petty merged 3 commits into
mainfrom
fix/3476-typed-stop-class
Nov 4, 2026
Merged

dan-petty merged 3 commits into
mainfrom
fix/3476-typed-stop-class

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The implement job guessed the class of a stop from free text. The guess was often wrong. A fix step that changed no file read as plan_defect or premise_false. A lost test, a moved HEAD and a reached output cap read as ci_infra. A group that was not ticked read as test.

Each site of the step now sets its class: no_change_in_fix, not_ticked, tests_lost, head_moved and output_cap. The classifier no longer reads the last message of the agent. The stop comment starts with the failed check and the masked end of its log. The job record holds both, and a retry or a clear rule of the Service removes both with the stop.

Closes #3476
Change: openspec/changes/archive/2026-11-04-3476-a-stop-carries-a-typed-class/

Each stop site that knows its cause passes a typed class: no_change_in_fix,
not_ticked, tests_lost, head_moved and output_cap are new classes with a row in
ACTION_BY_CLASS. The classifier no longer reads the last message of the agent.
A fix-step stop and a scoped-check stop name the failed check and hold the masked
end of its log in the comment and in the job record. The report of the Service
reads the item again after it reads the log of the Job.
… fixture (#3476)

A clear rule of the Service now removes implement.check and implement.check_log with the stop. The check name is masked and cut before it enters the comment and the record. The stop fixture holds only the stops that the classifier decides. The re-read in the report narrows the race with the runner and does not close it.
@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 4, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Proof for #3476.

Fail-to-pass (uv run devops ci fail-to-pass --base origin/main): 17 tests fail on the base and pass on this branch. They are in tests/prometheus/test_implement_failure_labels.py and in these modules under tests/roadmap/: test_roadmap_failure.py, test_roadmap_implement_job_scoped.py, test_roadmap_implement_step_failure_class.py, test_roadmap_implement_step_output_cap.py, test_roadmap_implement_step_tests_kept.py, test_roadmap_implement_submit.py and test_roadmap_limit_classes.py. One module also fails to import on the base, because the new class names do not exist there.

Full uv run devops ci (before the review fixes): all checks pass except test; coverage was skipped. test shows 2 failed and 1 error. Both tests fail the same way on a clean origin/main, because the tools popeye and devcontainer are installed on this host:

  • tests/ai/test_tool_executor_contract.py::test_the_direct_executor_refuses_a_network_profile_before_it_starts_the_tool[direct]
  • tests/commands/test_devcontainer_install_tools_dry_run.py::test_mark_only_commands_under_global_dry_run

18254 other tests pass. The test run took 6m22s. That is the known #3050 problem, not new.

Review fixes (last commit): scoped run of test_roadmap_failure.py, test_roadmap_stop_clear.py, test_roadmap_implement_job_scoped.py and test_roadmap_implement_submit.py: 174 passed.

  • A clear rule of the Service now removes implement.check and implement.check_log with the stop.
  • The check name is masked and cut before it enters the comment and the record.
  • The stop fixture holds only the stops that the classifier decides. The five typed classes are proven by the step and job tests.
  • The re-read in the report narrows the race with the runner. It does not close it.

@dan-petty
dan-petty marked this pull request as ready for review November 4, 2026 21:00
@dan-petty
dan-petty merged commit 3437b9e into main Nov 4, 2026
19 checks passed
@dan-petty
dan-petty deleted the fix/3476-typed-stop-class branch November 4, 2026 21:03
dan-petty-release Bot added a commit that referenced this pull request Nov 4, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.56.0](v0.55.4...v0.56.0)
(2026-11-04)


### Features

* **k8s:** GPU thresholds set embedding-only and per-GPU tiers
([#3509](#3509))
([67d3f47](67d3f47)),
closes [#3501](#3501)


### Bug Fixes

* **ci:** refuse a replay that proves nothing about the fix
([#3514](#3514))
([719a697](719a697))
* **config:** config unset --dry-run writes nothing, hides credentials
([#3512](#3512))
([b3280ba](b3280ba))
* **roadmap:** a stop carries a typed class and the failed check
([#3513](#3513))
([3437b9e](3437b9e))

---
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 stop carries a typed class and the failed check

1 participant