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

iotaledger / iota / 34424838898
70%

Build:
DEFAULT BRANCH: develop
Ran 10 Sep 2026 02:11AM UTC
Jobs 1
Files 1099
Run time 3min
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

09 Sep 2026 06:20PM UTC coverage: 69.884% (+0.05%) from 69.839%
34424838898

push

github

web-flow
feat(starfish): select shard peers by block-stream latency (#12794)

# Description of change

- Track smoothed primary block-stream latency per peer and clear it on
disconnect.
- For each useful shard author, ask only the fastest peers needed to
provide enough shards and stake for reconstruction.
- Treat authors of missing ancestors as useful shard authors too, as the
header requests already do.
- Add two gauges for the latest selection: its peer count and the
slowest selected peer's block-stream latency.
- Drop the per-author `cordial_knowledge_useful_shards_authors` counter
(written per bundle under the connection lock; the new gauge covers it)
and the dead `useful_shards_from_peer` field of `UsefulAuthors`.
- Replace the dashboard's "Useful shard authors over time" panel with
panels for the two new gauges.

This limits shard traffic while leaving transaction synchronization
unchanged as the fallback.

## Links to any relevant issues

Fixes #12793.

## How the change has been tested

- [x] Basic tests (linting, compilation, formatting, unit/integration
tests)
- [x] Patch-specific tests (correctness, functionality coverage)
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] I have checked that new and existing unit tests pass locally with
my changes

408 of 411 new or added lines in 7 files covered. (99.27%)

184 existing lines in 34 files now uncovered.

180083 of 257687 relevant lines covered (69.88%)

447025.99 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
98.96
-0.11% crates/starfish/core/src/peer_responsiveness.rs
1
98.69
0.15% crates/starfish/core/src/cordial_knowledge.rs

Coverage Regressions

Lines Coverage ∆ File
27
68.6
0.0% crates/iota-types/src/transaction_deny_rules.rs
19
62.32
-1.05% crates/iota-json-rpc-types/src/iota_transaction.rs
13
55.54
-0.69% crates/iota-json-rpc-types/src/iota_object.rs
10
50.68
-2.04% crates/iota-sdk/src/apis/read.rs
10
44.16
-12.99% crates/iota-types/src/messages_grpc.rs
10
80.98
1.21% crates/test-cluster/src/lib.rs
7
91.69
-0.21% crates/iota-core/src/authority/authority_per_epoch_store.rs
7
82.51
-1.16% crates/iota-transaction-builder/src/lib.rs
7
95.69
-0.38% crates/starfish/core/src/transactions_synchronizer.rs
6
87.0
-6.0% crates/iota-node-transaction-builder/src/lib.rs
5
91.52
-0.13% crates/iota-core/src/execution_cache/writeback_cache.rs
5
55.77
-9.62% crates/iota-json-rpc-types/src/iota_coin.rs
5
82.52
-1.75% crates/iota-sdk/src/wallet_context.rs
4
67.85
0.51% crates/iota-core/src/authority/authority_store.rs
4
78.96
-0.42% crates/iota-core/src/storage.rs
4
94.85
-0.13% crates/iota-genesis-builder/src/lib.rs
4
73.47
-2.72% crates/iota-json-rpc-types/src/lib.rs
3
85.95
-1.24% crates/iota-core/src/authority_server/mod.rs
3
83.73
-0.59% crates/iota-core/src/authority_server/validator_v2.rs
3
75.73
-2.91% crates/iota-grpc-server/src/server.rs
3
79.37
1.05% crates/iota-sdk/src/lib.rs
3
90.18
3.76% crates/iota-test-transaction-builder/src/lib.rs
3
77.05
-4.92% crates/iota-traffic-controller/src/nodefw_test_server.rs
3
90.48
0.13% crates/iota-types/src/lib.rs
3
0.0
-10.0% crates/simulacrum/src/transaction_executor.rs
2
95.16
0.0% crates/iota-json-rpc/src/transaction_builder_api.rs
2
88.96
-0.27% crates/iota-network/src/discovery/mod.rs
2
74.03
0.0% crates/iota-network/src/randomness/mod.rs
2
97.91
-0.16% crates/starfish/core/src/commit_observer.rs
1
89.69
-0.34% crates/iota-core/src/connection_monitor.rs
1
92.64
-0.12% crates/iota-core/src/consensus_adapter.rs
1
89.92
-0.13% crates/iota-grpc-server/src/types.rs
1
70.83
-2.08% crates/iota-network-stack/src/anemo_ext.rs
1
84.58
-0.23% crates/starfish/core/src/core_thread.rs
Jobs
ID Job ID Ran Files Coverage
1 nextest+simtest - 34424838898.1 10 Sep 2026 02:11AM UTC 1099
69.88
GitHub Action Run
Source Files on build 34424838898
  • Tree
  • List 1099
  • Changed 60
  • Source Changed 11
  • Coverage Changed 60
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #34424838898
  • ba7cd828 on github
  • Prev Build on develop (#34298612439)
  • Next Build on develop (#34550027955)
  • Delete
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