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

cameri / nostream / 41530042526
78%

Build:
DEFAULT BRANCH: main
Ran 02 Nov 2026 09:41PM UTC
Jobs 2
Files 322
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

02 Nov 2026 09:37PM UTC coverage: 77.655% (+0.07%) from 77.582%
41530042526

push

github

web-flow
feat(peering): treat authenticated peers as feeds  (#1034)

<!--- Provide a general summary of your changes in the Title above -->

## Description
<!--- Describe your changes in detail -->
This PR :- 
- Adds \`limits.peer\` with separate subscription caps and message rate
limits for authenticated peering peers.
- Peer REQ, COUNT and NIP-77 filter handling use peer caps instead of
client caps; a full-feed subscription no longer trips
\`max_subscriptions\` or the client EWMA message bucket.
- \`limits.peer.subscription.maxLimit\` defaults to 0 (no cap), so a
peer can request a full feed.
- Peer messages are counted in a separate rate-limit bucket; defaults
remain high but finite.
- Only a verified AUTH from an enabled \`peering.peers\` pubkey selects
peer limits. Unauthenticated and unconfigured connections keep the
existing client limits exactly as before.
- Documents and validates the new limits.

## Related Issue
<!--- This project only accepts pull requests related to open issues -->
<!--- If suggesting a new feature or change, please discuss it in an
issue first -->
<!--- If fixing a bug, there should be an issue describing it with steps
to reproduce -->
<!--- Please link to the issue here: -->
Closes :- #934
## Motivation and Context
<!--- Why is this change required? What problem does it solve? -->

## How Has This Been Tested?
<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran
to -->
<!--- see how your change affects other areas of the code, etc. -->

## Screenshots (if appropriate):

## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all
the boxes that apply: -->
- [ ] Non-functional change (docs, style, minor refactor)
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to cha... (continued)

4531 of 6374 branches covered (71.09%)

Branch coverage included in aggregate %.

57 of 57 new or added lines in 8 files covered. (100.0%)

1 existing line in 1 file now uncovered.

9832 of 12122 relevant lines covered (81.11%)

758.28 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
97.3
-2.7% src/handlers/count-message-handler.ts
Jobs
ID Job ID Ran Files Coverage
1 Unit - 41530042526.1 02 Nov 2026 09:43PM UTC 322
75.11
GitHub Action Run
2 Integration - 41530042526.2 02 Nov 2026 09:41PM UTC 322
33.14
GitHub Action Run
Source Files on build 41530042526
  • Tree
  • List 322
  • Changed 9
  • Source Changed 8
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #41530042526
  • bc6d2bbb on github
  • Prev Build on main (#41447964955)
  • Next Build on main (#41695445305)
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