-
Notifications
You must be signed in to change notification settings - Fork 7
feat: add user-hs-resolver task
#765
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ok300
merged 34 commits into
pubky:feat/dx-events-by-user
from
ok300:ok300-user-hs-resolver
Apr 3, 2026
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
91098c1
feat: initial version of user-hs-resolver task
ok300 0eb9f17
Remove orphan HS cleanup
Copilot bb640d7
Introduce `UserHsFailures::get_all`, remove `get`, use in
Copilot 960cb90
Simplify logging
ok300 6705bc9
Rename user_failures variable
ok300 1d9a048
Rename `get_all_from_graph` to `get_all_active_from_graph`, exclude o…
Copilot 9e35b56
Add loop comment
ok300 de11d89
Merge branch 'feat/dx-events-by-user' into ok300-user-hs-resolver
ok300 be1c20f
Simplify get_all_homeservers query to return rows instead of collecte…
Copilot a5a76aa
chore: rename get_all_homeservers query
ok300 777d59c
feat: reduce homeserver resolution frequency with TTL-based filtering…
ok300 909e95b
Extract `hs_resolver_sleep` into `WatcherConfig` (#97)
Copilot 76ec5c4
Exclude orphan homeservers from get_all_from_graph, remove Homeserver…
Copilot 6d4d640
Remove unused method
ok300 551a028
Merge remote-tracking branch 'origin/feat/dx-events-by-user' into ok3…
ok300 ea0d583
Clarify set_user_homeserver query
ok300 9f956fb
Avoid extra clone() in sort_by_failures
ok300 46a164e
Mark UserHsFailures::get as only used in tests
ok300 cf493d8
Remove UserHsFailures and associated Redis Sorted Set (#100)
Copilot 118a704
Add Redis-backed circuit breaker for homeserver health tracking (#102)
ok300 e7d51e5
Simplify user_hs_resolver.rs
ok300 9f28dcf
Add default fn for WatcherConfig::hs_resolver_sleep
ok300 aab729d
Clarify rustdoc of set_user_homeserver query
ok300 f1c3941
Simplify, clarify rustdocs
ok300 2fa8e2e
Merge two almost identical active_homeservers.rs tests
ok300 84c6f4e
Simplify active / orphan tests in active_homeservers.rs
ok300 43a35ec
Remove circuit breaker logic and tests (#105)
ok300 cb6a8d1
Merge branch 'feat/dx-events-by-user' into ok300-user-hs-resolver
ok300 4ef6aec
fix: exclude deleted users from homeserver Neo4j queries
Copilot 6cbcf63
Merge remote-tracking branch 'origin/feat/dx-events-by-user' into
ok300 c01365d
chore: remove TODO
ok300 45db64a
doc: clarify ttl
ok300 8ae8f93
Add TODO for HS naming
ok300 0fdf196
Remove TODO for HS naming
ok300 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.