feat(site): show task log preview in paused and failed states by EhabY · Pull Request #22063 · coder/coder

@EhabY self-assigned this

Feb 12, 2026

EhabY

DanielleMaywood

mafredri

DanielleMaywood

@EhabY EhabY mentioned this pull request

Feb 17, 2026

6 tasks

DanielleMaywood

DanielleMaywood

mafredri

- Add `getTaskLogs` API method and `taskLogs` react-query query
- Add `TaskLogPreview` component rendering last N lines of AI chat logs
  in a ScrollArea with auto-scroll-to-bottom
- Show log preview below state message in paused and failed task states
- Extract `useScrollAreaAutoScroll` hook shared with BuildingWorkspace
- Update Storybook stories with mock task log data

@EhabY

@EhabY

… preview

Add a left border to log lines with [user] and [agent] labels on type
transitions. Add a snapshot timestamp tooltip to the log header. Make
InfoTooltip title optional.

@EhabY

@EhabY

@EhabY EhabY deleted the show-logs-during-pause-error branch

February 19, 2026 13:55