Skip to content

Commit c6208c3

Browse files
fix(deploy): don't abort dry runs on insufficient benchmark match
The non-interactive benchmark gate returned before the dry-run exit, so `--dry-run --non-interactive` with filters never printed "Dry run, not deploying" (e2e scenario 07 failure). A dry run submits nothing — skip the abort.
1 parent 47a148a commit c6208c3

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/commands/deploy.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,9 @@ export async function executeDeployFlow(
720720
log('')
721721
}
722722

723-
if (options.nonInteractive) {
723+
// A dry run submits nothing, so an insufficient match must not abort it —
724+
// otherwise it never reaches the "Dry run, not deploying" exit.
725+
if (options.nonInteractive && !options.dryRun) {
724726
if (
725727
!matchRes.ok ||
726728
matchRes.data.matched_processors < config.numberOfReplicas

0 commit comments

Comments
 (0)