Skip to content

feat: persist certificate verification analytics - #1048

Merged
ayomideadeniran merged 2 commits into
StellarDevHub:mainfrom
Tobiloba0:issue-878-certificate-verification-analytics
Aug 3, 2026
Merged

feat: persist certificate verification analytics#1048
ayomideadeniran merged 2 commits into
StellarDevHub:mainfrom
Tobiloba0:issue-878-certificate-verification-analytics

Conversation

@Tobiloba0

Copy link
Copy Markdown
Contributor

Closes #878

Summary

  • Add persisted certificate verification events for analytics
  • Record verification attempts with only workspace, certificate id, public token id, and timestamp
  • Aggregate total verifications from persisted events instead of returning a hard-coded zero
  • Reuse CertificateAnalytics from CertificateService analytics
  • Document privacy and retention considerations

Testing

  • PASS: npx prisma validate
  • PASS: npx prisma generate
  • PASS: npx jest tests/certificate-analytics.test.ts tests/certificate-analytics.controller.test.ts --runInBand --forceExit
  • PASS: npx prisma migrate diff --from-empty --to-schema prisma\schema.prisma --script

Notes

Full backend build/test currently fail on pre-existing unrelated Redis, storage queue, y-websocket, notification, and env config issues.

@vercel

vercel Bot commented Jul 30, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the Ayomide Adeniran's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Jul 30, 2026

Copy link
Copy Markdown

@Tobiloba0 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

@ayomideadeniran

Copy link
Copy Markdown
Contributor

pr under review

@ayomideadeniran
ayomideadeniran merged commit c1aba99 into StellarDevHub:main Aug 3, 2026
0 of 6 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.

[Backend] Implement persisted certificate verification analytics

2 participants