fix(sse): update second stale ALL_ACCOUNTS_INACTIVE assertion (T24)

Same pre-existing upstream test-drift as 038035f93: t23-t24-fallback-resilience.test.ts's T24 case asserts the pre-dispatch-skip scenario returns ALL_ACCOUNTS_INACTIVE, but production code returns the more precise ALL_TARGETS_SKIPPED when recordedAttempts === 0. Caught by this PR's own fresh CI run after the dirty-mergeable-state fix.
This commit is contained in:
Will Gordon
2026-08-07 16:11:08 -04:00
committed by diegosouzapw
parent 6fc1b83771
commit d0049a7f8e

View File

@@ -148,6 +148,10 @@ test("T24: all inactive accounts return 503 service_unavailable (not 406)", asyn
assert.equal(result.status, 503);
const body = (await result.json()) as any;
// isModelAvailable always false means every target is skipped by the
// pre-dispatch filter with zero dispatch attempts — the more precise
// ALL_TARGETS_SKIPPED classification, not ALL_ACCOUNTS_INACTIVE (which
// implies targets were attempted and their accounts found inactive).
assert.equal(body.error?.code, "ALL_TARGETS_SKIPPED");
});