test(query-persist-client-core/createPersister): add tests for removing entries that fail to deserialize#10881
Conversation
…ng entries that fail to deserialize
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR adds three Vitest test cases to ChangesInvalid persisted data cleanup coverage
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning Review ran into problems🔥 ProblemsStopped waiting for pipeline failures after 30000ms. One of your pipelines takes longer than our 30000ms fetch window to run, so review may not consider pipeline-failure results for inline comments if any failures occurred after the fetch window. Increase the timeout if you want to wait longer or run a Comment |
|
View your CI Pipeline Execution ↗ for commit 02e3af3
☁️ Nx Cloud last updated this comment at |
🚀 Changeset Version PreviewNo changeset entries found. Merging this PR will not cause a version bump for any packages. |
size-limit report 📦
|
🎯 Changes
Adds unit tests for
persisterGc,restoreQueries, andremoveQueriescovering the case where a stored entry cannot be deserialized: the corrupted entry is removed from storage and iteration continues.✅ Checklist
pnpm run test:pr.🚀 Release Impact
Summary by CodeRabbit