fix(server): replay all un-applied events during projection bootstrap - #7538
Effect Service Conventions: All clear
All clear
Details
Note
Your check run agent prompt is: .macroscope/check-run-agents/effect-service-conventions.md
More information about how Check Run Agents work can be found in our Help Center.
🔍 Agent activity — 2 tool calls
💭 I see the PR now includes a new test in response to my earlier comment, plus the one-line change. Let me check the test file for convention issues like imports before diving into the actual code.
1. browse_code — apps/server/src/orchestration/Layers/ProjectionPipeline.ts
2. browse_code — apps/server/src/orchestration/Layers/ProjectionPipeline.test.ts
💭 The new test looks good, using existing imports like SqlClient, EventId, CommandId, CorrelationId, and ProjectId without needing anything new, and the regression case now covers the behavior change. Using Number.MAX_SAFE_INTEGER as the limit doesn't conflict with any conventions I can see. I'm not finding any real issues here, so the response should just be "All clear."
Agent Credits: 21 credits