Repository navigation
feat(roadmap): Verify a claimed missing check in a helper - #5868
Conversation
|
The steps of the job: Stopped at group 1. Failed check: Failure class:
Reason: Last message of the agent (a claim that no check verified): The static check failed because the test module imported The job discarded this work. Read it before you retry: diff --git a/tests/roadmap/stage/test_roadmap_stage_probe.py b/tests/roadmap/stage/test_roadmap_stage_probe.py
index f765aa0f3..a8830d4a8 100644
--- a/tests/roadmap/stage/test_roadmap_stage_probe.py
+++ b/tests/roadmap/stage/test_roadmap_stage_probe.py
@@ -12,12 +12,7 @@ from devops_cli.config.constants import (
)
from devops_cli.roadmap.refine.refine import git_result
from devops_cli.roadmap.stage import stage_probe
-from devops_cli.roadmap.stage.stage_probe import (
- blocked_by,
- check_claims,
- claimed_missing_checks,
- probe_premise,
-)
+from devops_cli.roadmap.stage.stage_probe import blocked_by, probe_premise
if TYPE_CHECKING:
from pathlib import Path
@@ -308,6 +303,10 @@ CLAIM = "The plan says that `_publish` runs no `title_problems` check."
def test_a_check_in_a_helper_body_of_the_call_site_is_found(repo: StageRepo) -> None:
+ # Imported here: the fail-to-pass replay loads this module against a base tree that has no
+ # claim search yet.
+ from devops_cli.roadmap.stage.stage_probe import check_claims, claimed_missing_checks
+
repo.track({PUBLISH: PUBLISH_SOURCE})
sha = repo.git("rev-parse", "HEAD")
@@ -325,6 +324,8 @@ def test_a_check_in_a_helper_body_of_the_call_site_is_found(repo: StageRepo) ->
def test_a_check_in_the_body_of_the_call_site_is_found(repo: StageRepo) -> None:
+ from devops_cli.roadmap.stage.stage_probe import check_claims
+
repo.track({PUBLISH: PUBLISH_SOURCE})
sha = repo.git("rev-parse", "HEAD")
@@ -342,6 +343,8 @@ def test_a_check_in_the_body_of_the_call_site_is_found(repo: StageRepo) -> None:
def test_a_check_that_only_another_file_holds_names_its_path_and_line(repo: StageRepo) -> None:
+ from devops_cli.roadmap.stage.stage_probe import check_claims, claimed_missing_checks
+
repo.track({PUBLISH: PUBLISH_WITHOUT_CHECK, TITLES: TITLES_SOURCE})
sha = repo.git("rev-parse", "HEAD")
@@ -359,6 +362,8 @@ def test_a_check_that_only_another_file_holds_names_its_path_and_line(repo: Stag
def test_a_call_site_that_is_no_python_source_leaves_the_search_to_the_tree(
repo: StageRepo,
) -> None:
+ from devops_cli.roadmap.stage.stage_probe import check_claims
+
rust = "src/devops_cli/publish.rs"
repo.track({rust: "fn _publish() {\n let title = 1;\n}\n", TITLES: TITLES_SOURCE})
sha = repo.git("rev-parse", "HEAD")
@@ -374,6 +379,8 @@ def test_a_call_site_that_is_no_python_source_leaves_the_search_to_the_tree(
def test_a_claim_with_no_call_site_adds_no_line(repo: StageRepo) -> None:
+ from devops_cli.roadmap.stage.stage_probe import check_claims, claimed_missing_checks
+
general = "The plan says that the title check is missing, and adds it."
named = "The plan says that the `title_problems` check is missing."
@@ -389,6 +396,8 @@ def test_a_claim_with_no_call_site_adds_no_line(repo: StageRepo) -> None:
def test_a_claim_with_no_command_left_is_skipped(
repo: StageRepo, monkeypatch: pytest.MonkeyPatch
) -> None:
+ from devops_cli.roadmap.stage.stage_probe import check_claims, claimed_missing_checks
+
repo.track({PUBLISH: PUBLISH_SOURCE})
ran: list[tuple[str, ...]] = []
The item is Blocked, and the job will not run it. Fix the cause. Then comment The job kept 1 work-in-progress commit on the branch
|
|
This pull request cannot merge. The runner job stopped at group 1 with failure class outside_plan on the Static Analysis check. Issue #3416 is in status/blocked. The implementation is incomplete, and task group 2 was not started. Fix the issue cause or retry the runner job. |
9b5fcc8 to
5c974a9
Compare
Search the bodies of called helpers and the base tree for a claimed missing check in the stage premise probe. Return the item to New with the path and line when the search finds the check. Closes #3416 Change: `openspec/changes/archive/2026-11-16-3416-verify-a-claimed-missing-check-in/`
5c974a9 to
bf8d28b
Compare
🤖 I have created a release *beep* *boop* --- ## [0.164.0](v0.163.0...v0.164.0) (2026-11-16) ### Features * **roadmap:** Verify a claimed missing check in a helper ([#5868](#5868)) ([e6cf731](e6cf731)) ### Bug Fixes * **ai:** one retry layer for a gateway call ([#5973](#5973)) ([87ebf9f](87ebf9f)), closes [#5965](#5965) * **roadmap:** Refuse a class claim the staged source lacks ([#5834](#5834)) ([b12cca7](b12cca7)) --- 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>
A stage plan can claim that a call site runs no check while a helper of that call site runs the check. The premise probe checks cited paths and identifiers only, so the job plans a duplicate of existing behavior. The stage premise probe now searches the bodies of called helpers and the base tree for a claimed missing check. When the probe finds the check, the stage job returns the item to New with the path and line of the call.
Closes #3416
Change:
openspec/changes/archive/2026-11-16-3416-verify-a-claimed-missing-check-in/