Skip to content

feat: add IPFS tip content fetching, caching, and REST endpoint - #1167

Open
Jessicaayegh wants to merge 10 commits into
accesslayerorg:mainfrom
Jessicaayegh:feat/ipfs-tip-content-cache
Open

Jessicaayegh wants to merge 10 commits into
accesslayerorg:mainfrom
Jessicaayegh:feat/ipfs-tip-content-cache

Conversation

@Jessicaayegh

Copy link
Copy Markdown
Contributor

Closes #1153

Summary

  • Added IPFS-backed tip content retrieval with permanent database caching, a 5-second timeout, 500-character truncation, and GET /tips/:tip_id/content. Fixed related test failures and updated CI to provision PostgreSQL and Redis

Testing

  • pnpm lint
  • pnpm build
  • pnpm exec prisma generate (schema changed)

Checklist

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

Added IPFS-backed tip content retrieval with permanent database caching, a 5-second timeout, 500-character truncation, and GET /tips/:tip_id/content. Fixed related test failures and updated CI to provision PostgreSQL and Redis.
Closes accesslayerorg#1153
@drips-wave

drips-wave Bot commented Oct 20, 2026

Copy link
Copy Markdown

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

Jessicaayegh and others added 9 commits October 20, 2026 12:28
The JEST_TEST_DB_RESET feature was causing slow TRUNCATE operations
that triggered the circuit breaker and made the database unresponsive.
Removing this feature restores CI stability.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…nt-cache

# Conflicts:
#	src/modules/index.ts
- Re-add setupFilesAfterEnv to jest.config.js to properly run integration setup
- Restore logic in jest.integration.setup.ts to only unmock Prisma for integration tests
- Add missing priceAlert mock in notification service tests
- Fix rate limit threshold test expectations (both 80% and 100% fire when crossing 100%)
- Minor grammar fix in ACL error message

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Resolved conflicts in tips module by accepting upstream/main implementation,
which includes the complete tip history endpoints with Redis caching.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
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 tip IPFS content fetch and cache service

1 participant