Files
mattgodbolt-molty 401e219a2c Validate branding assets via the webpack manifest in production
The gh-8755 branding validation checked staticPath on disk, but AWS
deploys ship the static assets in a separate CDN bundle (build-dist.sh
makes two tarballs); production nodes have no local static dir at all,
so any env with extraBodyClass set (staging, beta, win*) died at startup
with "Missing branding assets" — which is why #8755 was reverted.

The webpack manifest does ship with the node app and lists every asset
copied from public/ into the static bundle, so validate against its keys
in production instead. Dev mode keeps the on-disk check against public/.
A missing manifest skips validation, matching the existing warn-and-
fall-back behaviour for the static middleware.

Verified against a production webpack build: all six env asset pairs
appear as plain-name manifest keys, and the built server boots in the
deploy layout (staticUrl set, no local static dir, extraBodyClass=
staging) while a mistyped class still fails startup.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-20 15:27:21 -05:00
..
2026-07-14 08:46:10 +01:00
2021-10-05 01:45:05 +02:00
2019-08-21 01:26:16 +02:00
2025-01-29 10:41:03 -06:00
2021-09-13 20:22:27 +02:00
2024-10-27 15:28:38 +02:00
2024-10-26 17:42:22 +02:00
2024-03-08 22:25:09 -06:00
2024-03-08 22:25:09 -06:00
2024-03-08 22:25:09 -06:00
2026-02-08 12:50:20 +01:00
2024-03-08 22:25:09 -06:00
2024-03-08 22:25:09 -06:00
2025-07-28 10:34:46 -05:00