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

iotaledger / iota / 29381900237
69%

Build:
DEFAULT BRANCH: develop
Ran 15 Jul 2026 02:33AM UTC
Jobs 1
Files 1122
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

14 Jul 2026 09:08PM UTC coverage: 68.378% (+0.03%) from 68.351%
29381900237

push

github

web-flow
upstream(iota-core): pipeline BCS deserialization in consensus commit handler (#12145)

# Description of change

- Port of upstream PR:
[MystenLabs/sui#27052](https://github.com/MystenLabs/sui/pull/27052)
- Description: Splits Starfish consensus output processing into two
stages connected by a small bounded channel (capacity 2): a dedicated
deserialize worker BCS-parses each commit's transactions while the
handler processes the previous one. A single worker per stage plus a
FIFO channel preserve commit ordering by construction, and the small
capacity applies backpressure when the handler is the bottleneck instead
of buffering parsed commits unboundedly.

Adapted to the fork:

- Ported only the deserialization-pipelining half.
`handle_consensus_output` now takes the pre-parsed transactions as a
`ConsensusOutputTransactions` parameter; a `#[cfg(test)]`
`handle_consensus_output_for_test` wrapper performs the inline
deserialization so the existing single-arg unit-test callsites are
unchanged. `StarfishConsensusHandler::new` spawns the deserialize worker
and the handler via a `tokio::task::JoinSet` (replacing the single
`JoinHandle`, with `abort_all` on drop), and the bounded channel uses
`monitored_mpsc::channel("consensus_deserialized_commits", 2)`.
- Dropped the upstream `finalized_transactions_cache` /
`is_recently_finalized` replacement: it serves the FPC voting path,
which IOTA does not have (there is no `is_recently_finalized` reader),
so that piece is N/A here.

## Links to any relevant issues

## How the change has been tested

- [x] Basic tests (linting, compilation, formatting, unit/integration
tests)
- [x] Patch-specific tests (correctness, functionality coverage)
- [ ] 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

42 of 43 new or added lines in 1 file covered. (97.67%)

2083 existing lines in 62 files now uncovered.

163786 of 239532 relevant lines covered (68.38%)

490419.65 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
91.89
0.3% crates/iota-core/src/consensus_handler.rs

Coverage Regressions

Lines Coverage ∆ File
213
44.79
0.0% crates/iota-replay/src/replay.rs
182
82.06
-0.19% crates/iota-core/src/authority.rs
174
60.67
0.78% crates/iota-json-rpc-types/src/iota_transaction.rs
174
87.37
2.84% crates/iota-node/src/lib.rs
142
79.02
-0.57% crates/iota-types/src/crypto.rs
139
83.48
0.08% crates/iota-types/src/transaction.rs
116
0.0
0.0% crates/iota-core/src/generate_format.rs
111
13.11
0.0% crates/iota-rpc-loadgen/src/payload/rpc_command_processor.rs
97
80.49
2.05% crates/iota-core/src/authority/authority_store_pruner.rs
96
89.24
-0.34% crates/iota-protocol-config/src/lib.rs
71
38.97
0.1% crates/iota/src/keytool.rs
64
80.5
0.0% iota-execution/latest/iota-adapter/src/execution_engine.rs
53
62.08
0.0% crates/simulacrum/src/lib.rs
45
37.63
-16.13% external-crates/move/crates/move-package/src/resolution/dependency_cache.rs
37
71.43
0.0% crates/iota-types/src/move_authenticator.rs
33
86.38
0.0% crates/iota-types/src/test_checkpoint_data_builder.rs
30
97.04
0.01% crates/iota-core/src/authority/shared_object_congestion_tracker.rs
24
87.32
-0.09% crates/iota-transactional-test-runner/src/args.rs
23
68.96
-1.88% crates/iota-core/src/authority/authority_store.rs
19
0.0
0.0% crates/iota-graphql-rpc/src/types/gas.rs
18
89.32
0.33% crates/iota-test-transaction-builder/src/lib.rs
17
94.49
1.47% crates/iota-core/src/checkpoints/epoch_info.rs
16
94.71
-0.1% crates/iota-core/src/checkpoints/checkpoint_executor/mod.rs
13
73.3
-1.59% crates/iota-network/src/randomness/mod.rs
13
40.48
-0.24% crates/iota-types/src/signature.rs
11
58.97
0.0% crates/iota-cluster-test/src/cluster.rs
9
89.65
-1.06% crates/iota-network/src/state_sync/mod.rs
9
66.67
-18.75% crates/iota-network-stack/src/anemo_ext.rs
8
56.5
0.84% crates/iota-json-rpc-types/src/iota_object.rs
8
90.1
-0.05% crates/iota-types/src/base_types.rs
7
59.68
-0.49% crates/iota-transaction-builder/src/package.rs
7
87.91
-7.69% iota-execution/latest/iota-move-natives/src/transaction_context.rs
6
91.43
6.71% crates/iota-config/src/transaction_deny_config.rs
6
44.55
-0.99% crates/iota-json-rpc-types/src/object_changes.rs
6
0.0
0.0% crates/iota-ledger/src/lib.rs
6
96.36
-0.18% crates/starfish/core/src/dag_state.rs
5
80.79
0.18% crates/iota-core/src/checkpoints/mod.rs
5
78.4
-0.28% crates/iota-core/src/traffic_controller/mod.rs
5
77.62
0.35% crates/iota-sdk/src/wallet_context.rs
5
85.64
-0.17% crates/iota-transaction-builder/src/lib.rs
5
53.28
-3.65% crates/iota-types/src/full_checkpoint_content.rs
5
91.56
0.0% crates/iota-types/src/lib.rs
4
73.47
-2.72% crates/iota-json-rpc-types/src/lib.rs
4
49.49
-1.37% crates/iota-sdk/src/apis/read.rs
4
84.06
0.0% crates/iota-types/src/auth_context/fields_v1.rs
4
0.0
-80.0% crates/iota-types/src/messages_safe_client.rs
3
91.45
-0.13% crates/iota-core/src/execution_cache/writeback_cache.rs
3
79.46
0.0% crates/iota-genesis-builder/src/validator_info.rs
3
79.37
0.0% crates/iota-sdk/src/lib.rs
3
94.6
-0.77% crates/iota-types/src/iota_system_state/iota_system_state_inner_v1.rs
3
0.0
-10.0% crates/simulacrum/src/transaction_executor.rs
3
95.45
-2.73% crates/starfish/config/src/committee.rs
3
75.97
2.41% crates/test-cluster/src/lib.rs
2
89.35
-0.69% crates/iota-core/src/connection_monitor.rs
2
78.69
1.64% crates/iota-core/src/traffic_controller/nodefw_test_server.rs
2
97.56
0.0% crates/iota-single-node-benchmark/src/tx_generator/move_tx_generator.rs
2
93.58
-0.31% crates/starfish/core/src/shard_reconstructor.rs
1
65.38
-1.28% crates/iota-config/src/persisted_config.rs
1
89.03
-0.14% crates/iota-network/src/discovery/mod.rs
1
89.62
-0.11% crates/starfish/core/src/commit_syncer/fast.rs
1
99.68
0.0% crates/transaction-fuzzer/src/account_universe/transfer_gen.rs
1
99.0
0.0% crates/transaction-fuzzer/src/lib.rs
Jobs
ID Job ID Ran Files Coverage
1 nextest+simtest - 29381900237.1 15 Jul 2026 02:33AM UTC 1122
68.38
GitHub Action Run
Source Files on build 29381900237
  • Tree
  • List 1122
  • Changed 101
  • Source Changed 52
  • Coverage Changed 88
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29381900237
  • 6a244b1a on github
  • Prev Build on develop (#29298811321)
  • Next Build on develop (#29464400823)
  • 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