Skip to content

Limit jobs for fork prs#436

Closed
desrosj wants to merge 38 commits intotrunkfrom
limit-jobs-for-fork-prs
Closed

Limit jobs for fork prs#436
desrosj wants to merge 38 commits intotrunkfrom
limit-jobs-for-fork-prs

Conversation

@desrosj
Copy link
Copy Markdown
Owner

@desrosj desrosj commented Jul 24, 2025

This limits the number of jobs that can run when a pull request is opened within a fork to a maximum of:

  • 29 jobs that run in a minute or less.
  • 6 jobs that take between 1 and 3 minutes.
  • 18 jobs that take longer.

These jobs are spread out across 10 different workflows, and the maximum only occurs when the required run criteria for all 9 workflows is met. When only PHP files are modified, there are 28 jobs across 7 workflows with 14 taking less than 2 minutes and just 12 taking longer.

Trac ticket: Core-63752.


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

@desrosj desrosj self-assigned this Jul 24, 2025
@desrosj desrosj force-pushed the limit-jobs-for-fork-prs branch from 51733db to 3a624d8 Compare July 24, 2025 20:55
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jul 24, 2025

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.

Core Committers: Use this line as a base for the props when committing in SVN:

Props desrosj, sergeybiryukov, joedolson, johnbillion, peterwilsoncc, westonruter, audrasjb.

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

desrosj and others added 26 commits July 25, 2025 12:15
… descriptions.

Reference: [https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#documenting-tips PHP Documentation Standards: Documenting Tips].

Follow-up to [60506], [60507].

See #63692.

git-svn-id: https://develop.svn.wordpress.org/trunk@60513 602fd350-edb4-49c9-b593-d223f7449a82
… descriptions.

Reference: [https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#documenting-tips PHP Documentation Standards: Documenting Tips].

Follow-up to [60508].

See #63692.

git-svn-id: https://develop.svn.wordpress.org/trunk@60514 602fd350-edb4-49c9-b593-d223f7449a82
…tions.

Reference: [https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#documenting-tips PHP Documentation Standards: Documenting Tips].

Props vladimiraus, mukesh27, SergeyBiryukov.
See #63692.

git-svn-id: https://develop.svn.wordpress.org/trunk@60515 602fd350-edb4-49c9-b593-d223f7449a82
…eys.

Change the left and right arrow key navigation used in the Theme and Media modal interfaces so the events don't fire when `shift` or `ctrl` are also pressed.

Includes tests.

Props praful2111, hiteshtalpada, joemcgill, sandeepdahiya, abcd95, joedolson.
Fixes #63126.

git-svn-id: https://develop.svn.wordpress.org/trunk@60516 602fd350-edb4-49c9-b593-d223f7449a82
Switch the display of the Media editor Crop controls to `flexbox` and add a gap of 4px in both column and row directions. Gives space between buttons when they are stacked.

Props presskopp, audrasjb, rishabhwp, joedolson.
Fixes #63672.

git-svn-id: https://develop.svn.wordpress.org/trunk@60517 602fd350-edb4-49c9-b593-d223f7449a82
…lopment environment and CI environment.

Props johnbillion, westonruter.

See #63167, #63564

git-svn-id: https://develop.svn.wordpress.org/trunk@60518 602fd350-edb4-49c9-b593-d223f7449a82
…tions.

Reference: [https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#documenting-tips PHP Documentation Standards: Documenting Tips].

Props vladimiraus, mukesh27, SergeyBiryukov.
See #63692.

git-svn-id: https://develop.svn.wordpress.org/trunk@60519 602fd350-edb4-49c9-b593-d223f7449a82
Replaces `esc_js()` with `wp_json_encode()` for escaping the screen reader announcement when a media upload fails. As the code is within a `<script>` tag rather than an inline script handler, the `esc_js()` function would cause special characters to be announced in their HTML encoded form rather than as the character, eg `&` would be announced as `&amp;`.

Follow up to [60263].

Props peterwilsoncc, joedolson.
Fixes #63114.


git-svn-id: https://develop.svn.wordpress.org/trunk@60520 602fd350-edb4-49c9-b593-d223f7449a82
…ions.

Reference: [https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#documenting-tips PHP Documentation Standards: Documenting Tips].

Props vladimiraus, mukesh27, SergeyBiryukov.
See #63692.

git-svn-id: https://develop.svn.wordpress.org/trunk@60521 602fd350-edb4-49c9-b593-d223f7449a82
…mes.

In a Block Theme, the Custom CSS from the Customizer is inserted into the global styles, before the global style's Custom CSS. In order to update the Customizer's Custom CSS inside of the global styles, milestone CSS comments are added in the preview so that the live preview logic can do the replacement.

Follow-up to [55192], [58703].
See #57536, #61395.

Props westonruter, wildworks, peterwilsoncc, rollybueno, SirLouen, poojapadamad, rafiq91, audrasjb.
Fixes #63589.


git-svn-id: https://develop.svn.wordpress.org/trunk@60522 602fd350-edb4-49c9-b593-d223f7449a82
The release updates some sniffs to account for changes in recent WordPress versions up to 6.8.

References:
* [https://github.com/WordPress/WordPress-Coding-Standards/releases/tag/3.2.0 WPCS 3.2.0 release notes]
* [WordPress/WordPress-Coding-Standards@3.1.0...3.2.0 Full list of changes in WPCS 3.2.0]

Follow-up to [56695], [56799], [57378], [57986].

Props jrf, dingo_d, garyj, rodrigosprimo, westonruter, fredden, szepeviktor, jonmcpartland, davidperez, rockfire, desrosj, swissspidy, mukesh27, SergeyBiryukov.
Fixes #63762.

git-svn-id: https://develop.svn.wordpress.org/trunk@60523 602fd350-edb4-49c9-b593-d223f7449a82
peterwilsoncc and others added 11 commits July 30, 2025 23:01
Moves the caching of RSS feeds requested via `fetch_feed()` from single site transients (`get|set|delete_transient()`) to global transients (`get|set|delete_site_transient()`).

On multisite installs of WordPress, this replaces per site caching with the global multisite cache to allow a single cache to be shared between all sites. This reduces the amount of data stored in the database and improves performance of feeds when multiple sites are ingesting the same URL.

Props rollybueno, spacedmonkey, peterwilsoncc.
Fixes #63719.


git-svn-id: https://develop.svn.wordpress.org/trunk@60524 602fd350-edb4-49c9-b593-d223f7449a82
Props viralsampat , mukesh27.
Fixes #63744.
See #63166.



git-svn-id: https://develop.svn.wordpress.org/trunk@60525 602fd350-edb4-49c9-b593-d223f7449a82
Props mujuonly, sabernhardt, dhruvang21.
Fixes #63196.
See #63166.



git-svn-id: https://develop.svn.wordpress.org/trunk@60526 602fd350-edb4-49c9-b593-d223f7449a82
…ions.

Reference: [https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#documenting-tips PHP Documentation Standards: Documenting Tips].

Props vladimiraus, mukesh27, SergeyBiryukov.
See #63692.

git-svn-id: https://develop.svn.wordpress.org/trunk@60527 602fd350-edb4-49c9-b593-d223f7449a82
This changeset moves the Add Plugins screen general description above the filter menu. It also rephrases a bit the wording of this description.

Props Presskopp, audrasjb, dhruvang21, shailu25.
Fixes #63723.



git-svn-id: https://develop.svn.wordpress.org/trunk@60528 602fd350-edb4-49c9-b593-d223f7449a82
…Visibility setting.

This changeset adds a new Site Health test to make site owners more aware when search engines are discouraged from indexing their sites.
It also increases the visibility of the related Dashboard widget notice.

Changes:
- Adds a new Site Health test under the "Privacy" category to check whether search engines are discouraged
- Displays "recommended" status when search engines are discouraged, with clear messaging to review settings
- Provides a direct link to the Reading Settings page to change this option
- Use a red/alert color to the dashicon used on the Dashboard widget notice

Props jeffr0, newyorkerlaura, joedolson, codente, abcd95, andrewhoyer, SirLouen, johnbillion, mymothersdaughter, audrasjb, Emlebrun, gaeldenysiak, beryldlg, Spaceshipone, coralietixeront, peterwilsoncc.
Fixes #63375.



git-svn-id: https://develop.svn.wordpress.org/trunk@60529 602fd350-edb4-49c9-b593-d223f7449a82
…` docblock.

See #63375.



git-svn-id: https://develop.svn.wordpress.org/trunk@60530 602fd350-edb4-49c9-b593-d223f7449a82
This updates the PHPUnit test strategy matrix to test current Innovation Releases.
- MySQL 9.4 is now the current Innovation Release.
- With the release of the 11.8 LTS version, MariaDB has no current Innovation Releases.

See #63167.

git-svn-id: https://develop.svn.wordpress.org/trunk@60532 602fd350-edb4-49c9-b593-d223f7449a82
…ptions.

Reference: [https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#documenting-tips PHP Documentation Standards: Documenting Tips].

Props vladimiraus, mukesh27, SergeyBiryukov.
See #63692.

git-svn-id: https://develop.svn.wordpress.org/trunk@60533 602fd350-edb4-49c9-b593-d223f7449a82
@desrosj
Copy link
Copy Markdown
Owner Author

desrosj commented Aug 7, 2025

@desrosj desrosj closed this Aug 7, 2025
@desrosj desrosj deleted the limit-jobs-for-fork-prs branch August 7, 2025 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants