Skip to content

fix(api): harden is_listed filtering and cleanup#141

Merged
onmax merged 2 commits intomainfrom
fix/is-listed-hard-cleanup
Mar 2, 2026
Merged

fix(api): harden is_listed filtering and cleanup#141
onmax merged 2 commits intomainfrom
fix/is-listed-hard-cleanup

Conversation

@onmax
Copy link
Member

@onmax onmax commented Mar 2, 2026

Summary

  • make is_listed the canonical source for only-known filtering
  • stop destructive unlisting (keep metadata, set is_listed=false only)
  • remove runtime fallback logic for missing is_listed
  • keep isListed internal (not returned in API payloads)
  • add focused unit tests for listing behavior and payload stripping

Validation

  • pnpm test -- server/utils/validator-listing.test.ts server/utils/validator-public.test.ts
  • pnpm typecheck
  • pnpm lint

@onmax onmax temporarily deployed to preview-testnet March 2, 2026 11:59 — with GitHub Actions Inactive
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Mar 2, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
validators-api-main 64d346d Commit Preview URL

Branch Preview URL
Mar 02 2026, 01:52 PM

@onmax onmax temporarily deployed to preview-testnet March 2, 2026 13:49 — with GitHub Actions Inactive
@onmax onmax merged commit 886d078 into main Mar 2, 2026
3 checks passed
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