Repository navigation
feat(roadmap): Add a console that follows a roadmap run - #5774
Conversation
88a7d6d to
3aa6ced
Compare
|
The steps of the job: Stopped at fix. Failed check: Failure class:
Reason: Last message of the agent (a claim that no check verified): The stale example is fixed. Summary of the work: ## Cause of the failure The check failed because this change adds The job discarded this work. Read it before you retry: diff --git a/openspec/specs/roadmap-stage/claims/spec.md b/openspec/specs/roadmap-stage/claims/spec.md
index baa1fb4a9..18d740d6f 100644
--- a/openspec/specs/roadmap-stage/claims/spec.md
+++ b/openspec/specs/roadmap-stage/claims/spec.md
@@ -251,8 +251,8 @@ The plan check SHALL end a `devops` command that a sentence cites with no code s
The plan check SHALL keep the next word of a sentence in a cited command when the group before it needs a subcommand. It SHALL keep a word before an option in the cited command, because a sentence puts no option after an English word.
#### Scenario: An unknown subcommand in a sentence is refused
-- **WHEN** a plan cites `uv run devops roadmap follow 3076 to see the job` in a sentence with no code span
-- **THEN** the check returns a problem that names `follow`
+- **WHEN** a plan cites `uv run devops roadmap to see the job` in a sentence with no code span
+- **THEN** the check returns a problem that names `to`
#### Scenario: An unknown subcommand before an option in a sentence is refused
- **WHEN** a plan cites `uv run devops ai ast-graph --help to see the options` in a sentence with no code span
diff --git a/tests/core/test_docs_command_resolver.py b/tests/core/test_docs_command_resolver.py
index 2fa030ac8..c0fcd1ba5 100644
--- a/tests/core/test_docs_command_resolver.py
+++ b/tests/core/test_docs_command_resolver.py
@@ -283,7 +283,8 @@ def test_a_command_path_names_only_the_commands_and_counts_the_other_words(
[
(["ci", "to", "confirm", "the", "gate"], 1),
(["roadmap", "intake", "command", "with", "gh"], 2),
- (["roadmap", "follow", "3076", "to", "see"], 2),
+ (["roadmap", "to", "see", "the", "job"], 2),
+ (["roadmap", "follow", "3076", "to", "see"], 3),
(["gh", "pages", "verify", "--root_dir", "docs", "to", "check"], 4),
(["format", "--check", "to", "confirm"], 2),
(["--dry-run", "config", "show", "the", "value"], 3),
@@ -308,9 +309,10 @@ def test_a_cited_command_ends_at_the_first_word_the_tree_does_not_take(
`devops ci` runs with no subcommand and `roadmap intake` has no subcommands, so the next word
is prose. `devops roadmap` and `devops` need a subcommand, so the next word stays for the
resolver to report. The tree takes an option, the value of a known option and a declared
- argument, such as the number of `pr monitor`. A sentence puts no option after an English word,
- so a word before an option stays: `ast-graph` before `--help`, and a second path of `ci test`.
- A `--` is a dash in a sentence, not an option. The walk parses no word, so it prints nothing.
+ argument, such as the number of `pr monitor` or of `roadmap follow`. A sentence puts no option
+ after an English word, so a word before an option stays: `ast-graph` before `--help`, and a
+ second path of `ci test`. A `--` is a dash in a sentence, not an option. The walk parses no
+ word, so it prints nothing.
"""
from devops_cli.core.command_resolver import cited_command_length
diff --git a/tests/roadmap/stage/test_roadmap_stage_command_citations.py b/tests/roadmap/stage/test_roadmap_stage_command_citations.py
index 12885e3a9..91b17b2be 100644
--- a/tests/roadmap/stage/test_roadmap_stage_command_citations.py
+++ b/tests/roadmap/stage/test_roadmap_stage_command_citations.py
@@ -182,13 +182,13 @@ def test_an_unknown_option_in_prose_is_refused() -> None:
def test_an_unknown_subcommand_of_a_group_in_prose_is_refused() -> None:
plan = make_stage_proposal(
- feasibility=["Run uv run devops roadmap follow 3076 to see the job of the item."]
+ feasibility=["Run uv run devops roadmap to see the job of the item."]
)
problems = command_citation_problems(plan)
assert len(problems) == 1
- assert "'follow'" in problems[0]
+ assert "'to'" in problems[0]
@pytest.mark.parametrize(
@@ -241,6 +241,7 @@ def test_an_unknown_option_after_an_argument_or_a_value_in_prose_is_refused(text
"Run uv run devops ci --check --only lint,format to confirm the rows.",
"Run uv run devops ci test tests/a.py -k 'numeric or ip' to confirm the test fails.",
"Run uv run devops ci again -- it checks all the rows.",
+ "Run uv run devops roadmap follow 3076 to see the job.",
],
)
def test_the_arguments_and_values_of_a_command_in_prose_are_accepted(text: str) -> None:The item is Blocked, and the job will not run it. Fix the cause. Then comment
|
906e5d3 to
dd8899a
Compare
dd8899a to
4fdfec9
Compare
🤖 I have created a release *beep* *boop* --- ## [0.150.0](v0.149.0...v0.150.0) (2026-11-15) ### Features * **roadmap:** Add a console that follows a roadmap run ([#5774](#5774)) ([75b15c2](75b15c2)) * **roadmap:** Check the strength of the new tests ([#3051](#3051)) ([#5770](#5770)) ([041ad79](041ad79)) * **roadmap:** Export eval fixtures as Harbor tasks ([#5780](#5780)) ([bc9f2f8](bc9f2f8)) --- 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 person learns what a roadmap Job did from
kubectl logsand from one comment at the end, so a running Job is opaque, anddevops roadmap explainsays why an item is taken, not what the Job does. #3076 asks for one command that shows the trace of the run and the live log of its pod.Closes #3076
Change:
openspec/changes/archive/2026-11-15-3076-a-run-console-follow-a-run/