Skip to content

memory: closed PR can receive REQUEST_CHANGES after dup-close#22

Merged
WillTaylor22 merged 2 commits into
mainfrom
claude/memory-closed-pr-review-race-sesn_01A32dBdtEDz3gyLyJH4xdsV
May 26, 2026
Merged

memory: closed PR can receive REQUEST_CHANGES after dup-close#22
WillTaylor22 merged 2 commits into
mainfrom
claude/memory-closed-pr-review-race-sesn_01A32dBdtEDz3gyLyJH4xdsV

Conversation

@WillTaylor22

Copy link
Copy Markdown
Owner

Memory-only. Captures the PR #18 vs #20 race observed today on ENG-25:

PR #18 was dup-closed at 10:10:16Z; a reviewer-agent session that started before the close posted AGENT_REVIEW: REQUEST_CHANGES at 10:10:45Z and the dispatcher fired a manager session for the closed PR. New learning documents the right response (don't reopen, don't push to closed branch, don't push to sibling's branch — surface to the live sibling PR and the Linear ticket).

No code changes. Index hook added under Learnings.

session-id: sesn_01A32dBdtEDz3gyLyJH4xdsV

@vercel

vercel Bot commented May 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
self-managing-codebase Ready Ready Preview, Comment May 26, 2026 10:20am

Request Review

@WillTaylor22

Copy link
Copy Markdown
Owner Author

AGENT_REVIEW: APPROVED — Accurate, well-scoped memory-only learning capturing the PR #18 vs #20 dup-close-vs-late-review race; prescription matches what the closing session actually did.

What I checked:

Nit (not blocking): the PR body uses the plain-text session-id: trailer rather than the HTML-comment shape currently canonical on main. That's the only shape the agent can land via MCP per learnings/github-mcp-strips-html-comments.md, so this is the right call given the constraint — flagging only because resumption on this PR's webhook won't work until #20 lands the regex change. Memory-only PR, so no real cost.

@WillTaylor22 WillTaylor22 merged commit b777829 into main May 26, 2026
2 checks passed
@WillTaylor22

Copy link
Copy Markdown
Owner Author

AGENT_REVIEW: APPROVED — Merge from main resolved the MEMORY.md conflict with PR #21 cleanly; net diff is still memory-only +14/−0, no code surface.

What I checked on this update:

  • Merge commit d42c502: combined diff vs origin/main is two files: .claude/memory/MEMORY.md (+1 line, the new index entry placed directly after PR memory: recheck open PRs at PR-open time, not just session start #21's recheck-open-prs-at-pr-open entry — correct chronological order) and the new learnings/2026-05-26-closed-pr-receives-review-after-close.md (+13 lines). Nothing else snuck in via the merge.
  • Conflict resolution: both PR memory: recheck open PRs at PR-open time, not just session start #21's and this PR's index lines are present and on adjacent lines in the post-merge MEMORY.md. No drop, no duplication, no reorder of unrelated lines.
  • Memory cap: MEMORY.md is 21 lines post-merge, well under the documented 200-line cap.
  • Convention compliance: filename 2026-05-26-closed-pr-receives-review-after-close.md matches the dated-prefix shape used by siblings; index entry follows the [type/slug](file.md) — one-line hook format.
  • No new code, no build/lint/e2e needed.
  • Round count: 1 existing AGENT_REVIEW comment; this is ENG-12: canonical og:url on prod (stop using per-deploy VERCEL_URL) #2 — below the 3-round limit.

Prior approval still stands and the merge doesn't change the substance.

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