Commit bcfaff0
fix(deploy): add fromJson fallback for early workflow failures
When the workflow fails before discover-stacks runs (e.g., Tailnet
connection failure), the Report Deployment Status step still executes
due to `if: always()`. The fromJson() call on an undefined output
causes a template parsing error.
Added null-coalescing fallback `|| '[]'` to default to an empty array.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 0925d04 commit bcfaff0
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
799 | 799 | | |
800 | 800 | | |
801 | 801 | | |
802 | | - | |
| 802 | + | |
| 803 | + | |
803 | 804 | | |
804 | 805 | | |
805 | 806 | | |
| |||
0 commit comments