Skip to content

feat(roadmap): the Service removes the labels of a closed issue - #6802

Merged
dan-petty merged 9 commits into
mainfrom
feat/4660-service-clear-status
Nov 22, 2026
Merged

dan-petty merged 9 commits into
mainfrom
feat/4660-service-clear-status

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The Service removes the status/* and owner/* labels of a closed issue, as owner decision 6 of #4627 chose. No repository needs a workflow file for it.

  • clear_closed_issues in status_sync.py reads each closed issue that holds such a label again, and sends one removal request for each such label. It keeps the other labels, and the labels of a reopened issue.
  • Each round of the row implement runs it. An issues.closed delivery already makes the row due, and its 7-minute interval removes a label that a writer added after the close. Only this row runs it, so no two lanes remove one label.
  • .github/workflows/clear-status.yml is deleted. devops roadmap onboard checks six prerequisites: row 5 is service.repos and row 6 is the webhook.
  • The documents and ADR 0016 name the Service as the remover.

Closes #4660

Change: openspec/changes/archive/2026-11-22-4660-service-clear-status/

@dan-petty dan-petty added type/feature Type feature: a new function scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 22, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Review points and person steps for this pull request.

Person step (acceptance criterion 4, after the merge and the deploy): close a test issue that holds a status/* label in one other repository of service.repos, and check that the label goes within 5 minutes. The delivery makes the row implement due, so the label goes in the next round of that lane.

Review points:

  1. The refine plan put the clear in sync_statuses. This build calls it only from the row implement. The rows stage and implement both call sync_statuses in their own lanes, and issues.closed makes both due at once. Two lanes could then send a DELETE for the same label, GitHub answers 404 to the second, and raise_for_failed fails the row.
  2. The router does not change: issues.closed stays a trigger and gets no scoped update. A scoped update would take the place of the trigger, so the close would no longer make the rows stage and implement due in the same round.
  3. Acceptance criterion 3 says "5 base rows". The issue text is older than the webhook row of feat(roadmap): onboard checks the webhook of a repository #3772, so onboard now has 6 rows. The refine plan says six.
  4. The first round of the row in each repository removes the labels of 125 closed issues (search of 2026-11-22: vibes 63, homelab 22, devops-cli 5, danielpetty.com 5, devcontainer-features 5). Each issue costs one read and one removal for each label. The request windows of the App hold the rate.
  5. src/devops_cli/roadmap/onboard.py: the change deletes row 5 and renumbers the next two rows (_check_row_6 is now _check_row_5, _check_row_7 is now _check_row_6). The builder of feat(repos): onboard a repository with one command #6773 moves these rows and can rebase on it.

@dan-petty
dan-petty marked this pull request as ready for review November 22, 2026 23:12
@dan-petty
dan-petty merged commit f3a1e9a into main Nov 22, 2026
29 checks passed
@dan-petty
dan-petty deleted the feat/4660-service-clear-status branch November 22, 2026 23:14
dan-petty pushed a commit that referenced this pull request Nov 22, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.196.0](v0.195.4...v0.196.0)
(2026-11-22)


### Features

* **repos:** onboard a repository in one command
([#6806](#6806))
([0197537](0197537)),
closes [#6773](#6773)
* **roadmap:** Run several implement Jobs on disjoint files
([#6807](#6807))
([0ce63b3](0ce63b3))
* **roadmap:** the Service removes the labels of a closed issue
([#6802](#6802))
([f3a1e9a](f3a1e9a)),
closes [#4660](#4660)

---
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/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(service): clear status labels when an issue closes

1 participant