feat(cli): show snapshots in task logs by mafredri · Pull Request #21787 · coder/coder

@mafredri mafredri marked this pull request as ready for review

January 30, 2026 12:19

johnstcn

@mafredri mafredri changed the title feat(cli)!: show snapshot metadata in task logs feat(cli): show snapshot metadata in task logs

Jan 30, 2026

@mafredri mafredri changed the title feat(cli): show snapshot metadata in task logs feat(cli): show snapshots in task logs

Jan 30, 2026

johnstcn

Base automatically changed from mafredri/feat-coderd-return-log-snapshot-for-paused-task to main

January 30, 2026 14:09

@mafredri

The CLI now displays warnings when showing snapshot data based on task
status and message count, detects missing snapshots via SnapshotAt
nullability, and provides actionable guidance when no snapshot is
available.

JSON output format remains unchanged (still returns logs array).
Warnings are shown on stderr while logs go to stdout.

Closes coder/internal#1255

@mafredri mafredri deleted the mafredri/feat-cli-show-task-log-snapshot branch

February 2, 2026 13:50