Repository navigation
Conversation
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Open runs can still depend on a version branch that an operator intends to remove. This draft adds
dw workflow:version-usage <workflow-type> <change-id> --min-version=N, with namespace validation, all-state counts, a bounded page of runs, explicit unknown reasons, help and JSON/JSONL output.It uses the producer's corrected relative
GET /workflow-version-usageroute and requires literalcapabilities.workflow_version_usage=true. Counts survive empty filtered pages. Invalid or inconsistent responses, missing capability, auth/storage failures, redirects and lost replies remain failures. The command sends one usage GET and does not follow its cursor automatically.Validation: 11 focused real-CLI/loopback transport tests pass under Rust 1.86, including query encoding and namespace scope, signed integer bounds, no-request invalid arguments, unknowns, response integrity, unsupported capability, HTTP failure, redirect refusal, single-attempt behavior and offline help. All 25 parity-harness controls pass. The initial draft's completion comparison finding is corrected by retaining the existing final completion entry and its newline behavior. Normal current-head CI remains required.
The producer route is not yet published. Actual native Server acceptance remains the final integration gate before this leaves draft; no release or shared #220 closure is claimed. The operator's self-contained native dev Server requirement is now the immediate CLI priority in #160. The unrelated #157 review/activation hold remains in force.
Refs durable-workflow/.github#220, durable-workflow/workflow#1146, durable-workflow/server#1221.