Skip to content

fix(service-version): describe stage --version as a draft version - #1958

Closed
Tyagiquamar wants to merge 2 commits into
fastly:mainfrom
Tyagiquamar:fix/1320-stage-version-help
Closed

Tyagiquamar wants to merge 2 commits into
fastly:mainfrom
Tyagiquamar:fix/1320-stage-version-help

Conversation

@Tyagiquamar

@Tyagiquamar Tyagiquamar commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary

fastly service-version stage --help describes --version as a draft version.

Root cause

stage rejects active and locked versions, but --help reused the generic version description that lists latest, active, and staged.

Solution

The stage command uses its own description: the flag selects a draft version.

Test plan

pkg/commands/service/version/serviceversion_test.go covers the help text.

Fixes #1320

service version stage rejects active and locked versions, but --help reused the generic description that advertises latest, active, and staged.

Fixes fastly#1320.
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

Thanks for the contribution! This pull request doesn't follow our pull request template:

  • the ### Change summary section is missing
  • the All Submissions: checklist is missing

Please edit the description to use the template. If it is still missing after 3 days, this pull request will be closed automatically.

@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown

Closing because the pull request template is still missing after 3 days. Feel free to open a new pull request that uses the template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

'fastly service-version stage --help' output is incorrect regarding the '--version' parameter

1 participant