Skip to content

Support --autoclone when staging#1850

Merged
philippschulte merged 1 commit into
fastly:mainfrom
philippschulte:pschulte/support-stage-autoclone
Jul 15, 2026
Merged

Support --autoclone when staging#1850
philippschulte merged 1 commit into
fastly:mainfrom
philippschulte:pschulte/support-stage-autoclone

Conversation

@philippschulte

Copy link
Copy Markdown
Member

Change summary

Add --autoclone support to fastly service version stage.

The command already recommends --autoclone when the selected version is active or locked, but previously rejected the flag as invalid. This change aligns stage with service version activate by cloning the selected version before staging it.

Tests cover staging clones of both active and locked versions.

All Submissions:

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Changes to Core Features:

  • Have you written new tests for your core changes, as applicable?
  • Have you successfully run tests with your changes locally?

User Impact

The recommended suggestion is finally supported.

Are there any considerations that need to be addressed for release?

No.

@philippschulte
philippschulte requested a review from kpfleming July 15, 2026 21:24
@philippschulte
philippschulte requested a review from a team as a code owner July 15, 2026 21:24
@philippschulte philippschulte added the bug Something isn't working label Jul 15, 2026

@kpfleming kpfleming left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The formatting changes in CHANGELOG.md should be in a separate PR if they are valuable enough to do that. I'm not sure we need to change the unordered list markers and indentation for a CHANGELOG entry which was added many months ago.

@philippschulte
philippschulte force-pushed the pschulte/support-stage-autoclone branch from dd3f10b to 8a6bfc9 Compare July 15, 2026 22:03
@philippschulte
philippschulte requested a review from kpfleming July 15, 2026 22:04
@philippschulte
philippschulte merged commit 962bd51 into fastly:main Jul 15, 2026
10 checks passed
@philippschulte
philippschulte deleted the pschulte/support-stage-autoclone branch July 15, 2026 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants