Repository navigation
CI probe: combined_load hang (do not merge) - #90
adamshiervani wants to merge 2 commits into
Conversation
…ter 10 A suite that never ends held the Host tests job until the 6-hour limit, and its output was never printed. Each suite now runs under timeout (SUITE_TIMEOUT, default 300 s); a suite that runs out fails, its output so far is printed and its line says it timed out. The Host tests job also stops after 10 minutes.
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit fbcc11b. Configure here.
| done | ||
| exit "$failed" | ||
| cat summary.txt | ||
| for f in run*.log; do echo "::group::$f"; grep -E "^\[handles|^ |^# (tests|pass|fail)|^not ok" "$f"; echo "::endgroup::"; done |
There was a problem hiding this comment.
Probe loses hang data on failure
High Severity
GitHub Actions bash runs with errexit, so a non-zero timeout returns from run without appending to summary.txt. When every run hangs, cat summary.txt then fails and the step exits before printing the redirected logs that hold the handle dumps.
Reviewed by Cursor Bugbot for commit fbcc11b. Configure here.


Temporary. Runs the combined_load suite 8 times in the CI container and lists the handles that keep node open after the last test. I will close it after the run.
Note
Medium Risk
Replacing the full test matrix with a probe job would leave PRs untested if merged; the
run_all_tests.shtimeout change is a behavioral improvement that could fail slow suites.Overview
Temporary diagnostic PR (not intended to merge): replaces the normal Tests workflow with a single combined_load hang probe job that stresses
combined_load.test.mjsin CI.The workflow now only runs on
pull_request, drops the ci-image, host, and frontend jobs, and uses a pinnedghcr.io/jetkvm/mini-cicontainer. It runs eight test invocations (four in parallel, two rounds), each capped at 240s withtimeout -s KILL, and preloads.github/ci-probe/handles.cjsviaNODE_OPTIONSso Node logs active handles and requests after 30s to stderr. Logs are grouped and filtered for handle lines and pass/fail summaries.Separately,
tools/run_all_tests.shgains aSUITE_TIMEOUT(default 300s): each parallel suite is wrapped intimeout --kill-after=10, and exit code 124 is reported as a timeout failure.Reviewed by Cursor Bugbot for commit fbcc11b. Bugbot is set up for automated code reviews on this repo. Configure here.