Repository navigation
Open
7 / 87 of 8 issues completedOpen
7 / 87 of 8 issues completed
Copy link
Labels
effort/highEffort High: much work, in one pull requestpriority/p2-mediumPriority P2: standard workscope/roadmapThe roadmap jobs: intake, refine, stage, implement and the Service that runs themsource/agentFiled by an agentstatus/newStatus New: the item is not ready yettype/bugType bug: the code does not do what it mustvalue/mediumValue Medium
Description
Problem
Owner rule, 2026-11-17: "ensure no job posts duplicate content to issues and pull requests, if content is in the body of an issue it should not be in a comment as well".
An audit of origin/main 319cdb8 (60 cases on 25 issues and 15 PRs, every write site of the roadmap jobs) found 10 places where a job writes the same content two or more times:
- Implement posts the whole stop report on the issue and on the PR (13 issue/PR pairs share 78,062 B, 97% of the issue side). The PR comment also shows the step table two times. The Service Job report then posts a third comment that repeats the end lines of the runner.
- Alternatives writes the verdict, basis and tool line to the body block and again to the comment (22 of 22 sampled comments). Refine then gives its model the same facts three times.
- Refine comments repeat the open questions, Fit, dependencies, the checked-at SHA and the Status label of the body section. The repeat guard lets identical comments post again after a person's comment (feat(roadmap): a dashboard and alerts for the pipeline #3655, fix(telemetry): End the SIGTERM export test in seconds, not 600 s #6048, fix(roadmap): plan files keep the cost mark and line estimates #5217).
- Stage posts a new full stage comment on each restage (fix(roadmap): the agent verification pass stops with a text tool error #3717: 10.7 KB and 23.6 KB for the same PR). Each fix-plan attempt lists again the open findings.
- Intake writes "Related: #N" for a number that the body names (34 of 57 sampled lines). Retitle writes the new title in the comment ("After:").
- The CI job-time alarm posts its full body text again as a comment each day. The PR conflict comment and
devops review prpost a new comment on each head or rerun.
Expected behavior
- Each fact has one place. The current state of an item is in the body (a job section or block) or in one state comment that the job edits in place. An event comment holds only the facts that no other place holds, and a link or a section name for the rest.
- An event comment posts only when its facts differ from the last event of that job and key.
- Every reader of the moved content reads it at its kept place. No job loses context. No filter, cut or length refusal.
- Old comments stay on GitHub. Readers accept the old and the new shapes.
- The dry-run request plans of each job show the new requests.
- A test fails when a job comment repeats a content line of the body, and when code outside the shared writer posts a job comment.
Areas (one sub-issue each)
- Implement: stop report once on the issue; PR run comment with a link and one table; Service Job report only when the runner left no result.
- Alternatives: the body block holds the result; the comment is an event with the search evidence.
- Refine: short event comments on a change of the result; deferrals and watched files in the section.
- Stage and fix-plan: one plan-state comment for each plan PR; event comments for runs and attempts.
- Intake and retitle: no Related line for a number in the body; no Priority value; no After line.
- CI and PR comments: job-time alarm edits its body block; one conflict comment per PR; one AI review comment per head.
- Shared job-comment writer, marker registry and invariant tests (last).
Related
- fix(roadmap): give stage and implement the item comments #6182 (all comments to stage and implement), fix(roadmap): Give read_issue, fix-plan and fix-checks every comment #6189 (cuts in other job inputs).
Alternatives check of 2026-12-01: none.
Tool: none found.
Reason: Searches found only two GitHub Actions that edit one comment in place. Neither runs in the Python job pods. No tool removes a line that the body already holds, keeps a marker registry or tests the writer.
Lacks:
- No Python API to find and edit a job comment
- No check that a comment line repeats body text
- No marker registry shared by the jobs
- No per-head identity for a review comment
- No test that refuses a write outside the writer
Sub-issues
Collapse Sub-issuesSub-issues
Loading 8 sub-issues
Metadata
Metadata
Assignees
Labels
effort/highEffort High: much work, in one pull requestpriority/p2-mediumPriority P2: standard workscope/roadmapThe roadmap jobs: intake, refine, stage, implement and the Service that runs themsource/agentFiled by an agentstatus/newStatus New: the item is not ready yettype/bugType bug: the code does not do what it mustvalue/mediumValue Medium
Activity
dan-petty commentedon Nov 17, 2026
Both address duplicate job comments, but #4793 adds a repeat guard so the same text does not post twice, while the candidate moves each fact to one home (body or one state comment) and restructures what every job writes.fix(roadmap): Keep the alternatives result in the body block only (#6208
fix(roadmap): One plan-state comment for each plan PR (#6209)
fix(roadmap): Implement writes its stop report once, on the issue (#6213
fix(ci): Job-time alarm, conflict and review comments post once (#6219)
devops-cli-service commentedon Nov 18, 2026
The result in the alternatives block of the issue body changed. Before this check: no check. A person decides what the new result means for the item.
Searches (10)
Tools considered:
Searches run:
Sources:
devops-cli-service commentedon Nov 24, 2026
The result in the alternatives block of the issue body changed. Before this check:
partly, tool https://github.com/suzuki-shunsuke/github-comment. A person decides what the new result means for the item.Searches (10)
Searches run:
Sources: