Repository navigation
fix: store replica due/wait dates as RFC3339 on create - #663
NaitikVerma6776 wants to merge 1 commit into
Conversation
Dart DateTime.toString() uses a space, which Rust parse_datetime rejected as None and silently cleared due/wait. Format DateTimes with toIso8601String and accept the space form as a fallback.
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (3)
Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review. 📝 WalkthroughWalkthroughReplica task creation now formats ChangesReplica date handling
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix · Severity of issue fixed: Medium Suggested reviewers: Merge Risk: ⚪ Minimal · up to Selected due and wait dates follow the replica creation path into stored task values. No actionable merge-blocking risk remains after normal checks. Security Architecture ReviewSecurity architecture risk: 🔵 Low · up to The change repairs date preservation without changing task identity, storage ownership or write permissions. No introduced security concern was established. Confidence remains limited by unverified crash recovery and concurrent-write behavior. Retained concerns Security review detailsSecurity Blast Radius
Trust Boundaries and Controls
Resilience and Maintainability Implications
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 66.67% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 3 functions across 1 files. (2 skipped: 2 unsupported.)
✨ Finishing Touches🧪 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
DateTimevalues as RFC3339 (toUtc().toIso8601String()) inReplica.addTaskToReplicaso due/wait survive createDateTime.toString()form in Rustparse_datetimeas a defensive fallbackFixes #662
Checklist
Test plan
flutter test test/v3/champion/replica_attribute_value_test.dartcargo test dart_datetime_tostring_due_and_wait_are_stored --manifest-path rust/Cargo.tomlSummary by CodeRabbit