Commit 4b4e721
fix(dso-q523): validate.sh handles missing APP_DIR and unbound variable errors
- Guard `cd "$APP_DIR"` with existence check; falls back to REPO_ROOT when
the app directory does not exist (e.g. DSO plugin repo has no app/ subdir)
- Fix `$CI` unbound variable: use `${CI:-}` at lines 657/858 for set -u safety
- Fix `CLEANUP_PIDS[@]` unbound variable: use safe empty-array expansion pattern
- Remove `args=-q --tb=line` from tests run_check call (was passed literally
to pytest as a file path, causing "file or directory not found" failures)
- Update test-validate-config-driven.sh: replace config-workaround test with
a structural test verifying the code-level guard in validate.sh
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 6be9fb0 commit 4b4e721
File tree
4 files changed
+24
-13
lines changed- .claude-plugin
- .tickets
- scripts
- tests/scripts
4 files changed
+24
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
| 183 | + | |
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| |||
608 | 608 | | |
609 | 609 | | |
610 | 610 | | |
611 | | - | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
612 | 618 | | |
613 | 619 | | |
614 | 620 | | |
| |||
626 | 632 | | |
627 | 633 | | |
628 | 634 | | |
629 | | - | |
| 635 | + | |
630 | 636 | | |
631 | 637 | | |
632 | 638 | | |
| |||
648 | 654 | | |
649 | 655 | | |
650 | 656 | | |
651 | | - | |
| 657 | + | |
652 | 658 | | |
653 | 659 | | |
654 | 660 | | |
| |||
848 | 854 | | |
849 | 855 | | |
850 | 856 | | |
851 | | - | |
852 | | - | |
| 857 | + | |
| 858 | + | |
853 | 859 | | |
854 | 860 | | |
855 | 861 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
120 | | - | |
121 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
122 | 123 | | |
123 | 124 | | |
124 | | - | |
125 | | - | |
| 125 | + | |
| 126 | + | |
126 | 127 | | |
127 | | - | |
| 128 | + | |
128 | 129 | | |
129 | 130 | | |
0 commit comments