-
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 --skip-validation flag bypasses the local bundle validation step and proceeds directly to upload, enabling power users to upload bundles that may not pass the standard structural checks.
Steps
- Ensure you are logged in as an admin user: run
synk login - Prepare a bundle that would normally fail validation (e.g. missing a non-critical file)
- Confirm it fails without the flag: run
synk app-bundle upload bundle.zipand observe failure - Now run
synk app-bundle upload bundle.zip --skip-validation - Verify that validation is skipped (no validation output shown, or a note that validation was skipped)
- Verify the upload proceeds to completion
- Run
synk app-bundle versionsand verify the bundle appears in the list
Expected Result
When --skip-validation is passed, local validation is bypassed entirely and the upload proceeds. The bundle appears in the versions list. The command output clearly indicates that validation was skipped so the operator is aware.
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