Conversation
…forwarded role (lidge-jun#5334 follow-up) lidge-jun#5334 made the developer wire role tri-state: an undeclared destination folds it to system. Two suites asserting role:"developer" on the Chat wire were missed because they are about tool-result repair ordering and document parts, not role selection — declare the destination, per the convention the change established. Verified: both files fail on dev@600075d2 with system-for-developer wire roles and pass with the declaration. Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Repository: luvs01/opencodex/.coderabbit.yaml Review profile: ASSERTIVE Plan: Advanced Run ID: 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 |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
✅ Deterministic PR hygiene checks passed. |
A concurrent request can cool the shared target while this request's own failure recorded no cooldown (scope "none"), so isComboTargetInCooldown alone was enough to arm the exclusion-free retry and replay a refused request. Require a cooldown-producing scope alongside the shared-state check, and cover the interleaving with a synchronized two-request test. Co-Authored-By: Epinephrine <luvs01@hanmail.net>
|
Fixed in 5d00b3a. |
|
Fixed in 5d00b3a. The retry gate now preserves this failure's computed cooldown scope and requires both a cooldown-producing scope ( |
Motivation
Description
isComboTargetInCooldowninsrc/server/responses/core-combo.ts.advanceComboAfterFailurebehavior for normal failover and only allow the exclusion-freepickWithWaitwhen the target is cooled.tests/server/server-combo-failover-e2e.test.tsthat verifies a request-local incompatibility (Unsupported parameter: user/ HTTP 400) is not retried whenwaitForCooldownMsis set.src/server/responses/core-combo.tsandtests/server/server-combo-failover-e2e.test.ts.Testing
bun run typecheckwhich completed successfully../node_modules/.bin/bun test tests/server/server-combo-failover-e2e.test.tsand observed all relevant cases pass (focused run and the full file run both passed; the full file run reported 177 passed, 0 failed).bun run structure:checkwhich passed.git diff --checkwith no issues reported; note that runningbun testwith an older system Bun (1.2.14) surfaced a tooling mismatch (node:zlibexport) unrelated to this code change, while the repository-local Bun (v1.4.0) used for the focused test runs passed the suite.Codex Task