Skip to content

fix(release): exclude Playwright artefacts from the app tarball#136

Merged
Jaggob merged 1 commit into
mainfrom
fix/release-tarball-exclude-e2e-artifacts
Jun 9, 2026
Merged

fix(release): exclude Playwright artefacts from the app tarball#136
Jaggob merged 1 commit into
mainfrom
fix/release-tarball-exclude-e2e-artifacts

Conversation

@Jaggob

@Jaggob Jaggob commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

scripts/build-release-tarball.sh rsyncs the working tree with an explicit exclude list (not git archive). The Playwright e2e suite drops playwright-report/, test-results/, blob-report/, and .playwright/ at the repo root — gitignored, but rsync copies them regardless. They leaked into the locally-built v1.1.0-alpha.3 tarball and more than doubled its size (516K vs the expected ~290K).

Added the four artefact dirs to RSYNC_EXCLUDES. Rebuilt locally: 516K → 289K (in line with alpha.1/alpha.2 at 230K/238K), no playwright-report/test-results entries in the archive.

The published v1.1.0-alpha.3 release asset was already replaced with a correctly-built (clean) tarball; this just prevents the regression for future releases.

The e2e run drops `playwright-report/`, `test-results/`, `blob-report/`
and `.playwright/` at the repo root. These are gitignored, but the
tarball builder rsyncs the working tree (not `git archive`), so they
leaked into the v1.1.0-alpha.3 build and more than doubled its size
(516K vs the expected ~290K). Add them to RSYNC_EXCLUDES so a release
built right after running the e2e suite stays clean.
@Jaggob Jaggob merged commit 67b8d78 into main Jun 9, 2026
11 checks passed
@Jaggob Jaggob deleted the fix/release-tarball-exclude-e2e-artifacts branch June 9, 2026 09:30
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