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

iotaledger / iota / 31449538591
70%

Build:
DEFAULT BRANCH: develop
Ran 11 Aug 2026 02:24AM UTC
Jobs 1
Files 1062
Run time 2min
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

10 Aug 2026 04:17PM UTC coverage: 69.682% (+0.2%) from 69.478%
31449538591

push

github

web-flow
fix(consensus): deliver cache-hit headers instead of swallowing them (#12597)

# Description of change

The header synchronizer's verified cache recorded a header's digest as
soon as its signature verified, and a later cache hit removed the header
from the response entirely. A header dropped after the insert
(out-of-window unrequested extra, far-future bound, per-slot cap)
therefore became unfetchable through the synchronizer — every refetch,
including an explicit by-digest request, was swallowed.

A cache hit now only skips the signature check; the header is still
deserialized and delivered. Duplicate suppression stays with the block
manager, which filters against real state (accepted or suspended).

## Links to any relevant issues

fixes iotaledger/iota-private#491

## 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

133 of 146 new or added lines in 2 files covered. (91.1%)

2536 existing lines in 77 files now uncovered.

168892 of 242374 relevant lines covered (69.68%)

466365.72 hits per line

Uncovered Changes

Lines Coverage ∆ File
13
93.01
0.93% crates/starfish/core/src/header_synchronizer.rs

Coverage Regressions

Lines Coverage ∆ File
241
69.63
-0.04% crates/iota/src/client_commands.rs
162
61.88
-1.42% crates/iota-json-rpc-types/src/iota_transaction.rs
138
0.0
0.0% crates/iota-graphql-rpc/src/types/transaction_block/mod.rs
137
82.62
0.05% crates/iota-types/src/transaction.rs
136
86.37
0.12% crates/iota-core/src/authority.rs
130
93.01
0.93% crates/starfish/core/src/header_synchronizer.rs
120
0.0
0.0% crates/iota-core/src/generate_format.rs
105
96.81
0.09% crates/starfish/core/src/dag_state.rs
102
1.7
0.0% crates/iota-graphql-rpc/src/types/query.rs
101
38.62
0.47% crates/iota/src/keytool.rs
100
2.06
0.0% crates/iota-graphql-rpc/src/types/transaction_block_effects.rs
90
94.49
0.42% crates/starfish/core/src/authority_service.rs
83
0.0
0.0% crates/iota-indexer/src/apis/write_api.rs
74
97.08
0.1% crates/starfish/core/src/core.rs
66
0.0
0.0% crates/iota-indexer/src/optimistic_indexing.rs
66
78.98
0.0% crates/iota-transaction-checks/src/lib.rs
62
78.15
1.22% crates/test-cluster/src/lib.rs
57
0.0
0.0% crates/iota-replay/src/displays/transaction_displays.rs
47
89.52
-0.03% crates/iota-core/src/authority/suggested_gas_price_calculator.rs
44
0.0
0.0% crates/iota-graphql-rpc/src/test_infra/cluster.rs
40
4.74
0.0% crates/iota-graphql-rpc/src/server/builder.rs
38
84.34
-0.01% crates/iota-transactional-test-runner/src/test_adapter.rs
35
61.71
-0.06% crates/simulacrum/src/lib.rs
30
87.07
-2.57% crates/iota-test-transaction-builder/src/lib.rs
27
96.96
0.91% crates/starfish/core/src/shard_reconstructor.rs
25
80.5
3.81% crates/iota-http/src/config.rs
24
87.92
0.0% crates/iota-types/src/messages_checkpoint.rs
20
0.0
0.0% crates/iota-data-ingestion/src/workers/kv_store.rs
18
52.5
0.0% crates/iota-kvstore/src/bigtable/worker.rs
14
89.27
0.0% crates/iota-transaction-builder/src/lib.rs
12
0.0
0.0% crates/iota-ledger-signer/src/lib.rs
10
95.97
0.0% crates/iota-vm-sdk/src/executor/local_vm.rs
10
0.0
0.0% crates/simulacrum/src/transaction_executor.rs
9
90.67
0.0% crates/iota-faucet/src/faucet/write_ahead_log.rs
9
66.67
-18.75% crates/iota-network-stack/src/anemo_ext.rs
9
96.8
-0.04% crates/starfish/core/src/block_verifier.rs
9
82.86
0.0% crates/starfish/core/src/error.rs
8
94.46
2.48% crates/iota-http/src/lib.rs
8
77.27
-2.8% crates/iota-sdk/src/wallet_context.rs
8
79.31
-13.79% crates/iota-vm-sdk/src/executor/types.rs
7
95.83
-0.09% crates/iota-cluster-test/src/lib.rs
7
0.0
0.0% crates/simulacrum-server/src/faucet.rs
6
92.5
0.06% crates/iota-faucet/src/faucet/simple_faucet.rs
6
0.0
0.0% crates/iota-graphql-rpc/src/types/dry_run_result.rs
6
72.11
-1.36% crates/iota-json-rpc-types/src/lib.rs
6
0.0
0.0% crates/iota-rpc-loadgen/src/payload/pay_iota.rs
6
90.35
0.0% crates/iota-types/src/lib.rs
6
98.13
-1.56% crates/transaction-fuzzer/src/account_universe/transfer_gen.rs
5
97.06
-0.02% crates/iota-json-rpc/src/transaction_execution_api.rs
4
67.82
0.51% crates/iota-core/src/authority/authority_store.rs
4
0.0
0.0% crates/iota-data-ingestion/src/common.rs
4
0.0
0.0% crates/iota-data-ingestion/src/workers/historical.rs
4
94.83
-0.5% crates/iota-genesis-builder/src/lib.rs
3
78.82
-0.41% crates/iota-core/src/traffic_controller/mod.rs
3
79.46
-2.68% crates/iota-genesis-builder/src/validator_info.rs
3
79.37
0.0% crates/iota-sdk/src/lib.rs
2
95.48
0.0% crates/iota-core/src/authority/authority_test_utils.rs
2
89.35
0.0% crates/iota-core/src/connection_monitor.rs
2
92.1
0.0% crates/iota-core/src/consensus_handler.rs
2
83.64
0.0% crates/iota-core/src/subscription_handler.rs
2
90.76
0.76% crates/iota-network/src/state_sync/mod.rs
2
0.0
0.0% crates/iota-tool/src/fire_drill.rs
2
77.91
-2.33% crates/iota-types/src/signature_verification.rs
2
28.57
0.0% crates/iota-types/src/transaction_executor.rs
2
97.77
0.01% crates/iota-types/src/unit_tests/utils.rs
2
99.84
0.03% crates/starfish/core/src/block_manager/mod.rs
2
91.36
0.0% crates/transaction-fuzzer/src/transaction_data_gen.rs
1
86.11
0.0% crates/iota-cluster-test/src/test_case/native_transfer_test.rs
1
90.91
0.0% crates/iota-cluster-test/src/wallet_client.rs
1
91.12
0.12% crates/iota-core/src/authority/authority_per_epoch_store.rs
1
92.1
-0.11% crates/iota-core/src/epoch/randomness.rs
1
91.77
0.38% crates/iota-core/src/execution_cache/writeback_cache.rs
1
98.62
-0.28% crates/iota-core/src/signature_verifier.rs
1
0.0
0.0% crates/iota-data-ingestion/src/workers/blob.rs
1
88.09
0.0% crates/iota-grpc-server/src/changes.rs
1
89.1
-0.14% crates/iota-network/src/discovery/mod.rs
1
99.45
0.0% crates/starfish/core/src/encoder.rs
Jobs
ID Job ID Ran Files Coverage
1 nextest+simtest - 31449538591.1 11 Aug 2026 02:24AM UTC 1062
69.68
GitHub Action Run
Source Files on build 31449538591
  • Tree
  • List 1062
  • Changed 164
  • Source Changed 131
  • Coverage Changed 106
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31449538591
  • 547e5b5f on github
  • Prev Build on develop (#31347301732)
  • Next Build on develop (#31553861863)
  • 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