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
Dev CI run 31736419453 at 96e8f23ea808844ea27a4dc59468bc9f111dc4fc, shard-2 job 94572361145 fails packages/coding-agent/test/agent-session-before-agent-start-attribution.test.ts after merged PR #4496 / commit e4f4281ac80dc2d7deb0ae31cbbe4e5570760308 changed setDefaultModelSelection admission ordering.
Exact failures:
:224 — orders an accepted prompt before a later default selection through provider start: expected selection credential probe not to overtake active prompt preflight, but it now does (Expected false, Received true).
orders an accepted default selection before later prompt preflight: DefaultModelSelectionRecoveryError after durable selection.
:336 — disposal drains an active selection: queued prompt rejects with same-session AgentBusyError during dispose and escapes as unhandled error.
The same file was unchanged after #4496; the production diff explicitly moved credential probe and waitForIdle outside the selection admission. #4496 focused suites did not include this cross-contract test. This is distinct from #4518 auth-storage fixture drift and #4501 ACP cleanup classification.
Acceptance
Reconcile the canonical contract between prompt preflight attribution, default-model selection, and dispose.
Preserve fail-fast reentrancy and missing-credential semantics where compatible with causal admission ordering.
Credential probing/durable mutation must not violate accepted prompt ordering or mutate a successor session.
Default-selection-first then prompt, prompt-first then selection, same-session reentrancy, abort, and dispose all settle deterministically without unhandled rejection or recovery error.
Exact regression
Dev CI run
31736419453at96e8f23ea808844ea27a4dc59468bc9f111dc4fc, shard-2 job94572361145failspackages/coding-agent/test/agent-session-before-agent-start-attribution.test.tsafter merged PR #4496 / commite4f4281ac80dc2d7deb0ae31cbbe4e5570760308changedsetDefaultModelSelectionadmission ordering.Exact failures:
:224—orders an accepted prompt before a later default selection through provider start: expected selection credential probe not to overtake active prompt preflight, but it now does (Expected false, Received true).orders an accepted default selection before later prompt preflight:DefaultModelSelectionRecoveryErrorafter durable selection.:336—disposal drains an active selection: queued prompt rejects with same-sessionAgentBusyErrorduring dispose and escapes as unhandled error.The same file was unchanged after #4496; the production diff explicitly moved credential probe and
waitForIdleoutside the selection admission. #4496 focused suites did not include this cross-contract test. This is distinct from #4518 auth-storage fixture drift and #4501 ACP cleanup classification.Acceptance
waitForIdleback under a lease that blocks continuation prompt admission.dev, independent exact-head adversarial review, full CI, merge, closure, and postmerge Dev CI.—
[repo owner's gaebal-gajae (clawdbot) 🦞]