• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

cameri / nostream / 45035548750
80%

Build:
DEFAULT BRANCH: main
Ran 22 Nov 2026 03:00PM UTC
Jobs 2
Files 343
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Nov 2026 02:56PM UTC coverage: 79.61% (+0.07%) from 79.545%
45035548750

push

github

web-flow
feat(nip43): publish the kind 13534 membership list (#1199)

## Description
NIP-43 join and leave requests change who may publish, but the relay
never published the kind 13534 membership list that NIP-43 describes,
and `CLI.md` said so. This adds it as an opt-in setting.

With `nip43.publishMembershipList: true` (and `nip43.enabled: true`) the
relay publishes a replaceable kind 13534 event, signed by its own key,
with the NIP-70 `-` tag and one `member` tag per admitted pubkey. It
refreshes the list after each successful join and each successful leave.

- **Opt-in, off by default.** The list makes every member's pubkey
public to anyone who can read the relay, so the default is `false`
(`resources/default-settings.yaml`, `CONFIGURATION.md`, `CLI.md`).
- **Signer.** NIP-43 asks for the list to be signed by the pubkey
advertised as `self`. The relay signs with the key derived from
`SECRET`, as it already does for invite codes, and it refuses to publish
when `info.self` is set and does not match that key, or is not a valid
pubkey (the same guard the invite minting uses). When `info.self` is
unset the derived key is what NIP-11 advertises.
- **When it refreshes.** Only after a join that admitted a user and a
leave that revoked one. A request that is rejected (disabled, stale,
unauthenticated, bad claim code), a join by an existing member and a
leave by a non-member are not changes, so they do not refresh it. A
failure while refreshing is logged and does not fail the join or leave:
the user is admitted or removed either way.
- **Replacing the previous list.** A replaceable event is replaced only
by a later `created_at` (or an equal one with a lower id), so two
refreshes in the same second could keep the older list. `created_at` is
therefore the later of now and the stored list's `created_at` plus one,
read with `findStoredReplaceable`. Refreshes within a process are
queued, so two joins handled together publish in order.
- **Members.** `IUserRepository.find... (continued)

5752 of 7844 branches covered (73.33%)

Branch coverage included in aggregate %.

65 of 65 new or added lines in 6 files covered. (100.0%)

11993 of 14446 relevant lines covered (83.02%)

658.84 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Integration - 45035548750.1 22 Nov 2026 03:00PM UTC 343
35.7
GitHub Action Run
2 Unit - 45035548750.2 22 Nov 2026 03:02PM UTC 343
77.48
GitHub Action Run
Source Files on build 45035548750
  • Tree
  • List 343
  • Changed 6
  • Source Changed 5
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #45035548750
  • e58ddc02 on github
  • Prev Build on main (#45034746266)
  • Next Build on main (#45036280473)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc