fix(plugin-blocker): use a serializable string key for the internal replay marker#740
Conversation
…eplay marker The blocker replay marker was a `Symbol`, which leaked into the recorded event log and made a captured `StackSnapshot` unserializable by codecs that reject symbol keys (e.g. `devalue` throws "Cannot stringify POJOs with symbolic keys"). Replace it with a namespaced string key so captured snapshots stay serializable. The per-action replay reentrancy behavior (including nested-navigation judgment during replay) is unchanged. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HCjG4TSCrw7bLktTnuzVBp
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
stackflow-docs | 0b33547 | Commit Preview URL | Jul 24 2026, 09:57 AM |
🦋 Changeset detectedLatest commit: 0b33547 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
Disabled knowledge base sources:
📝 WalkthroughSummary by CodeRabbit
WalkthroughThe blocker plugin changes its internal replay marker from a ChangesBlocker replay marker
Estimated code review effort: 2 (Simple) | ~10 minutes ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
commit: |
Drop the regression test added in the previous commit, per review request. The string-key fix in blockerPlugin.ts is unchanged. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HCjG4TSCrw7bLktTnuzVBp
임시방편