Skip to content

Test cancellation_while_replacement_startup_is_blocked_aborts_request_state fails: replacement startup never reaches the blocked handshake #124

Description

@AlexanderKugel

Environment

commit: 0185409 (upstream main, "compare function_call arguments semantically ...", #119)
rustc 1.97.1 (8bab26f4f 2026-07-14)
cargo 1.97.1 (c980f4866 2026-06-30)
Linux 6.18.33.2-microsoft-standard-WSL2

Problem

One library test fails.

How to reproduce

cargo test --lib cancellation_while_replacement_startup_is_blocked_aborts_request_state

Observed result

running 1 test
test providers::codex::tests::cancellation_while_replacement_startup_is_blocked_aborts_request_state ... FAILED

thread 'providers::codex::tests::cancellation_while_replacement_startup_is_blocked_aborts_request_state'
panicked at src/providers/codex/mod.rs:2532:14:
replacement startup did not reach the blocked handshake: Elapsed(())

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 864 filtered out; finished in 2.07s

Expected

The test passes.

Notes

The failure repeated on every run, including at commit 0185409 with no local change.

The assertion is a 2-second timeout, and it was only tested on WSL2. It may pass on a different machine.

PS. just solved it my increasing the timeout.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions