feat(plugin-stack-persistence): parse persisted metadata at the storage boundary#735
Conversation
|
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 (7)
Disabled knowledge base sources:
📝 WalkthroughSummary by CodeRabbit
Walkthrough스냅샷 메타데이터 생성·파싱 API가 추가되고, composed 전략은 스키마·버전·데이터 엔벨로프를 저장·검증합니다. 저장·복원 흐름은 새 API를 사용하며, 복원 시 파싱된 메타데이터로 재사용 여부를 판단합니다. Changes메타데이터 기반 스냅샷 persistence
Estimated code review effort: 3 (Moderate) | ~25 minutes Sequence Diagram(s)sequenceDiagram
participant Caller
participant stackPersistencePlugin
participant StackSnapshotStorage
participant StackSnapshotStrategy
Caller->>stackPersistencePlugin: 스냅샷 저장
stackPersistencePlugin->>StackSnapshotStrategy: metadata.create(args)
StackSnapshotStrategy-->>stackPersistencePlugin: metadata
stackPersistencePlugin->>StackSnapshotStorage: save(record)
Caller->>stackPersistencePlugin: 스냅샷 복원
stackPersistencePlugin->>StackSnapshotStorage: load()
StackSnapshotStorage-->>stackPersistencePlugin: record
stackPersistencePlugin->>StackSnapshotStrategy: metadata.parse(record.metadata)
StackSnapshotStrategy-->>stackPersistencePlugin: parsed metadata
stackPersistencePlugin->>StackSnapshotStrategy: shouldReuse(parsedRecord)
StackSnapshotStrategy-->>stackPersistencePlugin: boolean
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 | 76994b7 | Commit Preview URL | Jul 22 2026, 03:30 PM |
🦋 Changeset detectedLatest commit: 76994b7 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 |
Require parsing mechanisms to be provided with Strategies