Skip to content

fix: rerender advisory label review comments - #315

Merged
RomneyDa merged 1 commit into
mainfrom
codex/fix-advisory-comment-rerender
Jun 18, 2026
Merged

RomneyDa merged 1 commit into
mainfrom
codex/fix-advisory-comment-rerender

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Jun 17, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Re-render durable review comments after apply-time advisory issue label sync updates report labels.
  • Carry the live open linked-PR state into the final render options before calculating the comment body/hash.
  • Add a regression test that mocks an open linked PR and verifies the synced comment says to add clawsweeper:linked-pr-open / clawsweeper:no-new-fix-pr, not remove them.

Regression

This appears to have been introduced by 5400cbd5e004488286da6131c63805f68219c73f (feat: sync advisory issue labels). That commit added syncIssueAdvisoryLabels below the existing renderReviewCommentFromReport call, so the label sync could mutate markdown while the durable comment body and hash still reflected stale label state. This is what showed up on openclaw/openclaw#67750 (comment).

Validation

  • pnpm run check

@clawsweeper

clawsweeper Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper status: review started.

I am starting a fresh review of this pull request: fix: rerender advisory label review comments This is item 1/1 in the current shard. Shard 0/1.

This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking.

Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted.

@RomneyDa
RomneyDa merged commit 4e5c4d4 into main Jun 18, 2026
9 checks passed
@RomneyDa
RomneyDa deleted the codex/fix-advisory-comment-rerender branch June 18, 2026 00:21
azaj01 pushed a commit to azaj01/clawsweeper that referenced this pull request Sep 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant