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

iotaledger / iota / 26549227281
67%

Build:
DEFAULT BRANCH: develop
Ran 28 May 2026 02:30AM UTC
Jobs 1
Files 1076
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

27 May 2026 03:07PM UTC coverage: 66.876% (-0.02%) from 66.893%
26549227281

push

github

web-flow
refactor(iota-indexer): support filtered queries on transactions with a fallback to the archival store (#11656)

# Description of change

This PR adds support for pruned transactions to be retrieved form the
fallback archival store in the `IndexerApi::query_transaction_blocks`.

Included the `signal` feature flag to `tokio` dependency needed for the
graceful shutdown.


## Links to any relevant issues

fixes #9498 

## How the change has been tested

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

The fix was verified by manually simulating a pruned state and
confirming the API successfully fetches missing data from the fallback
store.

1. Started a local network using the `iota-localnet` cli tool
```shell
cargo r -- -p iota-localnet -- start --force-regenesis --with-grpc
```
2. Start the kv-store ingestion task to write checkpoints into BigTable
(see the README in the `iota-kvstore` crate for details):
```shell
cargo r -p iota-data-ingestion --bin iota-data-ingestion -- bigtable.yaml
```
3. Start the kv-store REST API
```shell
cargo -p iota-rest-kv r -- --config bigtable.yaml
```
4. Start the indexer writer:
```shell
cargo r -p iota-indexer -- --database-url=postgres://postgres:postgrespw@localhost:5432/iota_indexer indexer --remote-store-url=http://localhost:50051 --reset-db
```
5. Start the indexer reader with the fallback KV URL configured:
```shell
 cargo r -p iota-indexer -- --database-url=postgres://postgres:postgrespw@localhost:5432/iota_indexer --metrics-address=0.0.0.0:9185 json-rpc-service --rpc-client-url=http://localhost:50051 --fallback-kv-url=http://localhost:3555 --rpc-address=0.0.0.0:9001
```

Once the database had ingested some transactions, we picked a starting
point for the test queries. We listed checkpoints:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "iota_getCheckpoints",
  "params": [
    "10",
    4,
    false
  ]
}
```
an... (continued)

0 of 60 new or added lines in 1 file covered. (0.0%)

871 existing lines in 45 files now uncovered.

152186 of 227566 relevant lines covered (66.88%)

464328.89 hits per line

Uncovered Changes

Lines Coverage ∆ File
60
0.0
0.0% crates/iota-indexer/src/read.rs

Coverage Regressions

Lines Coverage ∆ File
159
60.18
-0.64% crates/iota-json-rpc-types/src/iota_transaction.rs
139
12.44
-0.33% crates/iota-graphql-rpc/src/types/object.rs
96
83.84
-0.02% crates/iota-transactional-test-runner/src/test_adapter.rs
72
0.0
0.0% crates/iota-graphql-rpc/src/types/validator.rs
66
88.62
0.34% crates/iota-genesis-builder/src/lib.rs
36
0.0
0.0% crates/iota-graphql-rpc/src/types/subscription/mod.rs
35
0.0
0.0% crates/iota-graphql-rpc/src/types/transaction_block_kind/programmable.rs
32
84.1
0.0% crates/iota-grpc-server/src/transaction_filter.rs
24
80.28
0.09% crates/iota-types/src/object.rs
18
93.45
0.0% crates/iota-transactional-test-runner/src/programmable_transaction_test_parser/parser.rs
18
93.51
-0.12% crates/starfish/core/src/storage/rocksdb_store.rs
14
89.83
-0.12% crates/starfish/core/src/storage/mem_store.rs
11
81.24
-0.34% crates/iota-core/src/authority.rs
11
82.66
-1.85% crates/iota-core/src/traffic_controller/mod.rs
11
0.0
0.0% crates/iota-replay/src/fuzz_mutations/shuffle_command_inputs.rs
11
90.58
0.0% crates/iota-transaction-checks/src/deny.rs
10
37.68
-14.49% crates/iota-types/src/messages_grpc.rs
8
88.85
-1.13% crates/iota-test-transaction-builder/src/lib.rs
8
93.91
-0.34% crates/starfish/core/src/authority_service.rs
7
93.15
0.0% crates/iota-analytics-indexer/src/handlers/transaction_handler.rs
7
0.0
0.0% crates/iota-replay/src/fuzz_mutations/shuffle_types.rs
7
76.44
1.07% crates/test-cluster/src/lib.rs
6
64.67
-3.59% crates/iota-types/src/iota_system_state/mod.rs
5
55.77
-9.62% crates/iota-json-rpc-types/src/iota_coin.rs
5
77.37
-1.82% crates/iota-sdk/src/wallet_context.rs
4
77.78
-5.56% crates/iota-config/src/transaction_deny_config.rs
4
91.09
-0.13% crates/iota-core/src/authority/authority_per_epoch_store.rs
4
69.97
-0.32% crates/iota-core/src/authority/authority_store.rs
4
53.69
0.0% crates/iota-json-rpc-types/src/iota_object.rs
4
86.47
0.0% crates/iota-transaction-builder/src/lib.rs
3
77.32
-0.21% crates/iota-core/src/checkpoints/mod.rs
3
88.76
-1.08% crates/iota-genesis-builder/src/stardust/migration/verification/util.rs
3
88.75
-3.75% crates/iota-genesis-builder/src/stardust/types/address_swap_split_map.rs
3
82.35
-8.82% crates/iota-genesis-builder/src/stardust/types/output_header.rs
3
49.56
0.0% crates/iota-genesis-builder/src/stardust/types/snapshot.rs
3
66.67
-33.33% crates/iota-types/src/clock.rs
3
84.21
-3.16% crates/starfish/config/src/crypto.rs
3
91.78
0.0% crates/starfish/core/src/header_synchronizer.rs
2
89.35
-0.34% crates/iota-core/src/connection_monitor.rs
2
78.69
-3.28% crates/iota-core/src/traffic_controller/nodefw_test_server.rs
2
91.98
-0.84% crates/iota-http/src/lib.rs
2
74.82
0.72% crates/iota-network/src/randomness/mod.rs
1
95.65
-4.35% crates/iota-keys/src/random_names.rs
1
89.18
0.11% crates/iota-network/src/state_sync/mod.rs
1
96.47
-0.04% crates/starfish/core/src/dag_state.rs
Jobs
ID Job ID Ran Files Coverage
1 nextest+simtest - 26549227281.1 28 May 2026 02:30AM UTC 1076
66.88
GitHub Action Run
Source Files on build 26549227281
  • Tree
  • List 1076
  • Changed 103
  • Source Changed 65
  • Coverage Changed 65
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26549227281
  • 4ac3cd3f on github
  • Prev Build on develop (#26485628984)
  • Next Build on develop (#26612825483)
  • 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