(MOT-4269) fix(harness): harden reactive E2E validation - #621
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
skill-check — worker0 verified, 49 skipped (no docs/).
Four for four. Nicely done. |
|
Warning Review limit reached
Next review available in: 58 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughThe reactive automation scenario now measures overlapping writer sessions, accepts concurrent-session evidence during scoring, and strengthens prompt requirements for aggregation, completion gating, report validation, root-session wakeup, and cleanup. ChangesReactive automation validation
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant WriterSessions
participant CompletionReaction
participant Finalizer
participant ReportRow
participant RootSession
WriterSessions->>CompletionReaction: mark all three writers done
CompletionReaction->>Finalizer: invoke finalization
Finalizer->>ReportRow: recompute totals and write validated report
Finalizer->>RootSession: wake with root session id
RootSession->>CompletionReaction: unregister run-scoped reactions
Poem
✨ 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
Root cause
The writers executed concurrently, but the evaluator only accepted three spawn calls emitted in the same response. The finalization sequence also allowed transient aggregate state, completion before writer status updates, and a wake-up that could create a child session instead of resuming the root.
Impact
The scenario now measures real concurrent writer activity and validates completion and cleanup deterministically while preserving the intended workload.
Validation
cargo fmt --manifest-path harness/Cargo.toml --all -- --checkcargo test --locked --manifest-path harness/Cargo.toml -p harness-e2e(47 passed)cargo test --locked --manifest-path harness/Cargo.toml -p harness(300 passed across unit, manifest, and schema tests)cargo clippy --locked --manifest-path harness/Cargo.toml -p harness -p harness-e2e -p harness-integration --all-targets -- -D warningsmake -C harness integration-validate(11 fixtures valid)reactive_automationwithzai/glm-5.2(2/2 passed, score 100 each)git diff --checkRefs MOT-4269
Summary by CodeRabbit