Skip to content

feat: index key deprecation events and expose deprecation status endp… - #993

Open
sarah-obasi-analytics wants to merge 1 commit into
accesslayerorg:mainfrom
sarah-obasi-analytics:Add-key-deprecation
Open

sarah-obasi-analytics wants to merge 1 commit into
accesslayerorg:mainfrom
sarah-obasi-analytics:Add-key-deprecation

Conversation

@sarah-obasi-analytics

Copy link
Copy Markdown

…oint

Add GET /keys/:keyId/deprecation returning status, reason, deprecatedAt, and an embedded successor key summary. Add a KEY_DEPRECATED contract event indexer that idempotently applies deprecation to CreatorProfile and notifies current holders (dedup'd per event via Redis). Flag deprecated keys in the creator list and key search endpoints, and surface reason/successor in the existing notification feed.

Summary

closes #967

Testing

  • pnpm lint
  • pnpm build
  • pnpm exec prisma generate when schema or generated types changed

Checklist

  • Linked issue or backlog item
  • No secrets or live credentials added
  • Docs updated if setup or env changed
  • Change is scoped to one problem

…oint

Add GET /keys/:keyId/deprecation returning status, reason, deprecatedAt,
and an embedded successor key summary. Add a KEY_DEPRECATED contract
event indexer that idempotently applies deprecation to CreatorProfile
and notifies current holders (dedup'd per event via Redis). Flag
deprecated keys in the creator list and key search endpoints, and
surface reason/successor in the existing notification feed.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@drips-wave

drips-wave Bot commented Sep 28, 2026

Copy link
Copy Markdown

@sarah-obasi-analytics Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

Add key deprecation event indexing and successor key resolution API

2 participants