Skip to content

chore(e2e): Replace deprecated buildjet with native github cache#61894

Open
DerDreschner wants to merge 1 commit into
masterfrom
chore/remove-buildjet
Open

chore(e2e): Replace deprecated buildjet with native github cache#61894
DerDreschner wants to merge 1 commit into
masterfrom
chore/remove-buildjet

Conversation

@DerDreschner

@DerDreschner DerDreschner commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Summary

The cypress and playwright workflows use buildjet for caching. This service isn't being maintained anymore for GitHub Actions (see https://buildjet.com/for-github-actions/blog/we-are-shutting-down ). It works for the moment, but having in mind that it's being officially shut down end of March... It's only a matter of time until our e2e tests will fall apart if we keep using it.

Keep in mind that this change was made in the template repository months ago and could have been synced automatically, if the used workflows here wouldn't have diverged quite a bit from the templates. It wouldn't be bad if we could bring those together again or at least have a mechanism to add modifications to workflows during the sync process.

As the scope of GitHub caches are limited to the own branch and their parents (e.g., master), it might make sense to run it on master and stable branches regularly to keep a suitable cached copy for more runs. That would be an equivalent strategy like we do for CodeQL (this workflow file is creating all those codeql-overlay-base-database caches listed here).

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

@DerDreschner DerDreschner requested a review from a team as a code owner July 7, 2026 22:14
@DerDreschner DerDreschner requested review from Altahrim, ArtificialOwl, icewind1991 and salmart-dev and removed request for a team July 7, 2026 22:14
@DerDreschner DerDreschner added 3. to review Waiting for reviews CI labels Jul 7, 2026
@DerDreschner

Copy link
Copy Markdown
Contributor Author

/backport to stable34

@DerDreschner

Copy link
Copy Markdown
Contributor Author

/backport to stable33

@DerDreschner

Copy link
Copy Markdown
Contributor Author

/backport to stable32

@DerDreschner DerDreschner changed the title chore(e2e): Replace deprecate buildjet with native github cache chore(e2e): Replace deprecated buildjet with native github cache Jul 7, 2026
@DerDreschner DerDreschner force-pushed the chore/remove-buildjet branch 9 times, most recently from e35ac18 to fb11efe Compare July 8, 2026 01:54
Signed-off-by: David Dreschner <david.dreschner@nextcloud.com>
@DerDreschner DerDreschner force-pushed the chore/remove-buildjet branch from fb11efe to 9bca81f Compare July 8, 2026 02:07
@DerDreschner DerDreschner enabled auto-merge July 8, 2026 05:26
@nickvergessen

Copy link
Copy Markdown
Member

or at least have a mechanism to add modifications to workflows during the sync process.

That mechanism was build in the last months and tested with Talk and some other apps.
Putting a patch file next to it does the job https://github.com/nextcloud/spreed/blob/main/.github/workflows/sync-workflow-templates.yml.patch

@DerDreschner

Copy link
Copy Markdown
Contributor Author

That mechanism was build in the last months and tested with Talk and some other apps.

Uhh, that's nice!! Thanks for letting me know!

echo ' 1. Extract the folder from the zip file'
echo ' 2. run "npx playwright show-report name-of-my-extracted-playwright-report"'
- name: Delete context on success

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

should be in the summary? so other restarts would still have it?

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants