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

cameri / nostream / 45438757963
80%

Build:
DEFAULT BRANCH: main
Ran 24 Nov 2026 04:39PM UTC
Jobs 2
Files 351
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

24 Nov 2026 04:34PM UTC coverage: 79.927% (+0.1%) from 79.812%
45438757963

push

github

web-flow
feat(peering): add owner-attested peering requests (#1233)

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

## Description
<!--- Describe your changes in detail -->
This PR adds owner-attested peering establishment on top of the existing
configured peer trust.

- Owner-signed, ephemeral peering request (kind 28937) carrying relay
pubkey, URL, scopes, terms snapshot/hash, and NIP-13 proof-of-work.
- Relay-signed acceptance (kind 28938) returned over the authenticated
socket.
- Attestation storage with material-change invalidation when terms or
scopes change.
- `peering.ownerAttestation`: waived / preferred / required.
- Optional per-peer `ownerPubkey` pin.
- `nostream peering request <relay-url>` CLI.
- Docs, changeset, unit and integration coverage.

Operational traffic never requires the owner key.

## 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 - #940 
## 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 change)

## Checklist:
<!--- Go over all the following points, and put an `x` ... (continued)

6198 of 8395 branches covered (73.83%)

Branch coverage included in aggregate %.

371 of 415 new or added lines in 13 files covered. (89.4%)

2 existing lines in 2 files now uncovered.

12576 of 15094 relevant lines covered (83.32%)

640.21 hits per line

Uncovered Changes

Lines Coverage ∆ File
14
13.82
-0.67% src/cli/index.ts
12
83.24
src/cli/commands/peering.ts
11
88.41
src/utils/peering-attestation.ts
3
95.38
-4.62% src/handlers/auth-message-handler.ts
3
89.33
src/handlers/event-strategies/peering-request-event-strategy.ts
1
96.92
-0.38% src/handlers/event-message-handler.ts

Coverage Regressions

Lines Coverage ∆ File
1
87.79
0.16% src/utils/settings-config.ts
1
96.92
-0.38% src/handlers/event-message-handler.ts
Jobs
ID Job ID Ran Files Coverage
1 Unit - 45438757963.1 24 Nov 2026 04:40PM UTC 351
77.93
GitHub Action Run
2 Integration - 45438757963.2 24 Nov 2026 04:39PM UTC 351
36.2
GitHub Action Run
Source Files on build 45438757963
  • Tree
  • List 351
  • Changed 12
  • Source Changed 9
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #45438757963
  • 5d829a27 on github
  • Prev Build on main (#45241960134)
  • Next Build on main (#45572238906)
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