Skip to content

Repair wp/5.7 branch Actions: Set explicit retention periods for workflow artifacts - #725

Closed
desrosj wants to merge 1 commit into
fix-actions-5.7/fix-templates-controller-null-templatefrom
fix-actions-5.7/set-artifact-retention-days
Closed

desrosj wants to merge 1 commit into
fix-actions-5.7/fix-templates-controller-null-templatefrom
fix-actions-5.7/set-artifact-retention-days

Conversation

@desrosj

@desrosj desrosj commented Oct 15, 2026

Copy link
Copy Markdown
Owner

What?

Sets retention-days on this branch's workflow artifacts that currently fall back to GitHub's 90-day default:

File Artifact Retention
end2end-test.yml E2E failure artifacts (screenshots, HTML snapshots) 14 days

Why?

Failure artifacts are only read while debugging a failed run, which doesn't take anywhere near 90 days.

Trunk set explicit retention periods for its large artifacts in WordPress@b48f801 (WordPress#84525), matching what WordPress/wordpress-develop#13527 did for core.

How?

  • Trunk no longer uploads E2E failure artifacts (its Playwright jobs upload blob reports instead), so they get the 14 days trunk uses for the performance workflow's failure artifacts.
  • This branch doesn't upload any of the artifacts trunk changed: plugin ZIPs, performance traces, performance source maps, performance failure artifacts, Playwright HTML report or unit test build-assets.
  • Each retention-days goes at the end of the upload step's with: block. Nothing else changes.

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 self-assigned this Oct 15, 2026
@desrosj
desrosj added this pull request to stack #719 October 15, 2026 01:50
@desrosj
desrosj marked this pull request as ready for review October 15, 2026 02:37
@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.

@desrosj

desrosj commented Oct 15, 2026

Copy link
Copy Markdown
Owner Author

Moved to WordPress#84796.

@desrosj desrosj closed this Oct 15, 2026
@desrosj
desrosj deleted the fix-actions-5.7/set-artifact-retention-days branch October 29, 2026 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant