Skip to content

chore(ci): add init job with buildjet cache to integration-sqlite workflow#60746

Closed
miaulalala wants to merge 1 commit into
masterfrom
chore/noid/integration-sqlite-init-cache
Closed

chore(ci): add init job with buildjet cache to integration-sqlite workflow#60746
miaulalala wants to merge 1 commit into
masterfrom
chore/noid/integration-sqlite-init-cache

Conversation

@miaulalala
Copy link
Copy Markdown
Contributor

Summary

  • Adds an init job that runs composer install once and saves the full workspace (including vendor/) to buildjet cache
  • All 21 parallel matrix jobs restore from this cache instead of each doing a full checkout + composer install
  • Falls back to a fresh checkout + install if the cache is missed
  • Summary job cleans up the cache on success and now gates on both init and integration-sqlite

Why

Each of the 21 parallel integration-sqlite jobs previously repeated a full submodule checkout and composer install independently. Sharing a single prepared workspace via buildjet/cache (the same pattern already used in the Cypress workflow) eliminates that redundancy.

Notes

  • The Talk app's own composer i --no-dev step is preserved per-job since it depends on the matrix value and the Talk repo is checked out after cache restore
  • The init job 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

…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>
@miaulalala
Copy link
Copy Markdown
Contributor Author

/backport to stable34

@miaulalala miaulalala self-assigned this May 27, 2026
@miaulalala miaulalala added 3. to review Waiting for reviews dependencies tests Related to tests CI labels May 27, 2026
@miaulalala miaulalala marked this pull request as ready for review May 27, 2026 11:20
@miaulalala miaulalala requested a review from a team as a code owner May 27, 2026 11:20
@miaulalala miaulalala requested review from Altahrim, ArtificialOwl, artonge and icewind1991 and removed request for a team May 27, 2026 11:20
@miaulalala miaulalala closed this May 27, 2026
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.

1 participant