Skip to content

refactor(roadmap): One marked-comment writer for every job - #5998

Merged
dan-petty merged 1 commit into
mainfrom
refactor/5025-one-marked-comment-writer
Nov 16, 2026
Merged

dan-petty merged 1 commit into
mainfrom
refactor/5025-one-marked-comment-writer

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Add a shared marked-comment writer in steps/comment.py. Read existing comments before writing to update marked comments when changed, and create new ones when absent. Migrate roadmap comment callers to the writer and add a structural test.

Closes #5025

Change: openspec/changes/archive/2026-11-16-5025-one-marked-comment-writer/

@dan-petty dan-petty added type/refactor Type refactor: a new structure, same behavior scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 16, 2026
@dan-petty
dan-petty force-pushed the refactor/5025-one-marked-comment-writer branch from fa05255 to 20caa0e Compare November 16, 2026 17:44
Add a marked-comment writer in `steps/comment.py`.

The writer reads existing comments before it writes. It updates
an existing marked comment when the body changes, and creates a new
comment when no matching comment exists.

Migrate all comment sites across `src/devops_cli/roadmap/` to use
the step writer. Enforce this convention with a structural test.

Closes #5025
@dan-petty
dan-petty force-pushed the refactor/5025-one-marked-comment-writer branch from 20caa0e to f4b99b5 Compare November 16, 2026 17:55
@dan-petty
dan-petty marked this pull request as ready for review November 16, 2026 18:03
@dan-petty
dan-petty merged commit 11b9a3c into main Nov 16, 2026
23 checks passed
@dan-petty
dan-petty deleted the refactor/5025-one-marked-comment-writer branch November 16, 2026 18:07
dan-petty pushed a commit that referenced this pull request Nov 16, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.167.0](v0.166.0...v0.167.0)
(2026-11-16)


### Features

* **roadmap:** Count kept work by failure class and outcome
([#5959](#5959))
([4c1bb67](4c1bb67))


### Code Refactoring

* **roadmap:** One marked-comment writer for every job
([#5998](#5998))
([11b9a3c](11b9a3c))

---
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/refactor Type refactor: a new structure, same behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor(roadmap): one marked-comment writer for every job

1 participant