Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Road to 1.0

Every published crate is 0.x alpha and not production-ready. This page gives the exit criteria for ergo-sbe and ergo-aeron-cluster: criteria, not a date.

Breaking changes on 0.x

Rule0.x
API breaksAllowed in any release
Deprecation periodNone: an item is removed or changed in place
RecordCHANGELOG.md lists every break
Wire formatNot covered: official SBE wire compatibility still holds

ergo-sbe (reaches 1.0 first)

Ship 1.0.0 of ergo-sbe only when all of the following hold:

  1. API freeze audit complete: decisions in API freeze are stable; no pending renames of generated stage / wrap / FixedFields surface without a major.
  2. Parity gate: every maintained ergon vs sbe-tool comparison passes the benchmark gate in both LTO profiles for three consecutive releases, with the gate output attached to each release. Ceilings and the inconclusive rule: sbe/BENCHMARKS.md.
  3. Wire compatibility: dual-encode parity tests and golden API shape remain green; no deliberate wire break without a major.
  4. Trust boundary: fuzz corpus on decode entry stays green in CI; Miri fixtures for unaligned paths stay green; no known P0 safety issues open.
  5. Docs: book chapters for migration (sbe-tool), trust boundaries, buffer sizing, and type-state design notes are published and linked from the crate README.
  6. External signal: at least one external user (or production pilot) has reported wire + latency results against their own schema, or an equivalent published case study in the repo.

Until then the disclaimer stays, but it points here instead of reading as a permanent warning.

ergo-aeron-cluster (separate clock)

Cluster 1.0 is not tied to sbe 1.0. Additional criteria (illustrative):

  • Stable session lifecycle and error types under multi-node test harness
  • Documented Aeron version matrix and rusteron compatibility
  • Codec generation locked to a released ergo-sbe major
  • Separate performance gate (just bench-cluster) with recorded baselines

Cluster may remain 0.x after sbe 1.0.

What 1.0 is not

  • Not “feature complete for every SBE edge case in every venue schema”
  • Not a promise that your schema’s latency matches the car/L3 benches
  • Not a freeze of optional config knobs’ defaults without changelog

Tracking

  • Release process: Verification and release.
  • Changelog: repository root CHANGELOG.md.
  • External pilot: External schema pilot.
  • Cluster compatibility: Cluster compatibility.
  • Generated API snapshots: scripts/check-generated-public-api.sh diffs generated codec surfaces against api/generated/*.txt, so every surface change is reviewed. It tracks changes; it does not forbid them.
  • Benchmark evidence: just bench + just bench-cluster write provenance-stamped Criterion trees; scripts/package-bench-artifacts.sh attaches them to a GitHub release. A number without a matching run-id / HEAD commit is not evidence.

Status

A claimed 1.0 streak tag must be an ancestor of main (git merge-base --is-ancestor <tag> main), not merely a GitHub Release. git describe --tags is not the check.

CriterionStatus
1. API-freeze auditOpen. Generated-API snapshot diffs (api/generated/) track every surface change.
2. Parity gateOpen. Needs three consecutive releases on main with gate output attached.
3. Wire compatibilityDual-encode parity tests run in CI. FIX SBE conformance: suite tests 1–3 run in CI; the RLValidator leg runs weekly and in just release, not per push (External pilot).
4. Trust boundaryFuzz + Miri fixtures exist; any open P0 is blocking.
5. DocsBook + migration pages published.
6. External signalOpen. In-repo FIX SBE is internal evidence, not an external user. See external-pilot.md.
Cluster 1.0Separate clock; compatibility + just bench-cluster exist.