Skip to content

Add Playwright webkit system dependencies#7

Merged
krlvi merged 1 commit intogitbutlerapp:masterfrom
mtsgrd:playwright-webkit-deps
Apr 17, 2026
Merged

Add Playwright webkit system dependencies#7
krlvi merged 1 commit intogitbutlerapp:masterfrom
mtsgrd:playwright-webkit-deps

Conversation

@mtsgrd
Copy link
Copy Markdown
Contributor

@mtsgrd mtsgrd commented Apr 16, 2026

Summary

  • Add Playwright webkit system deps (libgtk-4-1, libevent-2.1-7, gstreamer1.0-plugins-bad, libflite1, libavif13, libx264-163) to the base apt layer.
  • Add blackbox e2e packages (webkit2gtk-driver, ffmpeg, xvfb) — resolves the TODO at test-e2e-blackbox.yml:39.

Why

Enabling webkit as a Playwright project in gitbutlerapp/gitbutler surfaced missing shared libs (libgtk-4.so.1, libevent-2.1.so.7, libgstcodecparsers-1.0.so.0, libflite*, libavif.so.13, libx264.so). The blackbox e2e workflow has been apt update && apt install-ing webkit2gtk-driver ffmpeg xvfb at runtime on every run — with a TODO to move them into the image.

Test plan

  • PR CI builds the image successfully.
  • After merge, bump the ci-base-image digest in gitbutlerapp/gitbutler and confirm both e2e workflows pass without runtime apt-get install.

🤖 Generated with Claude Code

@mtsgrd mtsgrd force-pushed the playwright-webkit-deps branch 2 times, most recently from f9932f0 to 5412cf8 Compare April 17, 2026 09:12
Add apt packages so downstream workflows don't need runtime apt-get:
- Playwright webkit deps: libgtk-4-1, libevent-2.1-7,
  gstreamer1.0-plugins-bad, libflite1, libavif13, libx264-163
- Blackbox e2e deps: webkit2gtk-driver, ffmpeg, xvfb
  (resolves TODO in test-e2e-blackbox.yml:39)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@mtsgrd mtsgrd force-pushed the playwright-webkit-deps branch from 5412cf8 to 5b36a6e Compare April 17, 2026 09:17
@krlvi krlvi merged commit 299e5e2 into gitbutlerapp:master Apr 17, 2026
2 checks passed
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.

2 participants