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

iotaledger / iota / 20979039114
63%

Build:
DEFAULT BRANCH: develop
Ran 14 Jan 2026 04:01AM UTC
Jobs 1
Files 1394
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

13 Jan 2026 01:38PM UTC coverage: 63.148% (+0.4%) from 62.785%
20979039114

push

github

web-flow
feat(iota-indexer): add cache in `HttpRestKVClient` (#9658)

# Description of change

The following PR adds a caching layer to the `HttpRestKVClient`. The
implementation is very similar to the one already implemented for the
`HttpKVStore`.

## Links to any relevant issues

fixes #9501 

## How the change has been tested

- [x] Basic tests (linting, compilation, formatting, unit/integration
tests)
- [ ] Patch-specific tests (correctness, functionality coverage)

Started the indexer reader and checked if the requests would be cached.

### Infrastructure QA (only required for crates that are maintained by
@iotaledger/infrastructure)

- [ ] Synchronization of the indexer from genesis for a network
including migration objects.
- [ ] Restart of indexer synchronization locally without resetting the
database.
- [ ] Restart of indexer synchronization on a production-like database.
- [ ] Deployment of services using Docker.
- [ ] Verification of API backward compatibility.

> [!NOTE]
> This patch does not affect the normal operation of the indexer. By
default pruning is not enabled and also the fallback feature is enabled
only if an additional CLI argument is provided during the startup. No
further tests were conducted.

---------

Co-authored-by: kodemartin <konstantinos.demartinos@iota.org>

0 of 80 new or added lines in 6 files covered. (0.0%)

3093 existing lines in 89 files now uncovered.

213336 of 337833 relevant lines covered (63.15%)

2504678.53 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
0.0
0.0% crates/iota-indexer/src/test_utils.rs
2
39.33
-0.57% crates/iota-indexer/src/config.rs
4
0.0
0.0% crates/iota-indexer/src/historical_fallback/reader.rs
7
0.0
0.0% crates/iota-indexer/src/indexer.rs
28
0.0
crates/iota-indexer/src/historical_fallback/metrics.rs
38
0.0
0.0% crates/iota-indexer/src/historical_fallback/client.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
98.13
-0.06% consensus/core/src/linearizer.rs
1
82.06
0.24% crates/iota-core/src/authority/suggested_gas_price_calculator.rs
1
95.41
-0.19% crates/iota-core/src/signature_verifier.rs
1
84.39
-0.49% crates/starfish/core/src/subscriber.rs
2
81.89
1.8% consensus/core/src/base_committer.rs
2
81.87
-0.23% crates/iota-core/src/safe_client.rs
2
56.7
1.02% crates/iota-core/src/storage.rs
2
90.32
-0.14% crates/iota-faucet/src/faucet/simple_faucet.rs
2
75.53
-1.06% crates/iota-grpc-server/src/types.rs
2
86.1
1.42% crates/starfish/core/src/base_committer.rs
2
93.74
-0.14% crates/starfish/core/src/transactions_synchronizer.rs
2
89.47
0.56% crates/typed-store/src/rocks/mod.rs
3
96.47
-0.04% consensus/core/src/block_manager.rs
3
93.86
-1.14% consensus/core/src/universal_committer.rs
3
63.29
-3.8% crates/iota-config/src/transaction_deny_config.rs
3
97.25
-2.75% crates/iota-core/src/scoring_decision.rs
3
82.35
0.0% crates/iota-genesis-builder/src/stardust/types/output_header.rs
3
82.14
0.0% crates/iota-genesis-builder/src/validator_info.rs
3
89.44
-1.03% crates/iota-surfer/src/surfer_state.rs
3
88.08
-0.87% crates/iota-types/src/effects/effects_v1.rs
3
90.36
-0.17% crates/starfish/core/src/header_synchronizer.rs
3
93.14
-0.98% crates/starfish/core/src/universal_committer.rs
4
95.88
-0.87% consensus/core/src/commit_observer.rs
4
96.49
6.25% crates/iota-core/src/transaction_input_loader.rs
4
93.91
-1.52% crates/iota-json-rpc/src/balance_changes.rs
4
78.18
-3.64% crates/iota-surfer/src/surf_strategy.rs
4
67.59
-1.38% crates/iota-types/src/messages_consensus.rs
4
0.0
-80.0% crates/iota-types/src/messages_safe_client.rs
4
92.04
0.12% iota-execution/latest/iota-adapter/src/programmable_transactions/context.rs
5
92.56
-0.54% consensus/core/src/leader_scoring.rs
5
96.3
-2.35% crates/starfish/core/src/leader_scoring.rs
6
89.86
-4.35% crates/iota-package-management/src/lib.rs
6
34.49
-1.16% crates/iota-rest-api/src/client/sdk.rs
7
0.0
0.0% crates/iota-indexer/src/ingestion/primary/persist.rs
8
80.48
-0.14% crates/iota-core/src/authority_aggregator.rs
8
93.05
0.6% iota-execution/latest/iota-adapter/src/programmable_transactions/execution.rs
9
71.84
0.14% crates/iota-core/src/authority/authority_store.rs
9
66.67
-18.75% crates/iota-network-stack/src/anemo_ext.rs
9
64.56
-1.9% crates/iota-types/src/storage/shared_in_memory_store.rs
9
93.38
-0.93% crates/starfish/core/src/commit_observer.rs
9
74.4
9.12% iota-execution/latest/iota-move-natives/src/config.rs
10
89.83
0.58% crates/iota-network/src/state_sync/mod.rs
11
91.99
-1.4% crates/iota-core/src/consensus_adapter.rs
11
83.8
-1.82% crates/iota-core/src/traffic_controller/mod.rs
11
85.71
50.0% crates/iota-transaction-checks/src/deny.rs
12
91.58
-0.6% crates/iota-core/src/transaction_manager.rs
12
56.23
-0.36% crates/iota-json-rpc-types/src/iota_transaction.rs
13
59.69
-1.67% crates/iota-core/src/authority/authority_store_pruner.rs
13
89.17
-0.97% crates/iota-test-transaction-builder/src/lib.rs
13
92.64
92.64% iota-execution/latest/iota-move-natives/src/dynamic_field.rs
14
86.58
1.52% crates/iota-core/src/authority/authority_per_epoch_store.rs
14
60.48
-2.37% crates/iota-json-rpc/src/indexer_api.rs
14
0.0
-48.28% crates/iota-types/src/storage/error.rs
19
97.35
-0.6% crates/starfish/core/src/core.rs
21
70.09
0.0% crates/iota-graphql-rpc/src/config.rs
21
0.0
0.0% crates/iota-graphql-rpc/src/types/address.rs
21
92.71
-0.41% crates/iota-protocol-config/src/lib.rs
22
90.43
0.85% crates/iota-core/src/execution_cache/writeback_cache.rs
23
95.44
-0.24% consensus/core/src/core.rs
24
0.0
0.0% crates/iota-indexer/src/ingestion/common/persist.rs
25
71.82
1.18% crates/iota-core/src/checkpoints/mod.rs
25
76.43
-1.05% crates/test-cluster/src/lib.rs
30
0.0
0.0% crates/iota-graphql-rpc-client/src/response.rs
31
0.0
0.0% crates/iota-graphql-rpc/src/consistency.rs
33
86.61
5.24% crates/iota-transaction-checks/src/lib.rs
37
0.0
0.0% crates/iota-indexer/src/indexer.rs
43
0.0
0.0% crates/iota-indexer/src/test_utils.rs
45
83.03
0.0% crates/iota-graphql-rpc/src/types/move_value.rs
47
1.61
0.0% crates/iota-graphql-rpc/src/types/query.rs
49
35.42
12.23% crates/iota-core/src/execution_cache/passthrough_cache.rs
51
0.0
0.0% crates/iota-graphql-rpc/src/types/epoch.rs
55
0.0
0.0% crates/iota-graphql-rpc/src/types/stake.rs
57
0.0
0.0% crates/iota-graphql-rpc/src/types/coin_metadata.rs
58
0.0
0.0% crates/iota-graphql-rpc/src/types/coin.rs
61
0.0
0.0% crates/iota-graphql-rpc/src/types/move_object.rs
64
0.0
0.0% crates/iota-graphql-rpc/src/types/event/mod.rs
65
73.97
3.1% crates/iota-network/src/randomness/mod.rs
97
39.33
-0.57% crates/iota-indexer/src/config.rs
98
0.0
0.0% crates/iota-graphql-rpc/src/types/iota_names_registration.rs
99
0.0
0.0% crates/iota-indexer/src/historical_fallback/reader.rs
99
63.56
6.47% iota-execution/latest/iota-adapter/src/execution_engine.rs
101
0.0
0.0% crates/iota-graphql-rpc/src/types/checkpoint.rs
134
1.86
-0.02% crates/iota-graphql-rpc/src/types/transaction_block_effects.rs
144
0.0
0.0% crates/iota-indexer/src/historical_fallback/client.rs
174
4.69
0.17% crates/iota-graphql-rpc/src/server/builder.rs
202
0.0
0.0% crates/iota-graphql-rpc/src/types/move_package.rs
208
0.0
0.0% crates/iota-graphql-rpc/src/types/transaction_block/mod.rs
243
79.56
-1.09% crates/iota-core/src/authority.rs
251
14.18
0.0% crates/iota-graphql-rpc/src/types/object.rs
Jobs
ID Job ID Ran Files Coverage
1 nextest+simtest - 20979039114.1 14 Jan 2026 04:00AM UTC 1396
63.14
GitHub Action Run
Source Files on build 20979039114
  • Tree
  • List 1394
  • Changed 128
  • Source Changed 29
  • Coverage Changed 127
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20979039114
  • d31dbf4d on github
  • Prev Build on develop (#20941276911)
  • Next Build on develop (#21016395600)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc