Skip to content

Remove sticky comments: post every agent result as a new comment #9334

Done

Description

@ascerra

What sticky comments are

Several agents post their result as a "sticky" comment. The first run creates the comment. Every later run finds that same comment and edits it, folding the previous result into a Previous run section. The comment never moves, so the newest result always sits where the first run put it.

Two examples from this repo:

Why remove them

Maintainers agreed on 2026-11-11 to remove sticky comments completely instead of making them optional, so there is one comment behaviour to support. See the meeting updates on #774 and #1513.

What should happen instead

Every agent result is posted as a new comment at the end of the thread. Nothing is edited in place and there are no Previous run sections. The thread itself is the history.

What is sticky today

Agent Sticky comment Posted from
Triage sufficient and in-progress results fullsend-ai/agents scripts/post-triage.src.sh
Prioritize The score comment fullsend-ai/agents scripts/post-prioritize.src.sh
Review The review comment fullsend post-review (internal/cli/postreview.go)
Review The risk assessment comment fullsend-ai/agents scripts/post-review.src.sh
Code The "opened pull request" comment on Jira issues fullsend-ai/agents scripts/post-code.src.sh
New agents The post-script generated for a new agent internal/agentnew/templates/post.sh.tmpl

The fix agent does not post sticky comments.

The find-and-edit logic itself lives in this repo: internal/sticky and internal/cli/issues.go, reached through fullsend post-comment, fullsend issues post-comment and fullsend post-review. Triage and prioritize on GitLab have their own copy in fullsend-ai/agents (scripts/lib/gitlab-triage-ops.lib.sh, scripts/lib/gitlab-prioritize-ops.lib.sh).

Suggested split

Two PRs, as discussed:

  1. Triage, with prioritize, which follows the same pattern.
  2. Review, including the risk assessment comment.

Then a cleanup of what is left once nothing uses it: the history folding, the keep_history setting and --keep-history flags, the code agent's Jira comment, the new-agent template and the docs.

Notes for whoever picks this up

  • Keep the hidden marker in each comment, for example <!-- fullsend:review-agent -->. Other steps use it to find the latest result. Re-review (scripts/pre-fetch-prior-review.sh) and the fix agent already pick the most recent matching comment, so they keep working when there are several.
  • Existing sticky comments on open issues and PRs can stay as they are.

Trade-off

Threads get more comments and send more notifications, which is what sticky comments were introduced to avoid. That is accepted. #9335 follows up by bringing each run down to one compact comment.

Out of scope

Done when

  • Running triage, prioritize or review a second time adds a new comment at the end of the thread and leaves the earlier one unchanged.
  • No Previous run sections are produced.
  • A re-review still takes the previous review into account.
  • This holds on GitHub, GitLab and Jira.
  • The docs no longer describe sticky comments, and keep_history is removed or documented as having no effect.

Related

Activity

  1. fullsend-ai-triage commented on Nov 11, 2026

    @fullsend-ai-triage

    🤖 Triage · ⚠️ Cancelled · Started 6:03 PM UTC · Ended 6:03 PM UTC

    Commit: 35228e6 · View workflow run →

  2. self-assigned this
    on Nov 11, 2026
  3. jwm4 commented on Nov 11, 2026

    @jwm4
    Contributor

    A suggestion for the definition at the top: say explicitly whether status comments are in scope.

    "Sticky" is an informal term, and a reader could reasonably take it to mean any comment that is edited in place. By that reading the status comments (🤖 Triage · Started…) would count, since they are usually edited from "Started" to "Finished". The issue never says either way. The "Out of scope" section and the #9222 example suggest they are not included.

    If that is right, the difference seems to be this, going by the code in internal/statuscomment and internal/sticky:

    • A status comment's hidden marker carries the run ID, so only that run updates it, and a later run never touches it.
    • The comments this issue removes carry the same marker on every run, so every later run finds the same comment and edits it.

    One sentence in "What sticky comments are" would settle it, something like:

    This issue covers comments that are reused across runs. Status comments are edited only by the run that posted them and are not changed by this issue.

    From Bill Murdock, with assistance from Claude Code.

  4. added 9 commits that reference this issue on Nov 13, 2026
  5. 77 remaining items

  6. added 9 commits that reference this issue on Nov 25, 2026
  7. tpouyer commented on Nov 30, 2026

    @tpouyer
    Contributor

    Delivered: the change merged in #9399.

  8. added a commit that references this issue on Nov 30, 2026
  9. added a commit that references this issue on Dec 1, 2026
  10. added a commit that references this issue on Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions