mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
Make `newInternalTestServer` use option functions for logger, clock, and worker startup, and make it passive by default so internal chatd tests only opt into background execution when they need a real worker. Use the passive server path in `TestAwaitSubagentCompletion` for the state-driven subtests, keep `ContextCanceled` explicitly active for real provider cancellation coverage, and keep the fail-fast default AI provider base URL so accidental provider calls still fail immediately. Closes CODAGT-586 Closes https://github.com/coder/internal/issues/1549