Repository navigation
Pin and record developer distribution 0.5.0 (#303) - #332
Conversation
DeveloperReleaseData.hpp now pins the 0.5.0 environment (project manifest, wf restore, wf run/exec, wf check and the complete terminal), built reproducibly from these sources; the bootstrap bundles are unchanged. The developer-v0.5.0 tag on this commit publishes it.
…smoke test after its public checks [#303] developer-v0.5.0 is deployed: Pages serves byte-identical archives with CORS *. The --public mode of the developer test now reports success after the checks it can run against the public distribution (Pages, npm, previews, providers): the later sections need the application's local registry, which that mode does not configure.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 14 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
🔵 Needs a closer look
Correctness hinges on the externally published 0.5.0 archive matching the pinned SHA‑512 and the default bootstrap now pointing at it, which is only verifiable via network/CI (pin-check.mjs) and warrants human release sign-off.
No open issues 🎉
What changed in this PR
This PR performs the release-pin step for the WebFront developer distribution 0.5.0 (Epic #303), following js/developer/tools/PUBLISHING.md. It moves DeveloperReleaseData.hpp from the previously-published 0.4.1 to the now-published-and-verified 0.5.0, so the default developer bootstrap points at developer/0.5.0/environment.tgz. It also adjusts the browser smoke test so the --public mode (which runs against the deployed Pages distribution with no local npm registry) stops after the checks it can actually perform, and refreshes the related documentation.
I verified internal consistency: the new integrity is a valid 64‑byte SHA‑512 and the header exactly matches the site.mjs bootstrapHeader format enforced by pin-check.mjs; the updated bundles.json SHA‑256 matches the actual DeveloperReleaseData.hpp content (guarded by check.mjs); and the documented URL matches the pin (enforced by CheckNewcomerDocs.cmake). The publicMode gate (argc == 4) aligns with the registryExplicit gate used in the spec to raise PublicSmokeDone. I found no code defects.
Changes:
- Pin the developer distribution to 0.5.0 (version, environment URL, SHA‑512 integrity) and refresh the
bundles.jsonchecksum of the regenerated header. - End the
--publicreal-browser smoke test after the deterministic-header checks (skipping restore/scripts/type-check/terminal that need the local registry), reporting success via a dedicatedPublicSmokeDonesentinel. - Update CHANGELOG, PROJECT_STATUS and DEVELOPER_ENVIRONMENT docs to state 0.5.0 is pinned/published.
| File | Description |
|---|---|
| include/webfront/system/DeveloperReleaseData.hpp | Bumps pinned version, environment URL and SHA‑512 integrity to 0.5.0 |
| js/developer/environment/bundles.json | Updates the SHA‑256 of the regenerated pinned header (guarded by check.mjs) |
| test/web/DeveloperTest.cpp | Adds publicMode (argc == 4) to skip the drain check that needs the local registry |
| test/web/developer-specs.mjs | Adds PublicSmokeDone sentinel to end --public runs after deterministic headers and report success |
| docs/CHANGELOG.md | Records that DeveloperReleaseData.hpp now pins published 0.5.0 |
| docs/PROJECT_STATUS.md | States 0.5.0 is pinned/published and notes the live --public verification |
| docs/DEVELOPER_ENVIRONMENT.md | Updates default environment URL/version text to 0.5.0 |
Review effort: Balanced
Epic #303. Release branch of developer distribution 0.5.0, per
js/developer/tools/PUBLISHING.md.Release
DeveloperReleaseData.hpppinshttps://ambroise-leclerc.github.io/WebFront/developer/0.5.0/environment.tgz(sha512-TV6S61kU…), built reproducibly (two builds compared byte for byte); the bootstrap bundles are unchanged.developer-v0.5.0on the pin commit: the Developer packages workflow published Pages and the GitHub prerelease (environment, PI and Life starters,provision.json, header).Verification of the deployed files
Access-Control-Allow-Origin: *;environment.tgz, both starters andprovision.jsonbyte-identical to the local build; the archive's SHA-512 matches the pin.developer_integration --public(CEF, Linux): downloads the pinned environment and starters from Pages, React from npm, runs esbuild/WASM, the PI and Life previews and generates both providers.web-integration14/14 (CEF); CEF-off CTest 255/255; Node suite 68/68.Test change
The
--publicmode now ends after the checks it can run against the public distribution: the later sections (restore, scripts, type check, terminal) need the application's local registry, which that mode does not configure. They stay covered offline.Docs record the publication (DEVELOPER_ENVIRONMENT, PROJECT_STATUS, CHANGELOG). Merging makes the default bootstrap point to 0.5.0.