chore(ci): add init job with buildjet cache to integration-sqlite workflow#60746
Closed
miaulalala wants to merge 1 commit into
Closed
chore(ci): add init job with buildjet cache to integration-sqlite workflow#60746miaulalala wants to merge 1 commit into
miaulalala wants to merge 1 commit into
Conversation
…kflow Run composer install once in a shared init job and distribute the workspace to all 21 parallel matrix jobs via buildjet/cache, avoiding redundant checkout+install on every runner. AI-Assisted-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Anna Larch <anna@nextcloud.com>
Contributor
Author
|
/backport to stable34 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
initjob that runscomposer installonce and saves the full workspace (includingvendor/) to buildjet cachecomposer installinitandintegration-sqliteWhy
Each of the 21 parallel
integration-sqlitejobs previously repeated a full submodule checkout andcomposer installindependently. Sharing a single prepared workspace via buildjet/cache (the same pattern already used in the Cypress workflow) eliminates that redundancy.Notes
composer i --no-devstep is preserved per-job since it depends on the matrix value and the Talk repo is checked out after cache restoreinitjob hardcodes PHP 8.4 to match the matrix; if the matrix PHP version ever changes, the init job must be updated in the same commit🤖 Generated with Claude Code