Repository navigation
Commit 7c16ea9
committed
ci(ark): diagnose silent eslint failure in Run relevant checks
The third CI job fails at the lint step with exit code 1, but the
log shows zero eslint output between the bun-run echo
"\$ eslint . --quiet" and the GitHub Actions \##[error] line. This
is consistent across re-runs. Likely an output-buffering issue with
"devenv shell bash -- -e {0}" swallowing the upstream child
process's stdout/stderr while still propagating the exit code.
Temporarily:
- set -x to trace every command
- "|| true" on each step so set -e doesn't hide the failure
- "tee" the lint output to /tmp/eslint-out.log and "cat" it back
to the runner log, so we can see the real eslint errors
Follow-up: once the failure mode is known, revert this and ship a
proper fix (either inline the commands in the workflow, switch the
shell to plain bash with a devenv enter step, or pin the lint
script to call eslint directly instead of going through bun run).1 parent aeb160c commit 7c16ea9
1 file changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| 154 | + | |
154 | 155 | | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
159 | 163 | | |
0 commit comments