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

prisma-risk / tsoracle / 26432330963
95%

Build:
DEFAULT BRANCH: main
Ran 26 May 2026 04:38AM UTC
Jobs 1
Files 88
Run time 1min
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

26 May 2026 04:30AM UTC coverage: 95.462% (-0.02%) from 95.481%
26432330963

push

github

web-flow
feat(openraft-toolkit): version-neutral e2e-max-readable-next feature (#468)

A test-only Cargo feature that raises `MAX_READABLE_VERSION` to
`BASELINE_WRITE_VERSION + 1` and adds matching alias arms on the
per-version codec dispatch, delegating the next-version body to the
baseline body byte-for-byte. This is the prerequisite for a future
mixed-version e2e harness driving a real activation flip end-to-end
(gate → propose → commit → apply → cell flip) without shipping a real
new format.

**Version-neutral by design.** Both the constant and the alias arms
derive from `BASELINE_WRITE_VERSION + 1` (not a literal `5`), and the
feature name (`e2e-max-readable-next`, not `-5`) does not bake in the
current baseline. When the production baseline bumps from 4 to 5, the
alias automatically becomes 6 with no edits to the feature name, the
arm guards, or the round-trip test.

**Toolkit changes** (`tsoracle-openraft-toolkit`).

- New `e2e-max-readable-next` feature in `Cargo.toml`.
- `MAX_READABLE_VERSION` becomes `cfg`-split: still `= 4` in the
  default build; `= BASELINE_WRITE_VERSION + 1` under the feature.
- The pre-existing `version_constants_are_at_the_v4_baseline` test
  is gated `#[cfg(not(...))]` and complemented by a new
  `version_constants_under_e2e_max_readable_next_feature` test under
  the feature, asserting `MAX == BASELINE + 1` against the expression
  so a future baseline bump leaves the assertion correct.
- The `log_store::record_codec_tests::version_constants_are_at_four`
  pin and its `MIN_READABLE_VERSION` / `MAX_READABLE_VERSION`
  imports get the same `#[cfg(not(...))]` gate (the codec.rs test
  covers the feature-on case).
- `unframe_with_version` (toolkit log store) converted to
  `(MIN..=MAX).contains(&version)` — clippy fires
  `manual_range_contains` once `MIN < MAX`, which the previous
  `version < MIN || version > MAX` form would have hit on any
  future range widening regardless. Pre-emptive cleanup.

**Driver changes** (`tsoracle-... (continued)

39 of 43 new or added lines in 3 files covered. (90.7%)

12979 of 13596 relevant lines covered (95.46%)

417975.19 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
95.73
-0.21% crates/tsoracle-driver-openraft/src/state_machine.rs
Jobs
ID Job ID Ran Files Coverage
1 26432330963.1 26 May 2026 04:38AM UTC 88
95.46
GitHub Action Run
Source Files on build 26432330963
  • Tree
  • List 88
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26432330963
  • dda73d66 on github
  • Prev Build on main (#26431025468)
  • Next Build on main (#26432433450)
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