test(cli): remove IncludeProvisionerDaemon from task snapshot tests by mafredri · Pull Request #21850 · coder/coder

@mafredri mafredri changed the title test(cli): remove unnecessary IncludeProvisionerDaemon from task snapshot tests fix(dbfake): set StartedAt when completing jobs to prevent acquisition

Feb 2, 2026

@mafredri mafredri changed the title fix(dbfake): set StartedAt when completing jobs to prevent acquisition test(cli/task): skip flaky SnapshotWithLogs_Table test

Feb 2, 2026

@mafredri mafredri changed the title test(cli/task): skip flaky SnapshotWithLogs_Table test test(cli): remove unnecessary IncludeProvisionerDaemon from task snapshot tests

Feb 2, 2026

@mafredri

…shot tests

These tests use dbfake to set up database state directly and don't
need a provisioner daemon. Removing it fixes a flaky failure on
Windows where the provisioner daemon acquired a job that dbfake had
already "completed", causing the task status to be "error" instead
of "paused".

Fixes coder/internal#1322
Refs coder/internal#1323

@mafredri mafredri changed the title test(cli): remove unnecessary IncludeProvisionerDaemon from task snapshot tests test(cli): remove IncludeProvisionerDaemon from task snapshot tests

Feb 2, 2026

DanielleMaywood