Skip to content

Make the health endpoint factory and registry aware #260

Description

@Caneryy

Planning

Problem

/api/health checks legacy global NFT/Governor configuration but not the CommunityFactory or registry read path that powers the current product.

Scope

Report separate configuration and read-probe results for RPC, CommunityFactory, registry listing, and optional legacy contracts. Keep the response credential-safe and backward compatible at the top-level healthy field.

Acceptance criteria

  • Missing factory config is distinguishable from RPC and registry-read failures.
  • A healthy response proves that at least the registry interface is readable.
  • Logs and JSON never expose query strings, credentials, or full wallet addresses.
  • Route and scheduled health-check tests cover healthy, degraded, and unhealthy responses.

Verification

npm test && npm run typecheck

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardThird CampaignCampaign: Third CampaignenhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions