Skip to content

CI probe: combined_load hang (do not merge) - #90

Closed
adamshiervani wants to merge 2 commits into
mainfrom
ci-probe-handles
Closed

adamshiervani wants to merge 2 commits into
mainfrom
ci-probe-handles

Conversation

@adamshiervani

@adamshiervani adamshiervani commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

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.sh timeout 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.mjs in CI.

The workflow now only runs on pull_request, drops the ci-image, host, and frontend jobs, and uses a pinned ghcr.io/jetkvm/mini-ci container. It runs eight test invocations (four in parallel, two rounds), each capped at 240s with timeout -s KILL, and preloads .github/ci-probe/handles.cjs via NODE_OPTIONS so 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.sh gains a SUITE_TIMEOUT (default 300s): each parallel suite is wrapped in timeout --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.

…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.
@coderabbitai

coderabbitai Bot commented Dec 2, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.

Fix All in Cursor

❌ 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

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit fbcc11b. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant