Skip to content

Commit c5037af

Browse files
kristof-siketclaude
andcommitted
docs(build): correct terminal output + error code in build logs spec
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>
1 parent b6bd2ce commit c5037af

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/product/command-spec.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1539,11 +1539,11 @@ Behavior:
15391539
- requires auth; authorizes against the workspace that owned the build when it ran (build logs can contain secrets, so access stays with that workspace)
15401540
- 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)
15411541
- 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)
15431543
- `--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
15441544
- `--cursor <cursor>` resumes from a prior terminal cursor
15451545
- `--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
15471547

15481548
Examples:
15491549

0 commit comments

Comments
 (0)