Commit 49ef790
fix(scripts): validate MAX_PARALLEL and fix zombie processes on exit
- Validate MAX_PARALLEL is a positive integer, exit with clear error
otherwise (prevents infinite hang with 0 or crash with non-numeric)
- Consolidate 3 separate trap EXIT calls into one — they were
overwriting each other, so only the last one ran (pre-existing bug
causing kubectl port-forward zombies and TMPDIR not being cleaned)
- Remove unused kanikoLogsPid variable
Assisted-by: Claude Code
Co-Authored-By: Claude Code <noreply@anthropic.com>1 parent 2e43df9 commit 49ef790
1 file changed
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
| |||
475 | 479 | | |
476 | 480 | | |
477 | 481 | | |
478 | | - | |
479 | 482 | | |
480 | 483 | | |
481 | 484 | | |
| |||
526 | 529 | | |
527 | 530 | | |
528 | 531 | | |
529 | | - | |
530 | 532 | | |
531 | 533 | | |
532 | 534 | | |
| |||
590 | 592 | | |
591 | 593 | | |
592 | 594 | | |
593 | | - | |
594 | | - | |
595 | 595 | | |
596 | 596 | | |
597 | 597 | | |
| |||
624 | 624 | | |
625 | 625 | | |
626 | 626 | | |
| 627 | + | |
627 | 628 | | |
628 | | - | |
| 629 | + | |
629 | 630 | | |
630 | 631 | | |
631 | 632 | | |
| |||
0 commit comments