Skip to content

feat(lanes): post one report comment per lane run on its PR, updated in place #9792

Description

@kyle-sexton

Parent: #6993 (owner decision 2026-10-13: one comment per run, updated in place; basis #6993 point 6 and the #6989 content-creation limit of 80/min, 500/hr).

Problem

Lane runs report through check runs and annotations only. The Claude Projects trial showed a per-run PR comment (what it did, the merge call, every failed API call) gave the operator full visibility without transcripts. No workflow on main posts one (git grep -n -i 'sticky\|upsert' -- .github/workflows/pr-run-activity-*.yml finds none). Open PR #9673 edits the issue-lane run; coordinate with it.

Done when

  • The report jobs of pr-run-activity-read.yml and pr-run-activity-write.yml post or update one PR comment per run, found by a hidden marker naming the activity and run id: git grep -n 'lane-run-report' -- .github/workflows/ shows the step in both.
  • The comment lists the activity, outcome, the commits pushed, and each failed API call with its status.
  • A rerun of the same activity on the same PR edits its comment instead of adding one; a test covers the find-or-update logic and passes.
  • scripts/check-changelog-fragments.sh passes.

Activity

  1. added
    needs-triage
    on Oct 24, 2026
  2. github-actions commented on Oct 24, 2026

    @github-actions
    Contributor

    Proposed work class: work-class: scoped
    Basis: automated intake triage; the lanes App applied this class.

    Size: Medium
    Complexity: Medium
    Uncertainty: Known
    Flags: none
    Blocked by: none

    Understood: both pr-run-activity report jobs should post one PR comment per lane run, found by a hidden marker naming the activity and run id, and edit it in place on a rerun. The comment would list the outcome, the commits pushed and each failed API call. The issue is already confirmed and its done-when items are specific. Coordinate with open PR #9673, which touches the same workflow area. No duplicates found.

    Automated triage, applied by the lanes App.

  3. added and removed
    needs-triage
    on Oct 24, 2026
  4. added
    status: ready
    agent-ready
    needs-human
    and removed
    agent-ready
    on Oct 24, 2026
  5. melodic-automation-lanes commented on Oct 24, 2026

    @melodic-automation-lanes
    Contributor

    The work-resolve-issue lane stopped partway through this issue and needs a person.

    Why, in the run's own words:

    The run reported done, but apply-issue-patch did not commit its patch (patch-protected-path): the patch changes a path the issue lane may not push: a workflow, a CODEOWNERS file, submodule config or a settings file. The run's log names the path or check.

    Run: https://github.com/melodic-software/claude-code-plugins/actions/runs/40113287366

    To retry, remove needs-human and add agent-ready again.

  6. kyle-sexton commented on Oct 26, 2026

    @kyle-sexton
    MemberAuthor

    Builder: the Automation Lanes session builds this from the owner's machine. The fix edits .github/workflows, which the lanes App cannot push (patch-rules.json:3); that boundary stays. Its PR closes this issue. needs-human came off under the owner's 2026-10-26 rule (a person only for an intent or vision change, an implementation finding that alters intent or the primary design, or a HIGH/CRITICAL security issue); none applies. agent-ready stays off so the issue lane does not race the build.

  7. removed
    needs-human
    status: ready
    on Oct 26, 2026
  8. github-actions commented on Oct 30, 2026

    @github-actions
    Contributor

    The triage sweep dispatched intake triage for this issue (attempt 1 of 2).

  9. added
    status: ready
    status: confirmed
    and removed
    status: ready
    on Oct 30, 2026
  10. melodic-automation-lanes commented on Oct 30, 2026

    @melodic-automation-lanes
    Contributor

    Not admitted to the issue lane: a criterion names .github/workflows/pr-run-activity-read.yml, .github/workflows/pr-run-activity-write.yml, .github/workflows/, which the issue lane cannot push (patch-protected-path); a builder session takes it. Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).

  11. melodic-automation-lanes commented on Oct 30, 2026

    @melodic-automation-lanes
    Contributor

    The latest triage verdict holds nothing: admission moved the issue to status: confirmed; its comment says why.

  12. added
    status: ready
    and removed
    status: ready
    on Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: confirmed

    Fields

    No fields configured for Feature.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions