Repository navigation
Conversation
A relocalization timeout restarts ARKit's world frame, but resetSpatialState kept the SurfaceDots field, so depth from the new frame fused into dots from the old one. Start over already clears both; the spatial reset now does the same. Greptile 4115037126 on #158. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
Note Review skipped Codemetrics is installed on this repository, but it hasn't been added to your team yet. To enable AI code reviews for this repo, go to your dashboard and add BaseScanning to your team's repositories. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
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 configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughSpatial resets now clear the live LiDAR dot field and publish an empty field after discarding coverage and restarting the live source. ChangesSpatial reset
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~5 minutes Change: Bug fix Suggested reviewers: Merge Risk: ⚪ Minimal · up to Spatial resets clear the published dots, and delayed updates from the discarded frame cannot restore them. No merge-blocking issue was identified. Security Architecture ReviewSecurity architecture risk: ⚪ Minimal · up to The reset clears stale visual guidance using the existing cleanup mechanism. Existing generation checks prevent older asynchronous work from restoring discarded dots. No new access, authority, or external interface is introduced. Retained concerns Security review detailsSecurity Blast Radius
Trust Boundaries and Controls
Resilience and Maintainability Implications
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 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 |
|
|
@coderabbitai review |
✅ Action performedReview finished.
|
A relocalization timeout (ScanEngine.swift:1500) and camera access after a failure (:477) call resetSpatialState, which restarts ARKit's world frame but kept the SurfaceDots field, so depth from the new frame fused into dots from the old one. resetAll already clears both (:2211-2212); the spatial reset now does the same. These are #195's three lines (010f322), handed over by the legacy caretaker as c6184ff2 and accepted by root; nothing from #158 comes with them. Co-Authored-By: Claude Code <noreply@anthropic.com>
What changed
A relocalization reset now clears the live scan dots, matching Start over. Previously, a new AR world frame could reuse dots measured in the old frame.
Why
The dot positions belong to the world frame that produced them. This adds the same reset calls already used by
resetAlltoresetSpatialState.Stacked on #158, targeting
t3/live-fog. Addresses Greptile's reset finding.UI changes
Old dots should disappear when relocalization discards the old world frame. Before/after device captures are not available yet; this PR does not claim visual acceptance.
Verification
010f3227:BUILD SUCCEEDED, exit 0, usingxcodebuildwith-jobs 1.git diff --checkpassed.Risk
The relocalization reset has not been exercised on a physical device. That check is still needed before field acceptance.
Checklist
Summary by CodeRabbit