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

cameri / nostream / 44215275298
78%
main: 79%

Build:
Build:
LAST BUILD BRANCH: rewrite/main
DEFAULT BRANCH: main
Ran 18 Nov 2026 01:26AM UTC
Jobs 2
Files 321
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

18 Nov 2026 01:22AM UTC coverage: 77.588% (+0.006%) from 77.582%
44215275298

push

github

web-flow
fix(import): apply an imported deletion's a tags, as the live relay does (#1165)

## What

An imported kind-5 that names its target by `a` address was stored, its
counters reported the
import succeeded, and the article it named stayed readable:
`event_import_service` applied only
the request's `e` ids. The live relay's delete arm already handled `a`;
the two writers of the
same store disagreed about what one request means (issue #1097).

- **The tag reading is now one function.** `delete.rs`'s
`deletion_targets` returns
`DeletionTargets { ids, addresses }` — distinct `e` ids in first-seen
order, and the author's own
parameterized-replaceable addresses — or a `DeletionRefusal` whose
`Display` is the `OK false`
message the live arm sends. The address cap is checked first, as it
always has been.
- **The live arm calls it**, so its behaviour, its refusal messages and
its cap ordering are
unchanged; the #1090 tests that pin the caps and the dedupe still pass
untouched.
- **The importer calls the same function.** `a` addresses go through
`delete_by_addresses(author, addresses, request.created_at)`, exactly
the arguments the live arm
passes, so a newer article survives an imported deletion as it survives
a live one. A request
over either cap is neither applied nor stored: the rows buffered before
it are flushed, the
  request is skipped, and the import continues.

## Evidence

The repository's five `cargo` checks on this branch, in order:

```
cargo fmt --all --check                                    -> clean
cargo clippy --workspace --all-targets --all-features      -> clean, -D warnings
cargo clippy --workspace --lib --bins (strict)             -> clean
cargo test --workspace --all-features                      -> clean, no failures (every suite ok)
cargo build --workspace --all-features --release           -> clean, 1m48s
```

Six new tests in `crates/nostream-services/tests/event_import.rs`. They
are not decorative: with the
importer put back to its pre... (continued)

4502 of 6342 branches covered (70.99%)

Branch coverage included in aggregate %.

9792 of 12081 relevant lines covered (81.05%)

759.21 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Unit - 44215275298.1 18 Nov 2026 01:27AM UTC 321
75.03
GitHub Action Run
2 Integration - 44215275298.2 18 Nov 2026 01:26AM UTC 321
33.0
GitHub Action Run
Source Files on build 44215275298
  • Tree
  • List 321
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #44215275298
  • 3b7e2cb5 on github
  • Prev Build on rewrite/main (#44171181460)
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