Skip to content

ci: drop leftover debug artifact upload from the /e2e build job - #5551

Merged
adrians5j merged 1 commit into
nextfrom
claude/drop-e2e-debug-artifact
Aug 4, 2026
Merged

ci: drop leftover debug artifact upload from the /e2e build job#5551
adrians5j merged 1 commit into
nextfrom
claude/drop-e2e-debug-artifact

Conversation

@adrians5j

@adrians5j adrians5j commented Aug 4, 2026

Copy link
Copy Markdown
Member

What changed

The /e2e build job was uploading .webiny/cached-packages as a raw build-cache artifact — roughly 44k files / 168 MB — on every run. Nothing consumes it.

Verified by enumerating every download-artifact step in the repository: all ten of them reference run-build-cache-<attempt>, the compressed tarball added in #5548. No job anywhere downloads build-cache.

It was introduced by 0fb9074409 ci: debug cache restoration [no ci] in May and never cleaned up, so it has been costing a large upload on every /e2e run since. Removing it should shave a couple of minutes off each run.

After this change the build job has exactly one upload, matching /vitest, /alpha and /beta. The verdaccio-files-* and project-files-* uploads in the project-setup jobs are untouched — those are genuinely consumed by the Cypress jobs.

The equivalent raw uploads in rebuildGlobalCache (build-cache, yarn-cache, packages) are deliberately left alone: those came from a feature commit rather than a debug commit, so someone may be downloading them by hand for inspection.

Also included

assignMilestone.yml is regenerated. It went stale when #5542 landed — the createJob permissions baseline now adds contents: read and actions: write to every job, and that workflow's committed YAML predates it. The extra scopes are harmless there (the job neither checks out nor caches), but without this regeneration the next yarn ci-workflows:build would produce an unrelated diff for whoever runs it.

Changelog

Internal CI cleanup

Removed a leftover debugging step that was uploading a large file on every end-to-end test run. No user-facing change.

Squash Merge Commit

ci: drop leftover debug artifact upload from /e2e build job (#5551)

The `build` job uploaded `.webiny/cached-packages` as a raw `build-cache`
artifact - ~44k files / ~168 MB - on every /e2e run. Nothing downloads it: the
only artifact any job consumes is `run-build-cache-<attempt>`, the compressed
tarball added in #5548.

It came from 0fb9074 ("ci: debug cache restoration [no ci]") back in May and
was never cleaned up.

Note the equivalent raw uploads in rebuildGlobalCache are left alone - those came
from a deliberate feature commit rather than a debug commit, so somebody may be
downloading them by hand.

Also regenerates assignMilestone.yml, which went stale when #5542 landed: the
createJob permissions baseline now adds `contents: read` and `actions: write` to
every job. Harmless for that job (it neither checks out nor caches), but without
this the next `yarn ci-workflows:build` would emit an unrelated diff.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@adrians5j
adrians5j merged commit 45f7968 into next Aug 4, 2026
1 check passed
@adrians5j
adrians5j deleted the claude/drop-e2e-debug-artifact branch August 4, 2026 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant