Replay targeted cold node properties#774
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (6)
📜 Recent review details⏰ Context from checks skipped due to timeout. (5)
🧰 Additional context used📓 Path-based instructions (4)src/**/*.{ts,tsx,js,jsx}📄 CodeRabbit inference engine (AGENTS.md)
Files:
src/domain/**/*.{ts,tsx,js,jsx}📄 CodeRabbit inference engine (AGENTS.md)
Files:
src/domain/**/!(*.test).{ts,tsx,js,jsx}📄 CodeRabbit inference engine (AGENTS.md)
Files:
**/*.{ts,tsx,js,jsx}📄 CodeRabbit inference engine (AGENTS.md)
Files:
🧠 Learnings (1)📚 Learning: 2026-03-08T19:50:17.519ZApplied to files:
🔇 Additional comments (6)
📝 WalkthroughSummary by CodeRabbit
WalkthroughCold live node-property reads now fall back to exact-coordinate replay of one node’s ChangesCold property replay
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant MaterializeController
participant MaterializeLiveStrategy
participant PatchCollector
MaterializeController->>MaterializeLiveStrategy: request live node properties
MaterializeLiveStrategy->>MaterializeLiveStrategy: try retained property root
MaterializeLiveStrategy->>PatchCollector: stream exact-coordinate patches
PatchCollector-->>MaterializeLiveStrategy: targeted patch chain
MaterializeLiveStrategy-->>MaterializeController: frozen node property bag
Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
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 |
Release Preflight
If this PR is from a |
Summary
WarpStatePatchCollectorwriter-chain residency boundary and keep unreleased descriptor schemas out of the v19 contractIssue
Refs #738
This is an incremental bounded-read slice. It intentionally does not close #738: neighborhoods, list reads, checkpoint creation, and other compatibility operations still reconstruct whole state, and
PatchCollectormay still buffer one writer chain.Test plan
npx vitest run test/unit/domain/services/controllers/TargetedNodePropertyReplay.test.ts test/unit/domain/services/controllers/MaterializeController.liveNodeRead.test.ts(23 passed)npm run typechecknpm run lintnpm run test:coverage:ci(7,371 passed; 2 skipped; all ratchets held)npx vitest run test/unit test/integration(7,453 passed; 2 skipped)git diff --checkADR checks