Skip to content

Full cargo-test hangs in issue_4903_listen_callback_deferred on every SHA containing #5831 (180-min timeout; blocks nightly + release tag gates) #5892

Description

@proggeramlug

Symptom

The full-workspace cargo-test job (nightly schedule, tag pushes, workflow_dispatch) stopped completing on 2026-07-03. It hangs inside crates/perry/tests/issue_4903_listen_callback_deferred.rs until the job's 180-minute timeout kills it.

Evidence

Why #5831 is the prime suspect

issue_4903 is an in-process HTTP server + http.get client round-trip — exactly the in-process server+client wakeup path that #5831 ("JS-loop-driven current-thread async runtime + wait-driver with gated fast-native-drive", supersedes #5779) reworked. The #5779 deadlock family was always load/timing-sensitive, which fits a CI-only repro on 2-core ubuntu runners.

Consistent with timing-sensitivity: the same shape passes on macOS at bfa0f258d (perry-dev build, compile + run of the test's main.ts — clean exit, correct output). Linux/CI is where it parks.

Impact

Repro pointers

  • CI: dispatch test.yml on any SHA ≥ 45e6773, watch cargo test -p perry --test issue_4903_listen_callback_deferred (both tests in the file are in-process server round-trips; the orphan list shows main_bin + sleep parked).
  • The 364 s / 283 s slow tests in run 28653372348's log may be a smaller, faster-to-debug signature of the same wait-driver latency issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions