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

iotaledger / iota / 26319962911
67%

Build:
DEFAULT BRANCH: develop
Ran 23 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

22 May 2026 03:21PM UTC coverage: 66.91% (-0.007%) from 66.917%
26319962911

push

github

web-flow
fix(typed-store,starfish-core): port upstream storage iterator and VecDeque fixes (#11610)

# Description of change

Ports three upstream correctness fixes touching storage iterators and
consensus block scanning. Each commit corresponds to a separate upstream
PR.

## Upstream PRs ported

- **`fix(starfish-core): handle VecDeque wraparound …`** — port of
MystenLabs/sui#24745. `scan_last_blocks_by_author` in `MemStore` and
`RocksDBStore` used `VecDeque::as_slices().0`, which only covers the
first contiguous segment of the ring buffer; when the deque storage
wraps, the trailing `BlockRef`s are silently dropped. Calls
`make_contiguous()` before slicing. Public API and ordering unchanged.

- **`fix(typed-store): exclude max key when safe_range_iter lower bound
is Excluded`** — port of MystenLabs/sui#26469.
`iterator_bounds_with_range`'s `Bound::Excluded(lower_bound)` arm called
`big_endian_saturating_add_one`, which is a no-op when the encoded key
is all `0xFF`. RocksDB then receives the unchanged max key as its
(inclusive) lower bound and yields the entry the caller asked to
exclude. Mirrors the `is_max` short-circuit already used on the
upper-bound arm: appends a zero byte so the bound is lexicographically
greater than any same-length stored key. Includes regression tests for
`(Excluded(MAX), Unbounded)` and `(Excluded(MAX), Included(MAX))`.

- **`test(typed-store): add regression coverage for safe_range_iter
inclusive upper bound at max`** — test-only port of
MystenLabs/sui#26456. The upstream PR also fixed a `util.rs` bug in the
`Bound::Included(upper_bound)` arm; IOTA's existing port of this code
was already correct (the `if is_max { None } else { Some(...) }`
short-circuit was there from the start), so only the regression tests
are imported.

## IOTA-specific note on the bound symmetry

- **Upper bound (`Bound::Included` at max key):** the original upstream
code (April 2025) was buggy. IOTA's port (March 2026) was written as `if
!is_max { ...Some... ... (continued)

11 of 14 new or added lines in 3 files covered. (78.57%)

408 existing lines in 18 files now uncovered.

152194 of 227460 relevant lines covered (66.91%)

467021.92 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
96.34
1.82% crates/typed-store/src/util.rs

Coverage Regressions

Lines Coverage ∆ File
282
12.78
0.0% crates/iota-graphql-rpc/src/types/object.rs
64
91.66
0.31% crates/iota-core/src/authority/authority_per_epoch_store.rs
12
93.77
-2.02% crates/iota-core/src/congestion_tracker.rs
11
58.86
0.59% crates/iota-core/src/authority/authority_store_pruner.rs
10
69.56
-0.8% crates/iota-core/src/authority/authority_store.rs
7
93.54
-0.48% crates/starfish/core/src/transactions_synchronizer.rs
6
83.82
-1.47% crates/iota-core/src/storage.rs
4
88.77
-0.44% crates/starfish/core/src/commit_syncer/fast.rs
3
90.99
-0.14% crates/iota-core/src/execution_cache/writeback_cache.rs
1
86.11
-2.78% crates/iota-cluster-test/src/test_case/native_transfer_test.rs
1
80.6
-0.11% crates/iota-core/src/authority_server.rs
1
97.21
-0.56% crates/iota-core/src/checkpoints/causal_order.rs
1
89.69
0.34% crates/iota-core/src/connection_monitor.rs
1
89.08
0.0% crates/iota-network/src/state_sync/mod.rs
1
79.56
0.0% crates/iota-types/src/crypto.rs
1
96.86
-0.1% crates/starfish/core/src/cordial_knowledge.rs
1
80.06
-0.31% crates/starfish/core/src/core_thread.rs
1
87.84
-0.45% crates/starfish/core/src/leader_timeout.rs
Jobs
ID Job ID Ran Files Coverage
1 nextest+simtest - 26319962911.1 23 May 2026 02:30AM UTC 1076
66.91
GitHub Action Run
Source Files on build 26319962911
  • Tree
  • List 1076
  • Changed 24
  • Source Changed 5
  • Coverage Changed 24
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26319962911
  • fd45315b on github
  • Prev Build on develop (#26263444057)
  • Next Build on develop (#26348771894)
  • 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