nodes:stage:lease:release
Give up your stage lease without committing anything. Releasing a lease that expired or does not exist succeeds (`released: true`); another session's live lease is refused with 409.
Reference for flywheel nodes:stage:lease:release.
Command Group
Nodes & Graph Commands
Summary
Give up your stage lease without committing anything. Releasing a lease that expired or does not exist succeeds (released: true); another session's live lease is refused with 409.
Effect
changes data
Usage
flywheel nodes:stage:lease:release <FLAGS>Required flags
| Flag | Value | Default | Choices | Description |
|---|---|---|---|---|
--node_id | string | Node UUID (not a slug) from node_id in hosted:node:list or graph:get. Missing or hidden: 404 where the command loads it. | ||
--stage_session_id | string | Your own ID for this edit session: any string you choose, sent unchanged on acquire, heartbeat, release and the commit. It owns the lease; another session's live lease is refused with 409 node has active stage lease. |
Optional flags
| Flag | Value | Default | Choices | Description |
|---|---|---|---|---|
--format | FORMAT | json, tsv, csv, table | Output format for command results. | |
--env | PROFILE | Select a CLI profile; unconfigured default requires FLYWHEEL_BASE_URL. | ||
--out | PATH | Write output to a file path, or use - for stdout. | ||
--open | Open browser-bound URLs when supported. | |||
--no-retry | Disable transient-error retries. | |||
--retry-max | N | Maximum transient-error retry attempts. | ||
--wait | Block on async operations until a terminal state is reached. | |||
--wait-timeout | SECONDS | 600 | Seconds to wait for --wait before timing out. Defaults to 600. | |
--allow-self | Allow mutating the currently active credential. | |||
--timeout | SECONDS | Set the per-request timeout budget in seconds. | ||
--idempotency-key | KEY | Reuse an Idempotency-Key so ambiguous write failures can be retried with the same key. | ||
--force | Force safety-gated operations where supported. | |||
--yes | Confirm forced compute:release-all --force. Other runtime commands do not read --yes. | |||
--debug | Print structured request debugging with secrets masked. | |||
--verbose | Print verbose progress for long-running operations. | |||
-h, --help | Show this help. |
Examples
Release.
flywheel nodes:stage:lease:release --node_id n_abc --stage_session_id s1Output
Default format: json.
| Field | Type |
|---|---|
released | boolean |
nodes:stage:lease:heartbeat
Extend your stage lease before it expires (45 seconds by default; call about every 15 seconds). Prints the refreshed `lease`. Refused with 409 when the lease expired or was never taken (`stage lease missing or expired`) or belongs to another session; run nodes:stage:lease:acquire again.
remote-artifacts:refresh
Re-fetch a public HTTPS JSON Remote Artifact now: like `remote-artifacts:resolve` with --force_refresh always on, so it skips the freshness cache. Exception: while another refresh of the same artifact holds the refresh lock (up to --cache_ttl_seconds) and a cached copy exists, it returns that cached copy (`remote_status` `fresh`) without fetching. Unchanged rendered content and source settings keep the artifact and the node's revision; a change replaces the artifact and bumps the revision. Needs write access.