fix: Compile waits longer before reporting indeterminate results#1276
Conversation
Allow normal delayed compilationFinished callbacks after Unity reports that compilation has stopped before treating the compile result as indeterminate. Add watchdog coverage for requests that complete after the previous 500ms window.
|
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 selected for processing (2)
📝 WalkthroughWalkthroughThis PR addresses delayed compile-finish callback handling by extending the missed-callback grace period from 500ms to 2000ms and validating that the watchdog correctly accepts callbacks arriving in the extended window without triggering unnecessary recovery logic. ChangesCompile finish callback grace period
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~4 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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
Success: nullafter Unity reported it was no longer compiling if the finish callback arrived later than 500ms.Changes
Verification
cli/dist/darwin-arm64/uloop compile --project-path <PROJECT_ROOT>cli/dist/darwin-arm64/uloop run-tests --project-path <PROJECT_ROOT> --test-mode EditMode --filter-type regex --filter-value "CompileLifecycleWatchdogTests"git diff --checkCloses #1273