You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test: Update at-capacity test for BACKLOG-001 behavior change #338
The test test_async_mode_at_capacity_returns_429_upfront expects HTTP 429 when submitting a task to an at-capacity agent, but BACKLOG-001 changed this behavior to return 200 with status: "queued".
Expected 429, got 200 with {"status":"queued",...}
Context
BACKLOG-001 implemented a persistent backlog queue for tasks submitted to at-capacity agents. Instead of immediately rejecting with 429, tasks are now queued and processed when capacity becomes available.
Fix Options
Update the test to expect 200 + status: "queued" response
Rename the test to reflect the new behavior (e.g., test_async_mode_at_capacity_queues_task)
Add a config option to bypass backlog for testing (if 429 behavior is still needed in some cases)
Recommendation
Update the test to match the current API contract. The BACKLOG-001 behavior is correct — tests should reflect reality.
Activity
fix: resolve 7 test failures for Epic #342
fix: resolve 7 test failures for Epic #342 (#343)
vybe commentedon Apr 16, 2026
Fixed in commit 4445193 (PR #343) — updated test to expect
status: queuedinstead of 429, reflecting BACKLOG-001 behavior change.