The GitHub Actions job "CI" on 
rocketmq-dashboard.git/fix-web-license-manifest-preload has failed.
Run started by GitHub user 123123213weqw (triggered by 123123213weqw).

Head commit for run:
b130fa9d569090dcf427b1ae1689b7d4e4cbd931 / 123123213weqw 
<[email protected]>
fix(web): hash the shipped bytes in the license manifest

vite:build-preload prepends __vite__mapDeps to the entry chunk from its
own generateBundle hook, which runs after the distribution-licenses
plugin's, so the manifest pinned the pre-injection chunk bytes and
differed from the artifacts actually written: npm run build (tsc -b &&
vite build && npm run license:check) has failed on its own license gate
- 'build artifact verification failed: assets/index-*.js' - since the
gate landed in #5007, breaking the Frontend Build and Frontend Docker
Build jobs for every PR.

Re-hash the written artifacts in writeBundle - files are already on disk
by then - and overwrite legal/manifest.json with those hashes. The
in-memory generate() flow (write: false, used by the existing fixture
test) keeps the manifest emitted in generateBundle.

Signed-off-by: 123123213weqw <[email protected]>

Report URL: 
https://github.com/apache/rocketmq-dashboard/actions/runs/37782682139

With regards,
GitHub Actions via GitBox

Reply via email to