-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
testIssues related to tests, test coverage, or test infrastructureIssues related to tests, test coverage, or test infrastructuretest:CLITest case related to the CLITest case related to the CLI
Description
Description
Verifies that the synk app-bundle switch command correctly changes the active bundle to a previously uploaded version, enabling admins to roll back or switch between bundle versions.
Steps
- Ensure you are logged in as an admin user: run
synk login - Ensure at least 2 bundle versions have been uploaded to the server
- Run
synk app-bundle versionsand note which version is currently active and the ID of an older version - Run
synk app-bundle switch {older-version-id}replacing{older-version-id}with the actual ID from step 3 - Run
synk app-bundle versionsagain - Verify the older version is now marked as active
- Run
synk app-bundle manifestand verify the manifest now reflects the contents of the older bundle, not the previous active one
Expected Result
The active bundle switches to the specified older version. The versions list correctly shows the older version as active. The manifest reflects the older bundle's file contents and hashes. The command completes without errors.
Actual Result
(To be filled during testing)
Priority
Medium
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
testIssues related to tests, test coverage, or test infrastructureIssues related to tests, test coverage, or test infrastructuretest:CLITest case related to the CLITest case related to the CLI
Type
Projects
Status
To Test