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

iotaledger / iota / 37713070747
72%

Build:
DEFAULT BRANCH: develop
Ran 08 Oct 2026 02:22AM UTC
Jobs 1
Files 1109
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

07 Oct 2026 01:24PM UTC coverage: 70.533% (+0.07%) from 70.465%
37713070747

push

github

web-flow
chore(iota-node,typed-store,iota-e2e-tests): remove database checkpoint leftovers, add a state snapshot e2e test (#12977)

# Description of change

Last PR of the state snapshot stack: removes what the old database-copy
approach left behind and adds an end-to-end test.

- Removes `Database::checkpoint` and `DBMap::checkpoint_db`, which no
longer have callers.
- At startup, deletes the `<db-path>/db_checkpoints` directory that
earlier releases wrote. It holds hard links to SST files the live store
has since compacted away, so it keeps using disk.
- Adds a simtest in which a fullnode publishes the state snapshot of
each epoch it leaves, across two epoch changes forced by the test. The
test waits for the `_SUCCESS` marker, which is only written once the
scanned digest matches the epoch's commitment. To support it, the
fullnode config, swarm and test cluster builders get a
`with_state_snapshot_config` option.
- The startup cleanup points at #12968, which tracks removing it,
together with #12966's pruner database migration, once a release
containing them has shipped.

## Links to any relevant issues

- Stacked on #12853.
- Removal tracked in #12968.

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

- `cargo simtest -p iota-e2e-tests --test state_snapshot_tests` passes.
- The cleanup tests build a `NodeConfig`, and check that
`<db-path>/db_checkpoints` is removed while `<db-path>/live` is left
alone.
- `cargo clippy --all-targets --all-features -- -D warnings` passes over
the crates the stack changes, and so do the unit tests of `typed-store`,
`iota-snapshot`, `iota-node`, `iota-swarm-config`, `iota-config` and
`iota-core` (lib).

### Release Notes

- [x] Nodes (Validat... (continued)

57 of 61 new or added lines in 4 files covered. (93.44%)

1228 existing lines in 39 files now uncovered.

186635 of 264605 relevant lines covered (70.53%)

438997.33 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
88.47
0.61% crates/iota-node/src/lib.rs
1
81.97
0.43% crates/iota-swarm/src/memory/swarm.rs

Coverage Regressions

Lines Coverage ∆ File
263
87.78
0.59% crates/iota-core/src/authority.rs
170
88.47
0.61% crates/iota-node/src/lib.rs
169
45.64
-0.05% crates/iota-replay/src/replay.rs
123
84.18
0.0% crates/iota-core/src/jsonrpc_index.rs
120
78.71
-0.01% iota-execution/latest/iota-adapter/src/execution_engine.rs
105
87.55
0.33% crates/typed-store/src/database.rs
45
89.81
0.69% crates/iota-config/src/node.rs
35
86.72
2.18% crates/iota-core/src/authority/authority_store_tables.rs
22
63.21
-1.5% crates/iota-json-rpc-types/src/iota_transaction.rs
18
91.82
-0.09% crates/iota-snapshot/src/writer.rs
18
81.11
1.6% crates/test-cluster/src/lib.rs
12
93.3
17.5% crates/iota-snapshot/src/uploader.rs
11
74.31
-1.01% crates/iota-network/src/randomness/mod.rs
9
89.41
1.95% crates/iota-test-transaction-builder/src/lib.rs
8
67.27
12.73% crates/iota-storage/src/object_store/util.rs
8
71.74
0.0% crates/iota-types/src/account_abstraction/authenticator_function.rs
8
78.0
-8.0% crates/iota-vm-sdk/src/executor/types.rs
7
91.71
0.17% crates/iota-core/src/execution_cache/writeback_cache.rs
7
95.36
-0.02% crates/iota-vm-sdk/src/executor/prepare.rs
7
96.03
-0.38% crates/starfish/core/src/transactions_synchronizer.rs
6
79.46
-2.68% crates/iota-genesis-builder/src/validator_info.rs
6
72.11
-4.08% crates/iota-json-rpc-types/src/lib.rs
6
87.0
-6.0% crates/iota-node-transaction-builder/src/lib.rs
6
53.59
-1.17% crates/iota-types/src/storage/shared_in_memory_store.rs
5
83.91
-5.75% crates/iota-traffic-controller/src/sim.rs
4
67.7
-0.34% crates/iota-core/src/authority/authority_store.rs
4
75.81
-1.86% crates/iota-core/src/test_utils.rs
4
52.72
1.36% crates/iota-sdk/src/apis/read.rs
3
20.59
-2.21% crates/iota-json-rpc-types/src/iota_checkpoint.rs
3
79.37
-1.05% crates/iota-sdk/src/lib.rs
3
83.22
-1.05% crates/iota-sdk/src/wallet_context.rs
3
84.21
-3.16% crates/starfish/config/src/crypto.rs
3
95.79
-0.08% crates/starfish/core/src/authority_service.rs
2
55.59
-0.66% crates/iota-core/src/transaction_driver/error.rs
1
89.69
0.69% crates/iota-core/src/connection_monitor.rs
1
68.12
-1.45% crates/iota-data-ingestion-core/src/reducer.rs
1
90.05
0.13% crates/iota-grpc-server/src/types.rs
1
89.07
-0.14% crates/iota-network/src/discovery/mod.rs
1
92.02
0.0% crates/starfish/core/src/leader_timeout.rs
Jobs
ID Job ID Ran Files Coverage
1 nextest+simtest - 37713070747.1 08 Oct 2026 02:22AM UTC 1109
70.53
GitHub Action Run
Source Files on build 37713070747
  • Tree
  • List 1109
  • Changed 60
  • Source Changed 21
  • Coverage Changed 60
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #37713070747
  • 29056798 on github
  • Prev Build on develop (#37557297359)
  • Next Build on develop (#37870057217)
  • 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