fix(server): stop a second server from resending Claude turns #13295
Mergedcestercian(GitHub profile, opens in a new tab)merged 1 commit into
main fromrefs/pull/13295/headmerged by t3dotgg(GitHub profile, opens in a new tab) View on GitHubgithub-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:XS
juliusmarminge added labelsmacroscope-review
macroscopeapp[bot](GitHub profile, opens in a new tab) approved these changes
t3dotgg(GitHub profile, opens in a new tab) closed this
Sign in to join this conversation.
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
Configuration used: Repository: pingdotgg/t3code/.coderabbit.yaml
Review profile: CHILL
Plan: Advanced
Run ID:
bca2c49a-3cfe-4508-bd51-f5f696ddcd3a📥 Commits
Reviewing files that changed from the base of the PR and between f5ef0ddb90a8c36584e181b1913e7b8a5df30ffc and 4e83dc2cb00a31aaa38c10b0d3eef4e941bd0e0a.
📒 Files selected for processing (2)
apps/server/src/orchestration/Layers/OrchestrationEngine.test.tsapps/server/src/orchestration/Layers/OrchestrationEngine.tsIncluded review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.
📝 Walkthrough
Walkthrough#
The orchestration engine tracks event IDs appended during each dispatch and limits failure-path republishing to those events. A test covers a local dispatch failure when two orchestration systems share a database.
Changes#
Dispatch event reconciliation
apps/server/src/orchestration/Layers/OrchestrationEngine.ts,apps/server/src/orchestration/Layers/OrchestrationEngine.test.tsEstimated code review effort: 2 (Simple) | ~10 minutes
Suggested reviewers:
t3dotggMerge Risk: ⚪ Minimal · up to
4e83dThe shared-database regression is covered, and no issue requiring correction before merge was identified.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
#13275] requires onethread.turn-start-requestedevent and one provider turn per user message.OrchestrationEngine.tsnow records event IDs appended by the current dispatch and republishes …OrchestrationEngine.tsand a regression test for shared-database reconciliation. Both changes directly support issue [#13275]. No unrelat…✨ Finishing Touches
🧪 Generate unit tests (beta)
Comment `@coderabbitai help` to get the list of available commands.