Repository navigation
Conversation
added 2 commits
October 12, 2026 09:29
Add FOLLOW_LIST_KINDS (default 3) to select which event kinds define follows, e.g. 3,10020 to include NIP-51 media follow lists. Graph ingestion accepts only kind 3, keeps one event per author, and replaces that author's follows with it, so each author's newest list of every configured kind is merged into one follow set before ingestion. The graph bootstrap signature records the kinds; graphs built before this change are treated as kind-3-only and reused with the default.
…sults relay.nostr.net never finishes a negentropy sync whose filter lists several kinds, so with FOLLOW_LIST_KINDS=3,10020 most graph batches hit the 30s timeout. Sync one kind per filter instead, and return the events already received when a sync is aborted rather than discarding them.
This was referenced Oct 12, 2026
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.
Why
The graph ignores media follows (kind 10020). Ingesting both kinds separately would overwrite an author's normal list and lose relationships.
Change
Add
FOLLOW_LIST_KINDS: default 3, opt in with 3,10020. Merge each author's newest lists into one deduplicated follow set. Sync each kind separately and retain received events on abort; multi-kind sync previously stalled.Verification
Lint/build pass; full suite: 213 pass, 5 skip, 0 fail. Bun 1.3.14/macOS with a temporary test
SERVER_SECRET_KEY. Existing manager and duplicate-DuckDB type errors remain.Operational: Changing the kind set rebuilds the graph before MCP starts, causing temporary downtime. Default behavior stays unchanged. Independent PR; keep the sync correction with the feature, and preserve both scheduler imports when merging validation scheduling.
Related: #15, #16, #17, #18. All branches are independent; combined suite: 221 pass, 5 skip, 0 fail.