Repository navigation
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughAdded test coverage for abandoning and stopping context-only Dispatch records without a 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
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 |
|
Backlog note (cleanup pass): auto-rebase onto current |
…rows Low-level orchestration.dispatch mints dispatch_contexts only. worker-abandon and worker-stop required a worker_dispatches row and reported dispatch_not_found for live ids, wedging the assignee terminal. Fence the context in both verbs. Fixes stablyai#13005
473e09a to
d3534ac
Compare
|
Note GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer. |
|
Closing: main already implements this.
Closing to keep my open-PR queue honest. If this turns out to be wrong I'll reopen — please just say so, or reopen it yourself, within the next 7 days. |
Summary
Low-level
orchestration.dispatchcreates adispatch_contextsrow only.worker-abandon/worker-stoprequired a matchingworker_dispatchesrow (fromworker-start) and threwdispatch_not_foundfor live mail-only dispatch ids — whiledispatch-showstill returned them and the terminal stayed locked.abandonWorkerDispatchandbeginWorkerStopFixes #13005
Test plan
pnpm exec vitest run src/main/runtime/orchestration/orchestration-worker-dispatch-db.test.tspnpm exec vitest run src/main/runtime/rpc/methods/orchestration-workers-recovery.test.ts src/main/runtime/rpc/methods/orchestration-worker-release.test.ts