diff --git a/src/lib/pool/schedule-state.mjs b/src/lib/pool/schedule-state.mjs index a9f8ef8d1..ee46ff00d 100644 --- a/src/lib/pool/schedule-state.mjs +++ b/src/lib/pool/schedule-state.mjs @@ -98,6 +98,8 @@ const STATELESS = [ /^(wrap_connection_error|worker_transport_failure|worker_timeout|worker_process_exit|upstream_network_error|stream_interrupted|empty_response|incomplete_assistant|downstream_committed_or_incomplete|provider_timeout|client_cancelled|oauth_unconfirmed)$/, // Quota reset-boundary write-guard rejections (stale pre-reset samples ignored; never restrict a slot). /^(pre_reset_generation|pre_reset_started_at|pre_reset_probed_at|missing_reset_timing)$/, + // Worker answers that move the request to another slot without cooling this one down (continueWithoutCooldown). + /^(license_invalid|crag_prompt_replace_empty_unsupported)$/, // Seat placement labels (why this VM was picked), not a slot condition. /^sticky$/, ] diff --git a/test/unit/schedule-state.test.mjs b/test/unit/schedule-state.test.mjs index 5d2b15d41..ee618443a 100644 --- a/test/unit/schedule-state.test.mjs +++ b/test/unit/schedule-state.test.mjs @@ -68,6 +68,8 @@ test('risk-audit and request-level codes never change the slot state', () => { 'pre_reset_started_at', 'pre_reset_probed_at', 'missing_reset_timing', + 'license_invalid', + 'crag_prompt_replace_empty_unsupported', ] for (const code of stateless) assert.equal(stateOfReason(code)?.state, 'on', code) })