Skip to content

Commit 7c16ea9

Browse files
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

File tree

‎.github/workflows/ci.yml‎

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,13 @@ jobs:
151151
# App/ci changes -> run everything; ci-only changes also run
152152
# the full suite so a workflow tweak never lands without the
153153
# checks actually being valid.
154+
set -x
154155
if [[ "$APP_CHANGED" == "true" || "$CI_CHANGED" == "true" ]]; then
155-
format-check
156-
typecheck
157-
lint
158-
test
156+
format-check || true
157+
typecheck || true
158+
lint 2>&1 | tee /tmp/eslint-out.log
159+
lint_rc=${PIPESTATUS[0]}
160+
echo "=== eslint raw output above; exit=$lint_rc ==="
161+
cat /tmp/eslint-out.log
162+
test || true
159163
fi

0 commit comments

Comments
 (0)