Skip to content

fix(roadmap): repair skips the comments of other jobs - #4958

Merged
dan-petty merged 2 commits into
mainfrom
fix/4799-repair-skips-job-comments
Nov 12, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/4799-repair-skips-job-comments

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

devops roadmap repair took the newest comment of any author as the confirmation of a stall. On most stub items, the alternatives check, the intake reason or a retitle comment came after the question of refine. The pass read that comment as a reply of a person and listed no item.

The pass now reads the newest comment of the job that stalled the item. A comment after it is a reply only when it holds no roadmap job marker. This is the rule that refine uses (replies_after_marker and CONST_ROADMAP_JOB_COMMENT_MARKERS).

is_placeholder also knows the stub texts that the census found in refine sections: ignore, pending, draft, temporary and "Placeholder not final.". The pull form keeps one placeholder rule, so refine and the stage job also refuse these texts.

Closes #4799

Change: openspec/changes/archive/2026-11-12-4799-repair-skips-the-comments-of-other/

The repair pass took the newest comment of any author as the
confirmation of a stall. An alternatives, intake reason or retitle
comment after the refine question hid the stub, so the pass listed no
item. The pass now reads the newest comment of the job that stalled
the item, and a comment that holds a roadmap job marker is no reply.

is_placeholder also knows the stub texts that the census found:
ignore, pending, draft, temporary and "Placeholder not final.".
@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 12, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Measurement on the live roadmap (2026-11-12)

uv run devops roadmap repair (preview, no --confirm, no write) on dan-petty/devops-cli:

Code Items listed
origin/main 0
This branch 14

The 14 items: #1291, dan-petty/homelab#330, #3064, #3104, #3148, #3186, #3246, #3332, #3390, #3465, #3529, #3605, #3610 and #3635. Each has the cause stub refine block.

Why each item was hidden on main:

Cause on main Items
A comment of another job after the refine question (alternatives, intake reason or retitle) 7
A placeholder that is_placeholder did not know 2
Both 5

Census of 2026-11-11:

Effect on the refine job: after --confirm, the pass removes the stub section and the refine block, so refine reads each of the 14 items as a new item. A refine section with a census stub text can no longer be stored, because ReplyText refuses it.

Fail-to-pass

uv run devops ci fail-to-pass --base origin/main: 17 failed on base and passed on the branch (17 failed and 146 passed on base in tests/roadmap/test_roadmap_pull_form.py and tests/roadmap/test_roadmap_repair.py, 0 errored).

Local checks

  • uv run devops ci test of the repair, repair command, pull form, refine placeholder, refine failure class, stage content, refused reply, title, verification, verify, draft readiness and pr describe tests: 318 passed.
  • mypy --strict on repair.py and pull_form.py: no issue. The full devops ci typecheck row stopped at its 1,800 s limit under a load of about 44 on 16 CPUs (comment on chore(ci): the local test row takes over 5 minutes #4405).
  • uv run devops ci docs and uv run devops openspec check: passed.

After the merge

An agent runs uv run devops roadmap repair --confirm on dan-petty/devops-cli. It reads each item again before it writes. The Service does not run this pass.

@dan-petty
dan-petty marked this pull request as ready for review November 12, 2026 07:29
@dan-petty
dan-petty enabled auto-merge (squash) November 12, 2026 07:29
@dan-petty
dan-petty merged commit 91041b2 into main Nov 12, 2026
24 checks passed
@dan-petty
dan-petty deleted the fix/4799-repair-skips-job-comments branch November 12, 2026 07:31
dan-petty pushed a commit that referenced this pull request Nov 12, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.117.1](v0.117.0...v0.117.1)
(2026-11-12)


### Bug Fixes

* **roadmap:** repair skips the comments of other jobs
([#4958](#4958))
([91041b2](91041b2))
* **roadmap:** the intake reason comment states only new facts
([#4955](#4955))
([6cdd653](6cdd653))

---
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): repair skips the comments of other jobs

1 participant