Skip to content

Upload App Bundle - Invalid Bundle Rejected #386

@najuna-brian

Description

@najuna-brian

Description

Verifies that the bundle validation step correctly rejects a malformed or incomplete bundle before uploading it to the server, and that the existing active bundle is not affected.

Steps

  1. Ensure you are logged in as an admin user: run synk login
  2. Prepare an invalid bundle ZIP and deliberately remove index.html or the forms/ directory from an otherwise valid bundle
  3. Run synk app-bundle versions and note the current version list
  4. Run synk app-bundle upload invalid.zip
  5. Read the validation output carefully
  6. Run synk app-bundle versions again after the command completes
  7. Verify the version list is unchanged from step 3

Expected Result

Validation fails before any upload occurs. The error message is specific and names exactly what is missing or invalid (e.g. "Missing required file: index.html"). The bundle is NOT uploaded - the version list is identical before and after. The command exits with a non-zero exit code.

Actual Result

(To be filled during testing)

Priority

High

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

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions