Skip to content

fix(ci): Job-time alarm, conflict and review comments post once - #6219

Merged
dan-petty merged 2 commits into
mainfrom
fix/6199-ci-and-pr-comments-post-once
Nov 17, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/6199-ci-and-pr-comments-post-once

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

devops ci job-time --file-issue writes its report between two marker lines in the body of the open alarm issue. A later run reads the body, replaces only the report, keeps the alarm line and the text of a person, and posts no comment. GitHubClient.update_issue_body sends the PATCH of issues/<number>. The watch row keys the conflict comment on its marker alone, so a new head edits the one conflict comment. devops review pr --post opens its comment with a marker that holds the head commit: a rerun on the same head edits that comment, and a new head gets a new comment. The dry runs list the new reads and writes. The issue names a dead watch_conflicts, but main does not hold it: #5906 deleted it. So each job keeps one copy of each fact (#6193).

Closes #6199

Change: openspec/changes/archive/2026-11-17-6199-ci-and-pr-comments-post-once/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/ci GitHub Actions workflows, pre-commit hooks, CI gates, and runners labels Nov 17, 2026
@dan-petty
dan-petty force-pushed the fix/6199-ci-and-pr-comments-post-once branch from e377163 to 3f6b08c Compare November 17, 2026 19:40
@dan-petty
dan-petty marked this pull request as ready for review November 17, 2026 19:49
@dan-petty
dan-petty merged commit 4644ad5 into main Nov 17, 2026
24 checks passed
@dan-petty
dan-petty deleted the fix/6199-ci-and-pr-comments-post-once branch November 17, 2026 19:49
dan-petty pushed a commit that referenced this pull request Nov 17, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.174.1](v0.174.0...v0.174.1)
(2026-11-17)


### Bug Fixes

* **ci:** Job-time alarm, conflict and review comments post once
([#6219](#6219))
([4644ad5](4644ad5))

---
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/ci GitHub Actions workflows, pre-commit hooks, CI gates, and runners 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(ci): Job-time alarm, conflict and review comments post once

1 participant