Skip to content

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

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

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

Conversation

@desrosj

@desrosj desrosj commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

Part of #82938.

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 build Create Block 20 10
end2end-test.yml admin-1 Admin - 1 45 none
end2end-test.yml admin-2 Admin - 2 45 none
end2end-test.yml admin-3 Admin - 3 45 none
end2end-test.yml admin-4 Admin - 4 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 16, 2026
@desrosj desrosj self-assigned this Oct 16, 2026
@coderabbitai

coderabbitai Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a4fe9bf7-1a9b-4c01-9470-b9c169188ac4

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • 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.

@github-actions

Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: desrosj <desrosj@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@adimoldovan
adimoldovan self-requested a review October 19, 2026 15:08

@adimoldovan adimoldovan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. CI failures are not relevant to the changes of this PR.

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.

2 participants