Skip to content

test(e2e): register fixtures with visibility=0 (private)#133

Merged
ottovlotto merged 1 commit intomainfrom
becca/private-fixture-bootstrap
May 6, 2026
Merged

test(e2e): register fixtures with visibility=0 (private)#133
ottovlotto merged 1 commit intomainfrom
becca/private-fixture-bootstrap

Conversation

@ottovlotto
Copy link
Copy Markdown
Collaborator

Summary

  • Pass isPrivate: true to publishToPlayground in tools/register-e2e-fixtures.ts so bootstrapped E2E fixtures land at visibility=0 on the registry contract.
  • Mirrors the test-side --private flag added in test(e2e): tighten fake-passing assertions; add cold-start init smoke #114; without this, re-running the bootstrap tool re-publishes fixtures as PUBLIC and undoes the visibility flip.
  • Doc-string update explaining the rationale for future maintainers.

Why

PR #114 hid new test traffic but called out a residual cleanup: "the existing 9 visible entries need a one-off setVisibility flip." The bootstrap tool itself was the gap — every re-run re-publishes the 5 fixtures (dot-cli-mod-fixture.dot, e2e-cli-foundry/cdm/hardhat/multi) at the default visibility=1. With this patch, a single re-run flips them to private and any future bootstrap keeps them private.

CLI tests that hit these domains use direct getMetadataUri queries (dot mod <domain>, registry-readback assertions) which are unaffected by visibility — so no test changes are needed.

Test plan

  • After merge, run bun tools/register-e2e-fixtures.ts once with the SIGNER seed to flip the existing 5 fixtures to private.
  • Verify with bun tools/list-registry-apps.ts (queries as a non-owner): dot-cli-mod-fixture.dot no longer appears.
  • Sanity-check that the next E2E CI run still passes — dot mod dot-cli-mod-fixture.dot works regardless of visibility.

No changeset required (tools/test-only change, no user-facing CLI behavior change).

Mirrors the --private flag added in #114 to the bootstrap tool. Without
this, re-running register-e2e-fixtures.ts re-publishes fixtures as PUBLIC
and undoes the visibility flip, putting test traffic back into the
playground.dot grid.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 6, 2026

Dev build ready — try this branch:

curl -fsSL https://raw.githubusercontent.com/paritytech/playground-cli/main/install.sh | VERSION=dev/becca/private-fixture-bootstrap bash

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 6, 2026

E2E Test Pass · ✅ PASS

Tag: e2e-ci-pr · Branch: becca/private-fixture-bootstrap · Commit: 4c717f3 · Run logs

Cell Result Time
pr-preflight ✅ PASS 2m39s
pr-deploy-cdm ✅ PASS 3m12s
pr-install ✅ PASS 0m48s
pr-deploy-foundry ✅ PASS 2m16s
pr-init-session ✅ PASS 1m53s
pr-mod ✅ PASS 1m39s
pr-deploy-frontend ✅ PASS 6m57s
${{ matrix.cell }} ⏭️ SKIP 0m00s
${{ matrix.cell }} ⏭️ SKIP 0m00s

Sentry traces: view spans for this run

@ottovlotto ottovlotto merged commit 5915a05 into main May 6, 2026
19 checks passed
@ottovlotto ottovlotto deleted the becca/private-fixture-bootstrap branch May 6, 2026 13:04
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