You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(cli): exit non-zero when the build log stream cannot be opened
Failing to open the stream and losing it mid-build leave the CLI in the
same position, unable to confirm the deployment outcome, so both now use
the same message and exit code.
Copy file name to clipboardExpand all lines: .changeset/deploy-log-stream-disconnect.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,4 +2,4 @@
2
2
"trigger.dev": patch
3
3
---
4
4
5
-
When the build log stream disconnects during a build server deploy, the CLI now explains that the deployment itself is still running and exits immediately with a non-zero code, instead of printing the raw stream error and hanging.
5
+
When the build log stream cannot be opened or disconnects during a build server deploy, the CLI now explains that the deployment itself is unaffected and exits immediately with a non-zero code, since it can no longer confirm the outcome. Previously a disconnect printed the raw stream error and left the process hanging.
0 commit comments