| test: replaced real timers and sleeps with deterministic test hooks
- Added providerRetryWait and retryWait hooks to stream/usage options so tests bypass real scheduler delays.
- Parameterized GitHub Copilot poll intervals and Copilot model retry base delay for fast test execution.
- Replaced Bun.sleep/setTimeout polling loops with AbortSignal event listeners in agent session tests.
- Consolidated auth-gateway E2E helpers into a shared test/helpers module, eliminating duplicated checkGatewayAvailable implementations.
- Migrated credential-disabled tests from SQLite-backed stores to an in-memory store, removing temp-dir lifecycle overhead.
| 15 天前 |