Skip to content

feat: invalidate metadata cache after avatar and header uploads#35

Open
bigint wants to merge 2 commits into
mainfrom
webhook-cache-invalidation
Open

feat: invalidate metadata cache after avatar and header uploads#35
bigint wants to merge 2 commits into
mainfrom
webhook-cache-invalidation

Conversation

@bigint

@bigint bigint commented Jul 2, 2026

Copy link
Copy Markdown
Member

Summary

  • Add metadata webhook support for avatar and header uploads on supported networks.
  • Queue cache invalidation asynchronously with waitUntil so upload responses stay fast.
  • Introduce webhook signing, environment typings, and config for the new metadata endpoint.
  • Cover the webhook helper and route integration with unit and integration tests.

Testing

  • Added unit tests for webhook payloads, signatures, supported networks, missing config, and failure handling.
  • Added integration tests for successful uploads, unsupported networks, webhook errors, and upload failures.
  • Not run (not requested)

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