build_progress
Creates, updates, deletes, gets or lists a build_progress resource.
Overview
| Name | build_progress |
| Type | Resource |
| Id | deno.revisions.build_progress |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
building | object | Build stage — running the build command |
deploying | object | Deploy stage — uploading artifacts and routing traffic |
installing | object | Install stage — installing dependencies |
preparing | object | Prepare stage — cloning source code and restoring caches |
queued | object | Queue stage — waiting for a build slot |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | revision | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
revision | string | Revision ID (globally unique) |
SELECT examples
- list
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
;