tests: the served dashboard bytes get hashed from outside

dashboard_page.h is the Node build of dashboard/, committed because the
engine's build has no Node. The ctest dashboard_page compares dashboard/'s
sources against the digest recorded INSIDE that header -- which proves the
sources and the header's own claim agree, nothing more. Rewrite the header
and its embedded digest together and the check passes while the engine
serves a page nobody built from these sources.

artifact_sums.sh hashes the artifact itself from outside, the mechanical
half vendor/SHA256SUMS is to vendor/UPSTREAM: tests/ARTIFACTS names every
committed built artifact and its hash, and a lone tamper of a served byte
now fails. A rebuild re-records the manifest in the same commit. The
residual gap -- a single commit rewriting an artifact AND the manifest --
is exactly the vendor-tree gap, and documented as such.
This commit is contained in:
fl0l0u committed 2026-11-15 20:38:10 +00:00
1 parent 70be48c6fa
commit 4c9a79ca98
4 files changed
+39

No files matched your search

+1
View File
@@ -0,0 +1 @@
599548556d97ca6ce7b8bc295853f76b4d7408cb2d44105920021176cc027aab core/server/dashboard_page.h