Skip to content

Bundle Version Switch #389

@najuna-brian

Description

@najuna-brian

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

  1. Ensure you are logged in as an admin user: run synk login
  2. Ensure at least 2 bundle versions have been uploaded to the server
  3. Run synk app-bundle versions and note which version is currently active and the ID of an older version
  4. Run synk app-bundle switch {older-version-id} replacing {older-version-id} with the actual ID from step 3
  5. Run synk app-bundle versions again
  6. Verify the older version is now marked as active
  7. Run synk app-bundle manifest and 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    testIssues related to tests, test coverage, or test infrastructuretest:CLITest case related to the CLI

    Type

    No type

    Projects

    Status

    To Test

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions