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
Addresses CodeRabbit: a clean end prints nothing (not 'End of build log.'); the 404 code is BUILD_NOT_FOUND, not NOT_FOUND.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/product/command-spec.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1539,11 +1539,11 @@ Behavior:
1539
1539
- requires auth; authorizes against the workspace that owned the build when it ran (build logs can contain secrets, so access stays with that workspace)
1540
1540
- takes a build id — shown in the Console build view and in git-push output; this is a build id, distinct from a runtime deployment id (`prisma-cli app logs` streams a deployment's runtime logs; this streams a build's logs)
1541
1541
- streams the build's log records to stdout in human mode (each line carries its source — `runner` / `stdout` / `stderr` — and the build step); `stderr` and error-level records are written to stderr so stdout stays redirectable to a clean build log
1542
-
-ends with a terminal line: `End of build log.`, or `No build logs are available for this build.`
1542
+
-a clean end prints no trailing line; a build with no recorded logs prints `No build logs are available for this build.`, and read errors print their message (these terminal messages are written to stderr)
1543
1543
-`--follow` keeps the connection open and streams new lines while an in-flight build runs; it ends on its own once the build reaches a terminal state
1544
1544
-`--cursor <cursor>` resumes from a prior terminal cursor
1545
1545
-`--json` emits one JSON event per record, ending in a terminal record (no trailing wrapper success event)
1546
-
- returns an indistinguishable `NOT_FOUND` when the build does not exist or the caller's workspace does not own it
1546
+
- returns an indistinguishable `BUILD_NOT_FOUND` when the build does not exist or the caller's workspace does not own it
0 commit comments