Skip to content

test: isolate passive chatd internal tests#26369

Open
ethanndickson wants to merge 2 commits into
mainfrom
test-flakiness-fnb7
Open

test: isolate passive chatd internal tests#26369
ethanndickson wants to merge 2 commits into
mainfrom
test-flakiness-fnb7

Conversation

@ethanndickson

@ethanndickson ethanndickson commented Jun 15, 2026

Copy link
Copy Markdown
Member

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

@linear-code

linear-code Bot commented Jun 15, 2026

Copy link
Copy Markdown

CODAGT-586

@ethanndickson ethanndickson changed the title fix(coderd): isolate passive chatd internal tests test: isolate passive chatd internal tests Jun 15, 2026
@ethanndickson ethanndickson marked this pull request as ready for review June 15, 2026 06:22
@ethanndickson ethanndickson requested a review from mafredri June 15, 2026 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant