Skip to content

Commit 2ec4872

Browse files
authored
Stream workspace action progress over WebSockets (#366)
Workspace action progress was previously refreshed only by the five-second polling loop, which made stop, update-and-start, and update-and-restart operations appear stale between polls. We added a workspace progress watcher that uses Coder's workspace and build-log WebSockets on supported deployments. The remote environment uses those events only for the progress description, while the workspace poller remains responsible for workspace and agent state. We added version gating and failure handling so older deployments and unavailable WebSocket connections continue through the existing polling path. We also added coverage for streaming output, state isolation, lifecycle cleanup, and fallback behavior. - resolves https://linear.app/codercom/issue/JET-1/
1 parent 5a1e13b commit 2ec4872

14 files changed

Lines changed: 2314 additions & 391 deletions

‎CHANGELOG.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
## Unreleased
44

5+
### Changed
6+
7+
- stream build status and provisioner output while updating, restarting, or stopping workspaces, falling back to
8+
polling for older Coder deployments
9+
510
## 0.9.5 - 2026-10-30
611

712
### Added

‎gradlew.bat‎

Lines changed: 112 additions & 112 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)