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

iotaledger / iota / 19382284517
63%

Build:
DEFAULT BRANCH: develop
Ran 15 Nov 2025 04:04AM UTC
Jobs 1
Files 1428
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 Nov 2025 03:10PM UTC coverage: 65.956% (-0.03%) from 65.983%
19382284517

push

github

web-flow
upstream(graphql): deduplicate configs and clap args, add flag to skip db compatibility (#9261)

# Description of change

Original descriptions:

> Avoid duplicating fields for configs that are accepted as flags from
the command-line and can also be read from TOML file. Use the same
struct for both purposes but deocrate it with both clap and serde (or
GraphQLConfig) annotations so that it can serve both purposes.

> Add a flag to optionally skip database migration compatibility checks.
This is helpful when trying to connect a local build up to a production
database to test a specific change, even if you are aware that other
queries may not be compatible.
To accommodate this change, the compatibility check was also moved into
`ServerBuilder` where the config is readily available. This also
slightly simplifies the `Server` itself, which no longer needs to hold
onto its own instance of the `Db`.

## Links to any relevant issues

fixes https://github.com/iotaledger/iota/issues/9217

## How the change has been tested

Comparing `cargo run --bin iota-graphql-rpc -- start-server --help`
before and after the change.

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

### 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.
- [x] Deployment of services using Docker. - Tested if graphql starts up
successfully with `pg-services-local`
- [ ] Verification of API backward compatibility.

2 of 22 new or added lines in 4 files covered. (9.09%)

1361 existing lines in 35 files now uncovered.

236465 of 358522 relevant lines covered (65.96%)

2354899.45 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
45.5
-0.21% crates/iota-cluster-test/src/cluster.rs
5
70.09
1.17% crates/iota-graphql-rpc/src/config.rs
5
0.0
0.0% crates/iota-graphql-rpc/src/main.rs
9
1.78
-0.0% crates/iota-graphql-rpc/src/server/builder.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
91.18
-1.47% crates/iota-cluster-test/src/test_case/native_transfer_test.rs
1
79.61
-0.11% crates/iota-core/src/authority_server.rs
1
97.01
-0.25% crates/iota-core/src/quorum_driver/tests.rs
1
1.78
-0.0% crates/iota-graphql-rpc/src/server/builder.rs
1
0.0
0.0% crates/iota-indexer/src/schema.rs
1
76.33
0.0% crates/iota-types/src/crypto.rs
2
89.35
-0.69% crates/iota-core/src/connection_monitor.rs
2
57.04
-0.47% crates/iota-core/src/storage.rs
2
75.53
-1.06% crates/iota-grpc-server/src/types.rs
3
0.0
0.0% crates/iota-graphql-rpc/src/test_infra/cluster.rs
3
88.46
0.0% crates/starfish/core/src/error.rs
4
0.0
0.0% crates/iota-indexer/src/ingestion/primary/orchestration.rs
5
98.1
-1.58% crates/transaction-fuzzer/src/account_universe/transfer_gen.rs
6
0.0
0.0% crates/iota-indexer/src/ingestion/snapshot/prepare.rs
7
92.23
-0.4% crates/starfish/config/src/parameters.rs
9
60.33
0.64% crates/iota-core/src/authority/authority_store_pruner.rs
9
66.67
-18.75% crates/iota-network-stack/src/anemo_ext.rs
12
0.0
0.0% crates/iota-indexer/src/metrics.rs
14
0.0
-48.28% crates/iota-types/src/storage/error.rs
17
0.0
0.0% crates/iota-indexer/src/ingestion/snapshot/persist.rs
21
0.0
0.0% crates/iota-indexer/src/ingestion/primary/persist.rs
21
91.69
-0.01% crates/starfish/core/src/authority_node.rs
22
0.0
0.0% crates/iota-indexer/src/store/mod.rs
22
89.96
-0.01% crates/starfish/core/src/test_dag_builder.rs
25
97.88
0.0% crates/starfish/core/src/core.rs
31
0.0
0.0% crates/iota-indexer/src/ingestion/snapshot/orchestration.rs
38
0.0
0.0% crates/iota-indexer/src/ingestion/common/persist.rs
51
94.96
0.06% crates/starfish/core/src/authority_service.rs
59
96.44
0.05% crates/starfish/core/src/dag_state.rs
63
93.86
-0.21% crates/starfish/core/src/transactions_synchronizer.rs
71
80.83
0.16% crates/starfish/core/src/commit.rs
84
90.22
-0.1% crates/starfish/core/src/header_synchronizer.rs
86
0.0
0.0% crates/iota-indexer/src/pruning/pruner.rs
148
75.13
1.23% crates/starfish/core/src/commit_syncer.rs
518
0.0
0.0% crates/iota-indexer/src/store/pg_indexer_store.rs
Jobs
ID Job ID Ran Files Coverage
1 nextest+simtest - 19382284517.1 15 Nov 2025 04:04AM UTC 1430
65.94
GitHub Action Run
Source Files on build 19382284517
  • Tree
  • List 1428
  • Changed 57
  • Source Changed 29
  • Coverage Changed 57
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19382284517
  • ef87d5d6 on github
  • Prev Build on develop (#19351335464)
  • Next Build on develop (#19398428317)
  • 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