Skip to main content

build_progress

Creates, updates, deletes, gets or lists a build_progress resource.

Overview

Namebuild_progress
TypeResource
Iddeno.revisions.build_progress

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
buildingobjectBuild stage — running the build command
deployingobjectDeploy stage — uploading artifacts and routing traffic
installingobjectInstall stage — installing dependencies
preparingobjectPrepare stage — cloning source code and restoring caches
queuedobjectQueue stage — waiting for a build slot

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectrevisionStream revision build progress. The stream ends when the revision<br />reaches a terminal state (succeeded, failed, or skipped).<br /><br />Supports both JSONL (Accept: application/x-ndjson) and SSE (Accept: text/event-stream)<br />formats via the Accept header.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
revisionstringRevision ID (globally unique)

SELECT examples

Stream revision build progress. The stream ends when the revision<br />reaches a terminal state (succeeded, failed, or skipped).<br /><br />Supports both JSONL (Accept: application/x-ndjson) and SSE (Accept: text/event-stream)<br />formats via the Accept header.

SELECT
building,
deploying,
installing,
preparing,
queued
FROM deno.revisions.build_progress
WHERE revision = '{{ revision }}' -- required
;