Repository navigation
chore: simplify external Scene change handling - #1639
Conversation
Give the tracker, snapshot session store, focus-return coordinator, and compile resolver explicit file ownership while preserving every class body, visibility, event hook, and mutable state owner.
Use one stateless comparer for Scene and Prefab fingerprint identity so both reload paths share the same existence, timestamp, and length contract. Cover each comparison field independently to prevent future drift.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (5)
📒 Files selected for processing (6)
📝 WalkthroughWalkthroughIntroduces a shared ChangesExternal asset change tracking
Estimated code review effort: 4 (Complex) | ~60 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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
User Impact
Changes
ExternalSceneChangeResolverin its existing matching file.ExternalSceneChangeTracker,ExternalAssetSnapshotSessionStore, andExternalAssetFocusReturnServiceunchanged into matching files.ExternalAssetFileStateComparerand replace the two byte-identical private comparison methods with direct calls.(Exists, LastWriteTimeUtc, Length)tuple shape instead of introducing a broader fingerprint data-model migration.Verification
16/16).CS0103errors, then pass after implementation (4/4).20/20).124/124).0errors and0warnings.Compatibility