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

iotaledger / iota / 31347301732
70%

Build:
DEFAULT BRANCH: develop
Ran 10 Aug 2026 02:25AM UTC
Jobs 1
Files 1062
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 Aug 2026 01:13PM UTC coverage: 69.478% (-0.002%) from 69.48%
31347301732

push

github

web-flow
feat(typed-store): add `TaggedDBMap` (#12448)

# Description of change

Three `typed-store` additions, all self-contained and with no callers
changed yet:

- **`TaggedDBMap`** — several typed maps share one column family, each
with a tag byte prefixed to its keys (the big-endian fixint
serialization of `(tag, key)` is exactly that), so each map occupies a
contiguous key range. Useful for sets of tables that are always created
and dropped together: one column family instead of one per table keeps
the column-family and SST-file counts low. Every read is scoped to the
map's tag — full scans iterate the tag's key prefix, ranges are
two-sided within it — so rows of other tags never surface and their
differently-typed values are never deserialized.
- **`Database::create_cf`** — create a column family at runtime,
mirroring the existing `drop_cf`. `RocksDB::cf_names` becomes an
`RwLock<Vec<String>>` so runtime creates and drops keep it in sync,
which in turn keeps `flush_all` covering the current set of column
families.
- **Slow-batch-write threshold scales with batch size** — the warning
fired at a flat 1s regardless of how much was written, so large bulk
batches logged `very slow batch write` as a matter of course. The
threshold is now `batch_size / 32 MiB/s`, floored at 1s, so a small
write taking a second is still reported as a genuine stall. `batch_size`
is included in the log line.

`DBMap::reopen`'s `is_deprecated` parameter is renamed to
`skip_metrics_reporting` — it always meant "don't spawn the
per-column-family metrics task", and the second reason to skip it is a
large set of rarely-touched column families. Behaviour is unchanged.

## Links to any relevant issues

None — groundwork for upcoming work that needs many short-lived tables.

## 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 ... (continued)

315 of 336 new or added lines in 6 files covered. (93.75%)

172 existing lines in 16 files now uncovered.

167443 of 241003 relevant lines covered (69.48%)

467223.34 hits per line

Uncovered Changes

Lines Coverage ∆ File
12
87.04
0.0% crates/typed-store/src/database.rs
7
0.0
0.0% crates/typed-store/src/memstore.rs
2
75.12
0.0% crates/typed-store/src/test_db.rs

Coverage Regressions

Lines Coverage ∆ File
99
87.04
0.0% crates/typed-store/src/database.rs
10
67.31
-0.84% crates/iota-core/src/authority/authority_store.rs
9
84.96
-0.82% crates/iota-json-rpc/src/read_api.rs
9
90.0
-0.76% crates/iota-network/src/state_sync/mod.rs
9
97.33
0.0% crates/typed-store/src/rocks/mod.rs
7
91.39
-0.38% crates/iota-core/src/execution_cache/writeback_cache.rs
7
75.12
0.0% crates/typed-store/src/test_db.rs
5
0.0
0.0% crates/typed-store/src/memstore.rs
4
91.0
-0.12% crates/iota-core/src/authority/authority_per_epoch_store.rs
4
86.35
-0.5% crates/iota-core/src/storage.rs
2
89.35
0.0% crates/iota-core/src/connection_monitor.rs
2
79.23
-0.28% crates/iota-core/src/traffic_controller/mod.rs
2
74.6
-0.29% crates/iota-network/src/randomness/mod.rs
1
93.23
-0.08% crates/starfish/core/src/commit_syncer/fast.rs
1
78.4
-0.15% crates/starfish/core/src/commit_syncer/mod.rs
1
99.25
0.0% crates/typed-store/src/metrics.rs
Jobs
ID Job ID Ran Files Coverage
1 nextest+simtest - 31347301732.1 10 Aug 2026 02:25AM UTC 1062
69.48
GitHub Action Run
Source Files on build 31347301732
  • Tree
  • List 1062
  • Changed 19
  • Source Changed 0
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31347301732
  • 748d3a8e on github
  • Prev Build on develop (#31288409572)
  • Next Build on develop (#31449538591)
  • 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