Skip to content

explainer-video.test.sh ran 322 s in a merge-group run and failed its 300 s ceiling, ejecting an unrelated green PR #16198

Closed

Description

@kyle-sexton

Steps to reproduce

  1. Pull request fix(ci): read the check-contract do-not-merge line and re-pin the composite #16189 changes only .github/scripts/pr-verify/, .github/scripts/pr-unblock/ and one pin in .github/workflows/pr-require-checks.yml. Its pull-request run passed CI Status on 855118bbbab1f151b3cdf89a4c67e0143c42ba33.
  2. It entered the merge queue at 2026-11-14T17:27:36Z.
  3. Merge-group run https://github.com/melodic-software/claude-code-plugins/actions/runs/43621221444 failed in Test Bash (1), step "Run this leg's shell suites".

Expected behavior

A merge-group run of a change that touches no plugin passes the shell suites it passed minutes earlier on the pull request.

Actual behavior

Test Bash (1) logged:

##[error]plugins/explainer-video/scripts/explainer-video.test.sh took 322s, over its 300s per-suite ceiling (scripts/README.md, Per-suite time budget in CI)

The queue removed #16189 at 17:37:45Z, ten minutes after it entered, and it had to be queued again for a second full run.

The same merge-group run warned on eleven other suites over the 120 s threshold, the largest plugins/playwright/skills/demo-video/scripts/demo-video.test.sh at 381 s, so the runners were slow for the whole run. UNVERIFIED which of these is the cause: the suite sits too close to 300 s on a normal runner, or this run's runners were unusually slow. One measurement; the suite's time on the passing pull-request run was not read.

Severity

medium

Severity justification

A time ceiling near a suite's normal duration ejects unrelated pull requests from the merge queue; each ejection costs a queue slot and a full CI re-run.

Suggested fix location

plugins/explainer-video/scripts/explainer-video.test.sh (its duration) or its ceiling row in the per-suite budget (scripts/README.md, "Per-suite time budget in CI")

Environment

GitHub Actions merge-group run 43621221444, 2026-11-14. Related: #16155 (warn when a suite nears its ceiling), which would have shown this before the queue did.

Activity

  1. added
    needs-triage
    on Nov 14, 2026
  2. added theissue type on Nov 14, 2026
  3. github-actions commented on Nov 14, 2026

    @github-actions
    Contributor

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

    I understood this as: in merge-group run 43621221444, explainer-video.test.sh took 322 s against its 300 s per-suite ceiling. That failed Test Bash (1) and ejected unrelated PR #16189 from the queue.

    What is missing: you note the cause is unverified. It is either that the suite sits too close to 300 s on a normal runner, or that this run's runners were slow. The suite's time on the PR run and on recent main runs would settle it, and the fix (a faster suite or a different ceiling row) follows from that.

    Related, not duplicates: #16155 (warn when a suite nears its ceiling) and #14293 (why the merge queue keeps ejecting groups). No merged PR in the recent list appears to fix this.

    Automated triage. A maintainer reviews it.

  4. removed
    needs-triage
    on Nov 14, 2026
  5. melodic-automation-lanes commented on Nov 14, 2026

    @melodic-automation-lanes
    Contributor

    Not admitted to the issue lane yet: 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; intake's refinement of this body is due and may supply them.

  6. melodic-automation-lanes commented on Nov 14, 2026

    @melodic-automation-lanes
    Contributor

    Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.

    Intended outcome: explainer-video.test.sh stops failing its per-suite ceiling on slow merge-group runners, either by a faster suite or by its own ceiling row in suite-budget-exceptions.txt.

    Related work

    Open questions

    1. What is the suite's normal CI duration? Its recorded median is 7 s, yet it ran 322 s here; is that median stale or was this run an outlier from slow runners?
      RECOMMENDED: Read TIME: lines for explainer-video.test.sh from the PR run of #​16189 and several recent main runs before choosing a fix. Basis: .base/scripts/suite-seconds.txt:246
    2. If the normal time is well under 150 s and only this run was slow, should the fix be no change to the ceiling, with the flake handled by a rerun or by #​16155's warning?
      RECOMMENDED: Yes. Under the README rule, a suite with a median under 150 s stays on the 300 s default; the slowness was shared by eleven other suites in that run. Basis: .base/scripts/README.md:84
    3. If the normal time is over 150 s, should it get a 480 s row in suite-budget-exceptions.txt, or should the suite be made faster?
      RECOMMENDED: Add a 480 s row with a reason comment, and update suite-seconds.txt, since that is the documented path for suites over 150 s. Basis: .base/scripts/README.md:86-89
    4. Should the suite be moved or trimmed, given that plan-test-lanes.sh groups it in the mediarender toolchain with media-render.test.sh and may pack it into a leg with other heavy suites?
      RECOMMENDED: No, not in this issue; it is a separate scheduling question. Basis: .base/scripts/plan-test-lanes.sh:402

    Sources read

    • context.json: issue 16198 reports 322 s against the 300 s ceiling, with demo-video at 381 s in the same run
    • scripts/README.md:68-93: default 300 s ceiling and 120 s warn threshold; suites with a median over 150 s get a 480 s exception row
    • scripts/suite-seconds.txt:246: explainer-video.test.sh median is 7 s, measured through 2026-10-28
    • scripts/suite-budget-exceptions.txt:15: only demo-video has an exception row; explainer-video has none
    • scripts/plan-test-lanes.sh:402: explainer-video.test.sh is tagged with the mediarender toolchain

    To answer, post a comment that starts with this line:

    **Decision recorded.** <answer>
    

    Automated refinement by the lanes App. Answer with a comment whose first line is **Decision recorded.**.

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

    No labels
    No labels

    Type

    Fields

    Work status

    needs-owner-decision

    Priority

    medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions