Skip to content

chore(release): opt-in real-node E2E gate before publish (#81)#121

Merged
iduartgomez merged 1 commit intomainfrom
chore/release-e2e-gate-81
May 6, 2026
Merged

chore(release): opt-in real-node E2E gate before publish (#81)#121
iduartgomez merged 1 commit intomainfrom
chore/release-e2e-gate-81

Conversation

@iduartgomez
Copy link
Copy Markdown
Contributor

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

  • bash -n scripts/release.sh (syntax)
  • Manual: `FREENET_RELEASE_E2E=1 scripts/release.sh` runs the e2e step
  • Manual: default invocation skips the e2e step

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.
@iduartgomez iduartgomez merged commit 95a2767 into main May 6, 2026
3 checks passed
@iduartgomez iduartgomez deleted the chore/release-e2e-gate-81 branch May 6, 2026 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant