Commit 80c4a0e
Fix export-server render 500: stop purging Chrome's wget dependency
The render test (#675) returned HTTP 500 on every diagram. Captured logs
show Puppeteer failing with "Tried to find the browser at the configured
path (/usr/bin/google-chrome-stable), but no executable was found".
google-chrome-stable Depends on wget, so the `apt-get remove -y --purge
git wget` cleanup uninstalls Chrome along with wget, leaving
PUPPETEER_EXECUTABLE_PATH (set in dc57dcc) pointing at a path that no
longer exists. This is why the prior fix was necessary but not sufficient.
Only purge git (a build-time clone tool, not a Chrome dependency); keep
wget. Add a `test -x /usr/bin/google-chrome-stable` build-time guard so a
future regression fails the build immediately rather than at render time.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 6fa7cc2 commit 80c4a0e
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
31 | 36 | | |
32 | 37 | | |
33 | 38 | | |
| |||
0 commit comments