Skip to content

Six unit tests fail only under a full local test run (wall-clock limits) #1396

Open

Description

@JacobStephens2

This was generated by AI during triage.

Six unit tests fail in a full local cargo test --bin thirdshift run on a Mac and pass when each runs alone. CI on main passes.

  • github::execution_tests::cancellation_during_a_ci_check_read_starts_no_further_request
  • github::execution_tests::interruption_during_read_backoff_starts_no_further_request
  • github::execution_tests::parent_only_interruption_stops_active_github ("GitHub waited for natural expiry")
  • evals::experiment::execution::tests::ended_trial_sessions_drop_caches_and_keep_native_records_for_every_outcome
  • evals::experiment::execution::tests::trial_installs_its_historical_rust_pin_before_the_session
  • session::private::tests::auxiliary_keeps_its_pinned_trial_invocation_caps_deadline_and_artifacts (NotFound unwrapping a file the fake Harness should have written)

Several assert wall-clock limits, such as started.elapsed() < Duration::from_secs(2), which a loaded machine running ~1,500 tests in parallel can miss. Seen in two full runs of scripts/affected-tests main on 2026-10-26, on branch ui (which touches none of these modules); each passed when run alone right after.

Not yet decided: loosen the limits, serialize these tests, or remove their dependence on real time. Needs a third full run to confirm they fail every time rather than sometimes, and a look at whether the NotFound case is timing or ordering.

Activity

  1. added
    bug
    needs-triage
    on Oct 26, 2026
  2. added
    ready-for-human
    and removed
    needs-triage
    on Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugready-for-human

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions