Repository navigation
Commit 2ec4872
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
File tree
- src
- main/kotlin/com/coder/toolbox
- cli
- sdk
- v2
- models
- test/kotlin/com/coder/toolbox
- cli
- sdk
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
5 | 10 | | |
6 | 11 | | |
7 | 12 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments