Commit 217c346
authored
fix(ci): fix test optimization upload broken by datadog-ci v5.13.0 requiring Node >= 20 (#3802)
* fix(ci): require Node >= 20 for datadog-ci npx, surface errors in silent wrapper
@datadog/datadog-ci@5.13.0 bumped its minimum Node.js requirement to >=20.
CI runners have Node 18, causing a ReferenceError: File is not defined crash
and silently failing all test optimization uploads.
Fix: raise the npx node version check from >=16 to >=20 so Node 18 runners
fall back to the standalone binary instead.
Also improve silent-upload-junit-to-datadog.sh to surface Warning/Error lines
even when the upload script exits 0, so future failures are visible in CI logs.
* revert silent-upload grep to original
* fix(ci): exit 1 on datadog-ci upload failure so silent wrapper shows output1 parent e2386d8 commit 217c346
3 files changed
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
146 | 146 | | |
147 | | - | |
| 147 | + | |
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | | - | |
219 | | - | |
| 218 | + | |
| 219 | + | |
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
0 commit comments