Repository navigation
2.11.0
Durable Workflow CLI 2.11.0
Breaking: request-ID refusals have their own exit codes
When you retry workflow:signal or workflow:update with --request-id, the
Server can refuse the key. 2.11.0 gives those refusals their own exit codes
(cli#167, durable-workflow/.github#216):
| Refusal | 2.10.0 | 2.11.0 |
|---|---|---|
HTTP 409 request_id_conflict: the key already names a retained command with a different name, input or run target |
exit 2 | exit 9 (REQUEST_ID_CONFLICT) |
HTTP 409 request_id_ambiguous: the key matches more than one retained command |
exit 2 | exit 10 (REQUEST_ID_AMBIGUOUS) |
Scripts that treated exit 2 as "the key was refused" must also check 9 and
10. Every other 409, such as run_not_active, still exits 2.
Both are definite refusals. Nothing was recorded and no receipt was selected,
so the CLI prints no "outcome unknown" warning and never resends the command.
The JSON error envelope keeps request_id, reason and the Server's
server_response.
- For a conflict, repeat the original command unchanged to read its receipt,
or choose a new--request-id. - For an ambiguity, retrying unchanged fails the same way. A new
request_id.ambiguousnext step explains this.
Legacy receipts are labelled
A receipt the Server retained before it compared command intent
(retained: true, intent_verified: false) now prints
Intent Verified: no (legacy receipt; the Server did not compare this command's intent with it), so human output never presents it as a verified match. JSON
output passes both fields through unchanged.
Unchanged
- A
--request-idyou pass is sent verbatim. Without one, each invocation
generates onecli-<signal|update>-<32 hex>key and puts it in the error
envelope for a manual retry.workflow:signalandworkflow:updatesend
exactly one request. batch:*already treated any 409request_id*refusal as refused and not
retryable, and it resends only with the manifest's stored key.
Qualification and compatibility
- These behaviours were qualified against published native Server 3.13.0. That
covers committed-response loss recovery, concurrent first sends and retries,
typed conflicts, closed and continued runs, and legacy readback with all three
ambiguity shapes. They run in the
Published command keys
workflow. dw server:start-devstill embeds native Server 3.12.0, and its data
directory is unchanged from 2.10.0.- The CLI still uses the published Rust SDK 4.18.0. Building from source needs
Rust 1.99.