Skip to content

test(pr-unblock): apply-ci-fix.test.mjs times out at 10 s now and then #8338

Closed

Description

@kyle-sexton

Refs: #8313

Summary

.github/scripts/pr-unblock/apply-ci-fix.test.mjs, added by #8313, sometimes hits its 10-second timeout. Run alone three times, it failed once (seen while verifying #8281 at 071609b). A flaky test turns lane PRs red with no real failure.

Fix

Find the slow step (likely a real git subprocess per path case) and make the test deterministic: stub it, or raise the timeout for that case only if the work is real.

Verification

The suite passes 20 runs in a row.

🤖 Generated with Claude Code

Activity

  1. added
    needs-triage
    on Oct 19, 2026
  2. github-actions commented on Oct 19, 2026

    @github-actions
    Contributor

    Proposed work class: work-class: scoped
    Basis: automated intake triage; the lanes App applied this class.

    Size: Small
    Complexity: Medium
    Uncertainty: Knowable
    Flags: none
    Blocked by: none

    Understood: apply-ci-fix.test.mjs (added in #8313) intermittently exceeds its 10 s timeout, which can turn lane PRs red without a real failure. The proposed fix is to find the slow step, likely a real git subprocess per case. Then either stub it or raise the timeout for that case only. The scope is clear. The "20 passes in a row" check needs repeated runs, so a maintainer may need to confirm it separately. I found no likely duplicates among the open issues.

    Automated triage, applied by the lanes App.

  3. added and removed
    needs-triage
    on Oct 19, 2026
  4. github-actions commented on Oct 26, 2026

    @github-actions
    Contributor

    The triage sweep dispatched intake triage for this issue (attempt 1 of 2).

  5. added
    status: ready
    needs-owner-decision
    on Oct 26, 2026
  6. melodic-automation-lanes commented on Oct 26, 2026

    @melodic-automation-lanes
    Contributor

    Not admitted to the issue lane: no trusted-human acceptance criteria: a listed human must put the confirmed - [ ] criteria in the body or post them as their own comment, or, on an issue a listed human filed, intake's newest refinement comment must hold them unedited. Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).

  7. removed
    status: ready
    on Oct 26, 2026
  8. melodic-automation-lanes commented on Oct 26, 2026

    @melodic-automation-lanes
    Contributor

    The latest triage verdict holds nothing: admission moved the issue to status: needs-decision; its comment says why.

  9. kyle-sexton commented on Oct 26, 2026

    @kyle-sexton
    MemberAuthor

    Closing as done: the flaky test no longer exists. #8902 (7498e7f) deleted apply-ci-fix.test.mjs together with apply-ci-fix.mjs; no apply-ci-fix file remains on origin/main.

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

    needs-owner-decision

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions