~ knotless Search/
↑↓ move↵ open⇧↵ all results

zat.dev/stream

jetstream v2 in zig · mirror of https://tangled.org/zat.dev/stream

0
0
68 lines · 3.3 KB Raw History
# Stream 0.0.2 maintenance record

Work began 2026-11-04 America/Chicago (2026-11-05 UTC). The production baseline
was Stream `3f7d356`, Caddy `stream-caddy:emudhra-20261021`, Ubuntu 24.04.3,
running kernel `6.8.0-90-generic`, and `net.mptcp.enabled=0`.

## Dependencies

| Component | Before | Candidate |
| --- | --- | --- |
| Zig | 0.17.0 | 0.17.1 |
| zat | 0.6.0-alpha.6 | 0.6.3 |
| websocket (server and loadgen) | 0.2.0-alpha.5 | 0.2.0 |
| xxHash | 0.8.3 | 0.8.4 |
| zstd | 1.5.7 | unchanged; latest release |
| rocksdb-zig | 30cf93d / RocksDB 9.7.4 | unchanged; latest wrapper revision |
| otel-zig | 0.1.0-alpha.1 | unchanged; latest selected release |
| Caddy / Go | 2.10.2 / 1.26.10 | 2.11.9 / 1.27.3 |
| caddy-ratelimit | 0.1.0 | unchanged; latest release |
| Strata lexicons | 2.1.0 | 2.1.1 |
| Strata TypeScript / Wrangler | 5.9.3 / 4.127.1 | 7.0.2 / 4.157.0 |

Other Strata development pins are recorded in its manifests and lockfiles.
The latest RocksDB engine is 11.13.2, but replacing the wrapper's bundled 9.7.4
requires a separate migration with storage reopen and rollback evidence.

## Kernel mitigation

[Ubuntu's CVE-2026-98432 advisory](https://ubuntu.com/security/CVE-2026-98432)
still listed Noble as vulnerable, with a fix in progress in 6.8.0-149.149.
Refreshing the production APT indexes offered only 6.8.0-147.147, already
installed but not booted. No patched-kernel claim is warranted.

Applied `deploy/security/` without restarting the service. Verified the
persistent unit, dedicated nftables table, fresh SSH connection, MPTCP still
disabled, and advancing upstream sequence (35,207,904,491 → 35,207,920,091).
The public `/healthz` URL returned 404; `/status` remained live. Do not mistake
the proxy's route behavior for the internal health endpoint's behavior.

This filter reduces exposure; it is not a kernel fix. A kernel upgrade and
reboot remain necessary once the fixed Ubuntu package is available. General
host package updates and monitoring-image upgrades are not included in the
Stream binary release.

## Evidence and admission

Strata typechecking, lint, eight tests, npm audit (zero reported vulnerabilities),
parser regeneration, and Worker packaging dry run passed. Node's SQLite test
API emits its existing experimental warning; it is not suppressed.

Native macOS builds, debug and ReleaseSafe unit suites passed (368 passed, one
Linux-only process-metrics skip). Linux x86-64 and ARM64 ReleaseSafe cross-builds
and loadgen compiled without compiler warnings. The live TLS probe rejected all
three compromised-certificate hosts and accepted the valid control. Fault-injection
tests emit expected runtime warnings. The admission rejection contract passed.

The WebAssembly probe fails in the RocksDB build script's unsupported-WASI
branch. See [build targets](../build-targets.md).

The October 27 sibling build audit informed the paired transport upgrades and
manifest-version fallback. ZDS supplies the version fallback pattern; Zeldi
shows the separation between native hosts and portable WebAssembly modules.
The timestamp API adaptation preserves the pinned upstream layout in
`d4dd2f0:internal/subscribe/encoder.go:47`.

Release admission and deployment are pending. A tag or successful cross-build
is not an admission receipt. Production cutover requires the complete serialized
Prefect gate, a verified image identity, and post-deploy delivery checks.