feat: Add mobile-friendly /inbox/{id} endpoint with 2-phase ack#3
Open
SeverinAlexB wants to merge 40 commits intomainfrom
Open
feat: Add mobile-friendly /inbox/{id} endpoint with 2-phase ack#3SeverinAlexB wants to merge 40 commits intomainfrom
/inbox/{id} endpoint with 2-phase ack#3SeverinAlexB wants to merge 40 commits intomainfrom
Conversation
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces #1
The current main branch is a copy of the pubky-core http-relay which was used for testing before. The goal is to extract this library to clean up the core repo.
This branch tries to solve #2 with a new inbox model + caching of the values for 5min. It also adds features to make the code more mature for a production environment.
Also adds a demo that is auto deployed on a merge on master and is available here: https://pubky.github.io/http-relay/
Summary
/inbox/{id}endpoint with response caching and shorter timeout to support mobile clients that may be backgrounded or killed during requestssrc/http_relay/Code Quality
This repo is fully vibe coded. I double checked the important areas but let me know if you want me to unslop things.