Skip to content

fix: reclassify MetaRegistryFailure as unexpected error#141

Merged
EnderOfWorlds007 merged 1 commit intomainfrom
fix/meta-registry-error-category
May 7, 2026
Merged

fix: reclassify MetaRegistryFailure as unexpected error#141
EnderOfWorlds007 merged 1 commit intomainfrom
fix/meta-registry-error-category

Conversation

@EnderOfWorlds007
Copy link
Copy Markdown
Collaborator

Summary

  • Renames the error thrown in getRegistryContract when the CDM meta-registry fails to return a live contract address from BadRegistryLookupMetaRegistryFailure
  • Removes it from the isExpectedCliError allowlist so it registers as cli.expected=false in Sentry — this is an infra failure, not a user mistake
  • BadRegistryLookup remains in the allowlist for other registry errors that are legitimate user-facing conditions

Test plan

  • pnpm test — 492 tests passing

Renames the error thrown when the CDM meta-registry fails to return a
live contract address from BadRegistryLookup to MetaRegistryFailure.
This removes it from the isExpectedCliError allowlist so it registers
as cli.expected=false in Sentry — it is an infra failure, not a user
mistake.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

Dev build ready — try this branch:

curl -fsSL https://raw.githubusercontent.com/paritytech/playground-cli/main/install.sh | VERSION=dev/fix/meta-registry-error-category bash

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

E2E Test Pass · ✅ PASS

Tag: e2e-ci-pr · Branch: fix/meta-registry-error-category · Commit: b0a8658 · Run logs

Cell Result Time
pr-init-session ✅ PASS 1m46s
pr-deploy-frontend ✅ PASS 17m49s
${{ matrix.cell }} ⏭️ SKIP -157m-26s
pr-deploy-cdm ✅ PASS 4m09s
pr-install ✅ PASS 0m49s
pr-preflight ✅ PASS 2m46s
${{ matrix.cell }} ⏭️ SKIP -157m-32s
pr-mod ✅ PASS 1m29s
pr-deploy-foundry ✅ PASS 2m35s

Sentry traces: view spans for this run

@EnderOfWorlds007 EnderOfWorlds007 merged commit 9d61642 into main May 7, 2026
29 of 30 checks passed
@EnderOfWorlds007 EnderOfWorlds007 deleted the fix/meta-registry-error-category branch May 7, 2026 10:25
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