Skip to content

Conversation

@anomiex
Copy link
Contributor

@anomiex anomiex commented Feb 2, 2026

Closes MONOREP-340

Proposed changes:

We've started to see random failures in the E2E and WP Cloud test runs, which seem to be due to GitHub not being able to fetch the cache entry despite it having just been created.

Their support AI bot insists that actions/cache isn't intended to be used for use between jobs in the same workflow. Seems bogus to me, but regardless we can get better reliability by using artifact upload/download rather than the cache.

Since I'm poking it anyway, let's do some extra cleanup too:

  • For the WP Cloud job, we can do jetpack rsync to a local directory and put that in the artifact instead of shoving the build of everything in there.
  • Looks like the WP Cloud site is on PHP 8.3 now, so bump that version.
  • For the E2E, I think actions/cache had been deduplicating duplicate files, while tar won't by itself. But we can get tar to do it by hard-linking the files.

Other information:

  • Have you written new tests for your changes, if applicable?
  • Have you checked the E2E test CI results, and verified that your changes do not break them?
  • Have you tested your changes on WordPress.com, if applicable (if so, you'll see a generated comment below with a script to run)?

Jetpack product discussion

p1769703130539749-slack-C05Q5HSS013

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

No

Testing instructions:

  • E2E and WP Cloud tests ran in CI, and are happy?

We've started to see random failures in the E2E and WP Cloud test runs,
which seem to be due to GitHub not being able to fetch the cache entry
despite it having just been created.

Their support AI bot insists that actions/cache isn't intended to be
used for use between jobs in the same workflow. Seems bogus to me, but
regardless we can get better reliability by using artifact
upload/download rather than the cache.

Since I'm poking it anyway, let's do some extra cleanup too:
* For the WP Cloud job, we can do `jetpack rsync` to a local directory
  and put that in the artifact instead of shoving the build of
  everything in there.
* Looks like the WP Cloud site is on PHP 8.3 now, so bump that version.
* For the E2E, I think actions/cache had been deduplicating duplicate
  files, while tar won't by itself. But we can get tar to do it by
  hard-linking the files.
@anomiex anomiex requested a review from a team February 2, 2026 21:11
@anomiex anomiex self-assigned this Feb 2, 2026
@anomiex anomiex added [Type] Bug When a feature is broken and / or not performing as intended [Status] Needs Review This PR is ready for review. [Pri] Normal labels Feb 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Pri] Normal [Status] Needs Review This PR is ready for review. [Type] Bug When a feature is broken and / or not performing as intended

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants