fix(plugin-stack-persistence): wrap save failures in StackSnapshotRecordSaveError#733
Conversation
…ordSaveError Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G8n8acsHn8MbiqE2YBwXyc
🦋 Changeset detectedLatest commit: dbccc12 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 Run ID: 📒 Files selected for processing (2)
Disabled knowledge base sources:
📝 WalkthroughSummary by CodeRabbit
WalkthroughThe idle-save path now wraps storage failures in ChangesPersistence save error handling
Estimated code review effort: 2 (Simple) | ~5 minutes Possibly related PRs
✨ 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 |
Summary
onRecordSaveErroris typed as(error: StackSnapshotRecordSaveError) => void, but the save path passed the raw storage error straight through, unlike the load path which wraps withStackSnapshotRecordLoadError.StackSnapshotRecordSaveErrorbefore invokingonRecordSaveErrorcause)🤖 Generated with Claude Code
https://claude.ai/code/session_01G8n8acsHn8MbiqE2YBwXyc