Skip to content

Repair wp/5.7 branch Actions: Add timeouts to CI jobs that have none - #84763

Draft
desrosj wants to merge 1 commit into
fix-actions-5.7/remove-rn-workflowsfrom
fix-actions-5.7/add-job-timeouts
Draft

desrosj wants to merge 1 commit into
fix-actions-5.7/remove-rn-workflowsfrom
fix-actions-5.7/add-job-timeouts

Conversation

@desrosj

@desrosj desrosj commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

Part of #82936.

What?

Adds timeout-minutes to the CI jobs on this branch that don't have one:

File Job Check Minutes Trunk
bundle-size.yml build Compressed Size Check 30 15
create-block.yml checks Create Block 20 10
end2end-test.yml admin Admin e2e 45 none
static-checks.yml check Static Analysis All 30 30
unit-test.yml unit-php PHP 20 20

One more job gets a timeout further up the stack, in the PR that adds it:

Why?

Without timeout-minutes, a stuck job runs until GitHub's 360-minute default. On 2026-10-07, Playwright shards on wp/7.1–wp/6.2 hung for 2.3–3 hours in playwright install --with-deps while an Ubuntu apt mirror was degraded. Trunk added job timeouts for this in 27f57c9 (#80801).

This branch doesn't run --with-deps, so here the timeouts guard against hangs in general.

How?

Uses trunk's values from #80801 and 9ee17a7 (#46510) where this branch's job durations fit under them, and raises them where they don't, because on these branches every job builds and installs on its own without trunk's shared build and apt cache:

Each timeout-minutes goes next to the job's runs-on. There is no step-level timeout on dependency installs: successful installs have taken up to 21 minutes.

Use of AI Tools

This PR was created by Claude Code under my supervision. All code should be treated as AI-produced and not yet reviewed by a human until this PR is marked Ready for Review.

🤖 Generated with Claude Code

@desrosj desrosj added the [Type] Build Tooling Issues or PRs related to build tooling label Oct 15, 2026
@desrosj desrosj self-assigned this Oct 15, 2026
@coderabbitai

coderabbitai Bot commented Oct 15, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Build Tooling Issues or PRs related to build tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant