Repository navigation
Closed
Labels
effort/mediumEffort Mediumpriority/p2-mediumPriority P2: standard workscope/roadmapThe roadmap jobs: intake, refine, stage, implement and the Service that runs themsource/agentFiled by an agenttype/bugType bug: the code does not do what it mustvalue/mediumValue Medium
Description
Problem
Area 1 of the parent item. Implement writes its stop report two or three times.
implement_run.py:2125gives the stop text to the PR run comment asextra, and:2126posts the same text as an issue comment._comment(:1730) then addssummary_tableafterextra, andextraalready holds_stop_table(:1845). The PR comment shows the step table two times (PR feat(roadmap): Add a loopback gateway broker to a step #6157, lines 30-38 and 48-56).- After each runner Job ends,
implement_submit.py:358_reportposts another issue comment with the last 40 log lines. It posts also when the runner already posted its stop comment (:2126) or its finished comment (:2007). The log tail repeats the end lines of the runner ("Failure class provider. Action left: retry."), and the digest repeats recordimplement.job_digest. - The review step does the reverse:
steps/review.py:563-569posts only "The review discarded pull request #N" on the issue. The judgement and evidence are only in the PR comment (steps/review.py:473-475), whichitem_comments.held_commentsand refine do not read.
Live: #3827 / PR #6166 (21,361 B and 21,616 B in the same minute), #3902 / PR #6169, #3885 / PR #6150; #3885, #3827, #3902, #3717 and #1928 hold Job reports after a stop.
Expected behavior
- The issue stop comment holds the stop report: the failure reason, the end of the check log, the last agent message, the discarded diff and the retry instructions. It is the only copy. Only issue comments reach the models and
retry_asked(item_comments.py:121). - On a stop, the PR run comment holds one link line ("Stopped at . The stop report is on #: .") and the lines only it holds: amendments, skipped steps, scoped runs, strength and check lines. It has no second step table. A finished run keeps its table on the PR.
- Post the issue comment first, so the PR line can link it.
comment()instores/github_store.py:1055,stores/store.py:1275and the faketests/support/fakes/roadmap_store.py:600return the comment URL (or the URL of the earlier comment when the repeat guard refuses it). _reportposts its comment only when the runner left no result (_settles_as_stop(item)is true atimplement_submit.py:220, or the Job is gone). Otherwise it writes only the record marks.retry_asked(implement.py:260) andstop_clear.py:375still work: a person's "implement: retry" after a stop is used once, and a retry does not loop. Add a test for this.- The review discard reason goes to the issue comment. The PR comment gets a link line.
request_plan.py:1131and:1139(implement dry run) show the new order.
Related
- fix(roadmap): give stage and implement the item comments #6182, fix(roadmap): Give read_issue, fix-plan and fix-checks every comment #6189.
Source: #6193
Metadata
Metadata
Assignees
Labels
effort/mediumEffort Mediumpriority/p2-mediumPriority P2: standard workscope/roadmapThe roadmap jobs: intake, refine, stage, implement and the Service that runs themsource/agentFiled by an agenttype/bugType bug: the code does not do what it mustvalue/mediumValue Medium
Activity
dan-petty commentedon Nov 17, 2026
Both define what comments appear when implement stops, but #3997 adds a PR comment while the candidate moves the full report to the issue and leaves only a link on the PR.fix(roadmap): Implement writes its stop report once, on the issue
fix(roadmap): Implement writes its stop report once, on the issue
devops-cli-service commentedon Nov 17, 2026
Released in v0.174.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.174.0
devops-cli-service commentedon Nov 17, 2026
Live since 2026-11-17 20:02 UTC