fix(plugin-stack-persistence): report metadata parse failures#737
Conversation
|
| Name | Type |
|---|---|
| @stackflow/plugin-stack-persistence | Major |
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a 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 (6)
Disabled knowledge base sources:
📝 WalkthroughSummary by CodeRabbit
WalkthroughMetadata parsing now returns structured failure details, including composed-strategy context. Snapshot loading wraps metadata parse failures in an exported error and reports them through ChangesMetadata error reporting
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant Storage
participant provideSnapshot
participant MetadataStrategy
participant onRecordLoadError
provideSnapshot->>Storage: Load snapshot record
Storage-->>provideSnapshot: Return record
provideSnapshot->>MetadataStrategy: Parse record metadata
MetadataStrategy-->>provideSnapshot: Return failure detail
provideSnapshot->>onRecordLoadError: Report StackSnapshotMetadataParseError
provideSnapshot-->>Storage: Return null
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 |
commit: |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
stackflow-docs | af3604c | Commit Preview URL | Jul 24 2026, 07:05 AM |
Summary