chore(release): opt-in real-node E2E gate before publish (#81)#121
Merged
iduartgomez merged 1 commit intomainfrom May 6, 2026
Merged
chore(release): opt-in real-node E2E gate before publish (#81)#121iduartgomez merged 1 commit intomainfrom
iduartgomez merged 1 commit intomainfrom
Conversation
Add a FREENET_RELEASE_E2E=1 hook to scripts/release.sh that runs `cargo make test-e2e-real-node` before the publish phase. Off by default — the target spins up a 2-node iso Freenet network plus a headed Chromium and runs 5–10min, which is heavier than a routine release driver should mandate. CI runs the same target on tag push (e2e-real-node.yml), so the post-tag gate stays in place either way; this just provides a pre-tag dry run for changes that touch contracts / delegates / the permission flow where the iso harness is the only meaningful check.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Wire `cargo make test-e2e-real-node` into `scripts/release.sh` as an opt-in preflight (`FREENET_RELEASE_E2E=1`). Off by default — the iso harness is heavy (5–10min, full Freenet network + headed Chromium) and a routine release shouldn't be gated on it. CI already runs the same target on tag push (e2e-real-node.yml), so the post-tag gate stays unchanged.
Useful before changes that touch contracts, delegates, or the permission flow, where the iso harness is the only meaningful check.
Closes one of the #81 followup checklist items.
Test plan