Skip to content

Build: raise the build_wpcom timeout for trunk builds - #51059

Open
retrofox wants to merge 1 commit into
trunkfrom
fix/build-wpcom-timeout
Open

Build: raise the build_wpcom timeout for trunk builds#51059
retrofox wants to merge 1 commit into
trunkfrom
fix/build-wpcom-timeout

Conversation

@retrofox

@retrofox retrofox commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Proposed changes

Raise timeout-minutes on the build_wpcom job in .github/workflows/build.yml from 25 to 40, and refresh the stale comment next to it. Same change and same reason as #51029, which covered build_all but deliberately left the split jobs alone for lack of evidence. The evidence arrived a few hours after it merged.

Every trunk push builds the whole monorepo split into build_wpcom and build_nonwpcom (see the comment in the prepare job). Since #50509 landed, the wpcom half takes more than 25 minutes, so the job is cancelled at its cap on every trunk push: run 30993937046 died at 25m21s, and the follow-up run for the next trunk commit did the same. While that holds, Push wpcom plugins to mirror repos and Push to mirror repos never run and every mirror repo stays frozen at the last pre-#50509 state, which blocks the wpcomsh rolling releases and everything else that deploys from the mirrors.

build_nonwpcom finished in 14m53s on the same run, so its 25-minute value keeps a healthy margin and stays as is.

The mirror pipeline self-heals once this merges: trunk builds cover the full tree, so the first green run pushes all mirrors up to date.

Related product discussion/links

Does this pull request change what data or activity we track or use?

No.

Testing instructions

Nothing to test on a site. Confirm the diff touches only the build_wpcom timeout in .github/workflows/build.yml. The value proves itself on the first trunk push after merge: Build wpcom projects should complete in roughly 26 to 30 minutes and the two mirror-push jobs should run.

@retrofox
retrofox requested a review from a team as a code owner August 5, 2026 10:11
@retrofox retrofox added the [Status] Needs Review This PR is ready for review. label Aug 5, 2026
@retrofox retrofox self-assigned this Aug 5, 2026
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.

  • To test on WoA, go to the Plugins menu on a WoA dev site. Click on the "Upload" button and follow the upgrade flow to be able to upload, install, and activate the Jetpack Beta plugin. Once the plugin is active, go to Jetpack > Jetpack Beta, select your plugin (Jetpack or WordPress.com Site Helper), and enable the fix/build-wpcom-timeout branch.
  • To test on Simple, run the following command on your sandbox:
bin/jetpack-downloader test jetpack fix/build-wpcom-timeout
bin/jetpack-downloader test jetpack-mu-wpcom-plugin fix/build-wpcom-timeout

Interested in more tips and information?

  • In your local development environment, use the jetpack rsync command to sync your changes to a WoA dev blog.
  • Read more about our development workflow here: PCYsg-eg0-p2
  • Figure out when your changes will be shipped to customers here: PCYsg-eg5-p2

@louwie17 louwie17 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.

LGTM 🚀 Already merged a similar update here: #51029, this one was missed, so 👍

@github-actions github-actions Bot added the Actions GitHub actions used to automate some of the work around releases and repository management label Aug 5, 2026
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Thank you for your PR!

When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:

  • ✅ Include a description of your PR changes.
  • ✅ Add a "[Status]" label (In Progress, Needs Review, ...).
  • ✅ Add testing instructions.
  • ✅ Specify whether this PR includes any changes to data or privacy.
  • ✅ Add changelog entries to affected projects

This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖


Follow this PR Review Process:

  1. Ensure all required checks appearing at the bottom of this PR are passing.
  2. Make sure to test your changes on all platforms that it applies to. You're responsible for the quality of the code you ship.
  3. You can use GitHub's Reviewers functionality to request a review.
  4. When it's reviewed and merged, you will be pinged in Slack to deploy the changes to WordPress.com simple once the build is done.

If you have questions about anything, reach out in #jetpack-developers for guidance!

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

Labels

Actions GitHub actions used to automate some of the work around releases and repository management [Status] Needs Review This PR is ready for review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants