Skip to content

bunker: keep the profile a relay sends right before EOSE - #260

Merged
naliyi merged 5 commits into
mainfrom
fix/bunker-profile-eose
Nov 10, 2026
Merged

naliyi merged 5 commits into
mainfrom
fix/bunker-profile-eose

Conversation

@naliyi

@naliyi naliyi commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Closes #259

Summary

  • The bunker no longer misses its identity's kind 0 (name, NIP-05) when a relay answers with the event and EOSE together.
  • Fixes the CI flake TestDaemon_FetchProfile.

Test plan

  • New unit test with the event and EOSE both ready at once; it fails with the old done case
  • go test -race ./cli/bunker/

Stacked on #258 (shared rc.54 changelog heading): merge #258 first.

wingha added 5 commits November 10, 2026 22:02
The zap ranking cache refreshes in the background, so its totals can change
with no new commit; the stats publisher now also rebuilds when they differ
from the last ones it published.
nmilat closes events and done together on EOSE; selecting on done could
return before the kind 0 still buffered in events was read.
@naliyi
naliyi marked this pull request as ready for review November 10, 2026 22:19
@naliyi naliyi mentioned this pull request Nov 10, 2026
2 tasks done
@naliyi
naliyi merged commit abdabf7 into main Nov 10, 2026
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.

bunker: profile lookup can drop the relay's kind 0 when EOSE follows at once

1 participant