Skip to content

feat(roadmap): run the alternatives check as a Service row - #2688

Merged
dan-petty merged 10 commits into
mainfrom
feat/2652-alternatives-service-row
Oct 29, 2026
Merged

dan-petty merged 10 commits into
mainfrom
feat/2652-alternatives-service-row

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The alternatives job now runs as a daily row of the roadmap Service, in the model lane after refine. Its limit is the setting roadmap.alternatives.limit. Each written check adds 1 to devops_cli_roadmap_alternatives_total, labeled by verdict.

Refine now uses the recorded check:

  • The body hash leaves out the job's block, so a block does not make an item look changed.
  • The request holds the check in the alternatives key, with the job's latest comment and the replies of persons since the check in alternatives.answers.
  • A covers verdict is a question that only a person answers: adopt the tool, or keep the item with a reason. Any comment of a person answers it, also when the job left no comment. A comment of a roadmap job is never a reply.
  • An item with a new covering tool gets a second look, also when its body is unchanged.

CONST_ROADMAP_JOB_COMMENT_MARKERS is the one list of the markers of the job comments.

Closes #2652

A covers verdict is a question that only a person answers. Refine also
hashes the body without the job's block, so an item with a block reads
as unchanged.

Plans #2652
The covers question was answered by a comment of a person after the job's comment. Three gaps
remained. A missing job comment left it open. A comment of the stage or intake job counted as an
answer. A later refine comment hid the answer from the model.

Refine now counts every comment of a person when the job left none, ignores every roadmap job
comment, and sends the replies of persons since the check as alternatives.answers.
The OpenSpec change is open again to record the rule.
@dan-petty

Copy link
Copy Markdown
Owner Author

Test results: the full devops ci passed locally (all gates). The new tests in tests/test_roadmap_refine.py failed first (no alternatives.answers key), then passed.

Review findings fixed:

  • A covers question with no job comment is now answered by any reply of a person.
  • A reply that a later refine comment hides now reaches the model in alternatives.answers.
  • Comments of the stage and intake jobs no longer count as replies (one shared tuple of job markers).
  • The run.py docstring names the alternatives row.

@dan-petty
dan-petty marked this pull request as ready for review October 29, 2026 18:18
@dan-petty
dan-petty merged commit c462318 into main Oct 29, 2026
17 checks passed
@dan-petty
dan-petty deleted the feat/2652-alternatives-service-row branch October 29, 2026 18:24
dan-petty pushed a commit that referenced this pull request Oct 29, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.19.0](v0.18.0...v0.19.0)
(2026-10-29)


### Features

* **roadmap:** add the implement job to roadmap implement
([#2692](#2692))
([9c7a5f5](9c7a5f5)),
closes [#2665](#2665)
* **roadmap:** run the alternatives check as a Service row
([#2688](#2688))
([c462318](c462318)),
closes [#2652](#2652)
* **roadmap:** run the stage job as a Service row
([#2691](#2691))
([a8d5f0e](a8d5f0e)),
closes [#2659](#2659)


### Bug Fixes

* **ci:** re-pin every CI runner to ubuntu-26.04
([#2693](#2693))
([31fe55c](31fe55c)),
closes [#1501](#1501)

---
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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(roadmap): the Service runs the alternatives job once a day, and refine reads the recorded tool verdict

1 participant