Skip to content

test(roadmap): verify the consolidation dry run on the live board #3635

Open

Description

@devops-cli-service

Split from #1127.

Problem: The consolidation job needs a live-board check that the groups applied on 2026-10-03 (#1036/#810, #1104/#818, #892/#878/#1010, #974/#931, #897/#989, #995/#789) are reported as already linked, not proposed again, and that two runs print the same plan. Why deferred: The check needs the real GitHub board and a person login, so it cannot run in the offline test suite. The implementation and offline tests can land first. Acceptance criteria: A person runs uv run devops roadmap consolidate --dry-run in this repository. The plan reports the six groups as already linked. A second run prints the same plan.

Proposed design

Problem statement

The live check must use uv run devops roadmap consolidate with no --dry-run, because --dry-run makes no request and cannot show live links. A person runs it twice on the real board. The plan must report the six groups applied on 2026-10-03 as already linked, and the second run must keep the same stable plan. The offline tests pin both behaviours, so the check adds no code.

Acceptance criteria

Requirement: The live plan reports the applied groups as already linked

A live consolidation run SHALL report each of the six groups applied on 2026-10-03 under Shortlists with no group in the plan: with the reason the members link to the anchor already.

Scenario: A person runs the live plan

Requirement: A second run keeps the plan

A second live run on the same UTC day over an unchanged board and default branch SHALL report the same groups and the same already-linked anchors as the first run.

Scenario: A person runs the command twice

  • WHEN a person runs the same command a second time on the same UTC day, with no board change and no default-branch change between the two runs
  • THEN the group ids, anchors, members and left-out lines match the first run, and the counts line reports 0 new groups.

Existing Tool Considered

No alternatives check has run. GitHub CLI (gh issue list --json) is open and maintained and reads live issues and their bodies, but it lacks the consolidation shortlists, the rules in code and the two-run plan comparison (https://cli.github.com/manual/gh_issue_list). The check uses this repository's devops roadmap consolidate command. That command adds no code, so the build cost is zero tokens and zero elapsed time.

Key questions

  • Which command shows the live board's link state: --dry-run or a real run?: A person runs uv run devops roadmap consolidate with no --dry-run. That run reads the live board, writes a local plan under .data/roadmap/consolidate/, and changes nothing on GitHub. --dry-run makes no request, so it cannot report a live link. (best practice) [sources: src/devops_cli/commands/roadmap.py]
    • Chosen: A real devops roadmap consolidate run. Only a real run reads the live board, and it writes a local plan and no GitHub change.
    • Rejected: --dry-run. It makes no request and prints the requests of a run, so it shows no live link.
    • Rejected: Query the GitHub API directly. It shows the links but does not exercise the plan's already-linked reporting.
  • Where does the plan report a group whose members already link to the anchor?: In left_out, with the reason the members link to the anchor already. render_plan prints it under Shortlists with no group in the plan: as - Anchor #N: the members link to the anchor already. [sources: src/devops_cli/roadmap/consolidate.py, src/devops_cli/lang/en/messages.py]
  • How does the check compare the two runs?: Compare the stable plan content: the group ids, anchors, members and the Shortlists with no group in the plan: lines. Do not compare the whole output. The first run marks each new group new, the second marks it carried from an earlier plan, and the counts line goes from N new to 0 new. Run both on the same UTC day and default branch, and copy the first plan before the second run writes the plan file of the day. (best practice) [sources: src/devops_cli/roadmap/consolidate.py, src/devops_cli/lang/en/messages.py]
    • Chosen: Compare the stable plan content. The groups and the left-out lines are the plan that the issue means, and the new/carried mark and the counts differ on purpose.
    • Rejected: Compare the whole printed output. The first run prints new and N new groups, and the second prints carried from an earlier plan and 0 new.
    • Rejected: Compare the plan file as it is. The plan file stores carried, which differs between the two runs.
  • Where is the result recorded?: In a comment on test(roadmap): verify the consolidation dry run on the live board #3635, with the command, the checkout's commit SHA and the plan output of each run. GitHub issues are the roadmap's source of truth. (best practice) [sources: docs/adr/0001-github-is-the-roadmap-source.md, CONTEXT.md]
  • Do the offline tests already pin the already-linked rule and the second-run behaviour?: Yes. test_a_group_whose_members_already_link_to_the_anchor_is_not_proposed proves that the group is not proposed. The same file covers the second run over an unchanged board, which makes no model call and proposes nothing new. So the check adds no code. [sources: tests/roadmap/test_roadmap_consolidate.py:411, tests/roadmap/test_roadmap_consolidate.py]
  • Who runs the live check, and what does the run need?: A person with access to the live board of this repository. The person runs uv run devops roadmap consolidate twice on the same UTC day in a checkout of the default branch, and comments both plans on test(roadmap): verify the consolidation dry run on the live board #3635. The run reads the live GitHub state and calls the model gateway, so no offline test can answer it. (best practice) [sources: src/devops_cli/commands/roadmap.py]
    • Chosen: A person with live board access. The run reads live GitHub state and calls the model gateway, and the issue says the check needs a person login.
    • Rejected: An automated agent. No offline test can read the live board, and the check exists to confirm the live links.

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Activity

  1. added
    source/agent
    type/test
    scope/roadmap
    status/new
    value/medium
    effort/low
    on Nov 5, 2026
  2. devops-cli-service commented on Nov 5, 2026

    @devops-cli-service
    ContributorAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.

    • Type: type/test. The test prefix of the title gives the type.
    • Scope: scope/roadmap. The (roadmap) scope of the title gives the scope.
    • Priority: P2-Medium. It is a deferred verification step that depends on live board state and a person login.
    • Value: Medium. It confirms the consolidation job does not re-propose already-linked groups on the live board.
    • Effort: Low. A person runs one command twice and compares the output.
    • Possible duplicate: test(roadmap): verify consolidation dry run against applied groups #3621, which may ask for the same change. The model names a live-board dry run check that reports the six applied groups as already linked and that two runs print the same plan as the change that both ask for. Both items ask for the same live-board verification of the consolidation dry run against the same six groups with identical acceptance criteria. A person closes one of the two if that is so.
  3. devops-cli-service commented on Nov 6, 2026

    @devops-cli-service
    ContributorAuthor

    Refine cannot set this item to Ready at ae881d6 until a person answers the questions below. Reply in a comment or edit the body, and the next refine round looks at the item again.

    • The proposal has no problem statement, no acceptance criterion with its requirement, scenario, WHEN and THEN, or no answer to the existing-tool question. State the problem, the requirements with their scenarios, and the open tool that covers the need or the cost of building it.
  4. devops-cli-service commented on Nov 13, 2026

    @devops-cli-service
    ContributorAuthor

    Refine cannot set this item to Ready at 4ef7c6f until a person answers the questions below. Reply in a comment or edit the body, and the next refine round looks at the item again.

    • The live GitHub board, a person's GitHub login, and the model gateway that a real run calls.
  5. dan-petty commented on Nov 14, 2026

    @dan-petty
    Owner

    Returned to New: the acceptance needs a person on the live board, and it duplicates #3621. The design asks a person to run uv run devops roadmap consolidate twice on the same UTC day, confirm the six already-linked anchors, and record the command, the commit and both plan outputs in a comment. That run reads the live GitHub state and calls a model, so an agent cannot answer it, and the 'no GitHub write' audit needs a person. #3621 asks for the same live check; a person should close one of the two as the duplicate.

  6. devops-cli-service commented on Nov 14, 2026

    @devops-cli-service
    ContributorAuthor

    Refine cannot set this item to Ready at 9f9fa49 until a person answers the questions below. Reply in a comment or edit the body, and the next refine round looks at the item again.

  7. devops-cli-service commented on Nov 20, 2026

    @devops-cli-service
    ContributorAuthor

    Next step: the alternatives check records a verdict. See the section Proposed design of the body.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lowpriority/p2-mediumscope/roadmapsource/agentstatus/newtype/testvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions