Repository navigation
Karyos 0.1.0-alpha.4
Pre-releaseKaryos 0.1.0-alpha.4
Released 2026-11-23. The second crates.io publication. It adds karyos-trace
to the published crates for karyos-insights (ADR-0068, INS-Q4; karyos#997,
karyos#1033).
Published crates
In dependency order: karyos-sys, karyos-protocol, karyos-trace,
karyos-codec, karyos-codec-derive, karyos-client, karyos-io, karyos-archive,
karyos-cluster, karyos. Depend on them by the exact pre-release, for
example karyos = "=0.1.0-alpha.4" or karyos-trace = "=0.1.0-alpha.4"; a
Cargo pre-release does not match a plain 0.1 requirement. Every other
crate keeps publish = false.
karyos-codec-derive, the codec's derive macro, is published for the first
time because karyos-archive depends on it since karyos#661 (owner decision
2026-11-23). It is internal and unstable, like the other published crates
outside the supported API.
Supported API
The karyos facade, karyos-client and karyos-archive, as in
0.1.0-alpha.3, plus the C ABI under its own 0.y.z rule; and, new in this
release, the analysis surface of karyos-trace:
- the report:
TraceReportand thereportmodule, withTraceAnswer,
PublicationSummary,PublicationKey,JournalClock,JournalId,
HeldMessageandHistogramConfig; - journal sources: the
JournalSourcecontract of thesourcemodule,
withSourceStateandSourceLosses; - histograms:
Histogramand its merge, withHistogramCounts,
SideCounts,QuantileandHistogramError; - clock calibration:
Calibrationandlatencyof theclocksmodule,
withLatency,ClockKey,Observation,CalibrationErrorand
Unavailable; - and the types those signatures name, as listed in the crate's
documentation ("Support").
The rest of karyos-trace (its writers, collectors, agents, sampling and
trace clocks) is internal and unstable. Every other published crate is
internal and unstable in alpha with no compatibility promise. Supported or
not, alpha APIs, wire formats, shared-memory layouts and the C ABI will
change.
Compatibility with 0.1.0-alpha.3
The admission protocol version is 5 (karyos::PROTOCOL_VERSION,
KARYOS_PROTOCOL_VERSION 5, C ABI 0.1.7): a client or driver of 0.1.0-alpha.3 (version 3) is refused at
admission with the typed IncompatibleVersion. Upgrade clients and the
driver together.
Dependencies
The published graph gains the ADR-0086 wire authentication and ADR-0051
archival integrity families: sha2, hmac and zeroize through
karyos-protocol (owner decision D51, quantstratum-docs#990) and
ed25519-dalek with sha2 through karyos-archive (owner decision ACS
71206). The admission review is in RELEASING.md, "Admission review of the
published graph".
libkaryos and karyosd
The first release of the C library as its own artifact (owner item 44,
karyos#700), attached to the GitHub release of v0.1.0-alpha.4, built by
scripts/release-libkaryos.sh at the tag for aarch64 and x86_64 Linux and
aarch64 macOS:
libkaryos-<abi>-0.1.0-alpha.4-<triple>.tar.gz: the header, static and
shared libraries, pkg-config files and the ABI manifest. Its MANIFEST
sayscontents=libraryandexcludes=karyosd: the library holds no
daemon.karyosd-0.1.0-alpha.4-<triple>.tar.gz: the driver daemon alone
(contents=karyosd,excludes=libkaryos).SHA256SUMSper host, the header's ABI version and the struct manifest
(abi-manifest-<abi>.txt).
The soname carries 0.y before 1.0 (soname_policy=0y-exact, owner item
48): a binding requires the exact 0.y line and a library patch at least
its header's. The conformance test kit (make libkaryos-testkit) is not a
release package and is not attached.
Unsigned. The owner deferred signing on 2026-11-23: no release key
exists yet (karyos-deploy ADR-0003, D1 gates). Both MANIFESTs say
signed=no; verify the archives against SHA256SUMS only. A later release
signs them with scripts/sign-release.sh.
Changes
See the 0.1.0-alpha.4 section of CHANGELOG.md.
Evidence
| Check | Command | Platform | Head | Result |
|---|---|---|---|---|
| The local gate | CHANGELOG_RELEASE=1 make pre-push |
Linux (the team's gate pool) | the release head | recorded in the gate comment of karyos#1206 and in the GitHub release of v0.1.0-alpha.4 |
| The Linux tests | scripts/linux-test.sh --workspace --all-features --locked --no-fail-fast |
Docker, Linux | the release head | recorded in the gate comment of karyos#1206 and in the GitHub release of v0.1.0-alpha.4 |
The gates run on the exact head that is merged and tagged, so their results, with that head, live outside the tree: in the pull request's gate comment and in the GitHub release. The joint cargo publish --dry-run, the scratch project build and the libkaryos artifacts' conformance runs are recorded there too, after the tag.
Written exception
As for 0.1.0-alpha.3, this release is not gated by every gate of
RELEASING.md. The owner authorised the publication on 2026-11-23 with
CHANGELOG_RELEASE=1 make pre-push and the full Linux run as its gates
while hosted CI is off (karyos#623). These gates were not run for it:
make loom-full, both Miri halves, make sim, Clippy with every feature
in Docker Linux (pre-push's lint-linux runs it on macOS for
aarch64-unknown-linux-gnu), the network impairment suite, the C library
package, the binding conformance suite and the wire compatibility matrix.
libkaryos and karyosd are released unsigned (see "libkaryos and
karyosd"); the C ABI manifest is committed as the released ABI 0.1.7's,
crates/karyos-ffi/abi/released/0.1.7.txt. This exception covers
0.1.0-alpha.4 only.
Release evidence (recorded at publication, 2026-11-23)
Release head: tag v0.1.0-alpha.4 → merge 72e0b812 of karyos#1206, the same tree as the gated head bc7a9e73.
| Check | Command | Platform | Head | Result |
|---|---|---|---|---|
| The local gate | CHANGELOG_RELEASE=1 make pre-push |
studiom4, macOS 27.2 arm64 | bc7a9e73 |
exit 0; 265 test suites, 5777 passed, 0 failed, 29 ignored |
| The local gate, first run | same | flumix, Linux 7.0 x86_64, load 16 to 21 | bc7a9e73 |
exit 2: one failure, karyos-driver net::subscribe::tests::a_dropped_network_subscription_removes_its_images; passed in the Linux run below and in the four earlier pre-push runs |
| The Linux tests | scripts/linux-test.sh --workspace --all-features --locked --no-fail-fast |
Docker on studiom4, kernel 6.8.0-117, aarch64 | bc7a9e73 |
exit 0; 216 test suites, 5962 passed, 0 failed, 36 ignored |
| Joint package dry run | cargo publish --dry-run --locked over the 10 crates |
studiom4, clean clone | 72e0b812 |
10 packaged and verified, 0 errors |
| Packaged codec requirements | packaged Cargo.toml of each crate |
studiom4, clean clone | 72e0b812 |
karyos-archive: karyos-codec and karyos-codec-derive =0.1.0-alpha.4; karyos-cluster: karyos-codec =0.1.0-alpha.4 |
| Crate names | crates.io API | anonymous | n/a | before publication: karyos-trace and karyos-codec-derive free (404), the other 8 owned only by joaquinbejar; after: all 10 owned only by joaquinbejar |
| Publication | cargo publish --locked -p <crate> in order, each waited for in the sparse index |
studiom4 | 72e0b812 |
all 10 at 0.1.0-alpha.4, 20:56:42 to 20:57:36 UTC, first try each |
| Registry build | scratch project, karyos = "=0.1.0-alpha.4", karyos-trace = "=0.1.0-alpha.4", cargo build |
studiom4 | crates.io | exit 0; 76 registry packages, no path or git source |
| libkaryos conformance, macOS | make libkaryos-release-check (scripts/release-libkaryos.sh, scripts/conformance-package.sh) |
studiom4, macOS arm64 | 72e0b812 |
libkaryos-0.1.7-0.1.0-alpha.4-aarch64-apple-darwin.tar.gz sha256 0f8a28e33c2be68816f9849d3270b8905fe78e66b64454110a33201d376b3ccf: 10 passed, 0 failed (cross-process scenarios are Linux only) |
| libkaryos conformance, Linux aarch64 | same, with make libkaryos-testkit |
Docker rust:1.99 on studiom4, kernel 6.8.0-117 | 72e0b812 |
libkaryos-0.1.7-0.1.0-alpha.4-aarch64-unknown-linux-gnu.tar.gz sha256 b5bc8a08ed153e0d34714be0fa0c5b4a56a5a2bb2c2f60fc3e7fb534d6f4dbb6: 11 passed, 0 failed |
| libkaryos conformance, Linux x86_64 | same | Docker rust:1.99 on flumix, kernel 7.0.0-43 | 72e0b812 |
libkaryos-0.1.7-0.1.0-alpha.4-x86_64-unknown-linux-gnu.tar.gz sha256 3e92577c23bdba1be3d1d1fc154a043f9b6a525f5aaec80d8a8494cdf34e1707: 11 passed, 0 failed |
Every archive's MANIFEST says signed=no; libkaryos archives say contents=library, excludes=karyosd, and karyosd archives contents=karyosd, excludes=libkaryos. Verify downloads against the SHA256SUMS-<triple> file of their platform. karyos-0.1.7.h is the header of ABI 0.1.7, and abi-manifest-0.1.7.txt its struct, constant and declaration manifest (crates/karyos-ffi/abi/released/0.1.7.txt).