Released: TBD
Compare: v0.12.0-alpha.19…v0.12.0-alpha.20
A throughput release. Two performance programs land together: spec #102 (profiling-driven runtime optimization: pooled connections, batched reads and acks, worker pools, ES256 signing, missing Mongo indexes) and spec #111 (the ingest and delivery throughput program, Stages 0–3: one-trip writes, pipelined delivery, concurrent poll claims, and an opt-in local WAL). A cluster fix batch (#347–#350) closes the cross-node hand-off and stream-table gaps that the two-node benchmark exposed. Alongside them, spec #80 sets a TLS floor on business streams, and a run of key-lifecycle fixes makes signing keys behave correctly across rotation, expiry and nodes.
This alpha has several behaviour changes operators and clients must act on:
POST /key/{issuer}?alg= (goSignals create key --alg), then
the stream. A signing transmitter with no active key is refused on save
(#308). force=replace now replaces only the named algorithm’s keys.I2SIG_ISSUER_KEY_LIFETIME; 0 or never turns expiry off). Existing
key records have no dates and never expire. There is no backfill.https (#322, spec #80) unless the
stream sets tx_allow_plaintext. The I2SIG_INSECURE_SSTP_HTTP
environment gate is retired.503 + Retry-After, not 400, when the
store cannot durably accept a SET (#333)./var/lib/postgresql, the Keycloak env
vars use their KC_* names, and the dev admin host port is 8081. The
bootstrap realm now seeds the operator role that admin requires (#344).Mongo 8.0 is now the target: one-trip ingest uses the 8.0 multi-namespace
bulkWrite and falls back on older servers (ADR 0043). All compose beds pin
mongo:8.0.13. The default durability contract is unchanged: every
acknowledged SET is majority-journaled (ADR 0038). Local WAL durability is
opt-in per stream and refuses to start on a multi-node cluster (ADR 0045).
pendingEvents/deliveredEvents {sid,jti} and {jti}, built
on every start, not only for a new database (#288).GOMAXPROCS (#285, ADR 0037,
I2SIG_PUSH_CONCURRENCY).goSignalsBench (#329). Baseline in docs/perf/throughput-baseline-alpha20.md.I2SIG_STORE_GROUP_COMMIT_WINDOW / _MAX); events and pending in one
bulkWrite with a pre-8.0 fallback (#331, ADR 0043); per-collection write
concern, events/pending majority and delivered w:1 (#332); 503 +
Retry-After on ingest store failure (#333, I2SIG_INGEST_RETRY_AFTER);
fencing token enforced on acks, runner leases released on stop, expired
lease reads as unowned (#334).returnImmediately honoured (#337); 2–4
outstanding polls in the poll receiver (#338); K outstanding pushes and SSTP
batches per stream (#339, ADR 0044). Data race on concurrent
RemoteAddress persist fixed (#346).I2SIG_STORE_WAL=local with a drain worker
(#340, ADR 0045); drain before lease release and replay before ingest on
restart, with WAL metrics (#341); ring-fed delivery reading the local WAL
first (#342); per-stream durability attribute and the multi-node
refuse-to-start guard (#343). The WAL is an append-only segment log with one
fsync per group (ADR 0046).toe keeps sub-second precision across
hops.docs/configuration_properties.md; per-slice
measurements are under docs/perf/.I2SIG_CLUSTER_ADVERTISE_URL, with a
warning on duplicates; the cluster composes now set one per node (#348).POST /_cluster/stream-changed instead of waiting for the 40 s sync (#349).
The sync now removes streams that are gone, stopping their runners and
releasing leases; a reaper clears stale node and lease rows (#350).POST /key/{issuer}?alg= accepts RS256 (default), ES256 and ML-DSA-65;
create, rotate and replace act on one algorithm (#314).409 (#311).docs/operations.md, “Upgrading a store from v0.11.0 through
v0.12.0-alpha.19”.not_before/not_after. A key outside its validity never signs,
and a background check pauses idle streams at key expiry (#318). PEM uploads
read every block; EC P-256 and ML-DSA-65 certificates are accepted
(ADR 0042).event_source (#296), and the pair’s
event_source is immutable. iss/aud accept StringOrURI and only warn on
shape (#298).receive_mode on the pair bootstrap (#306). Stream update
accepts route_mode, iss, aud and the issuer JWKS URL.event_source to
DIRECT, matching the router (#299, #302).stream/list returns whole records (#300).POST /status and PUT/PATCH /stream resolve an SSTP pair’s halves per
direction. Every pair status, including disable, is pair-level. A
stream-bound token is confined to its bound streams (#303).404 only for a missing stream, 400 for a
rejected update and 500 (with no error text) for a store failure (#305).tx_alias credential goes only to the alias host. An unregistered
tx_alias answers 400. A LOCAL stream is not rejected when its upstream
cannot be checked.https unless tx_allow_plaintext is set. This is checked on
create and update and enforced at every dial. The CLI gains
--allow-plaintext (#322, PR #323).X509Source instead of opening one per
call. Shutdown, contention, eviction and proxy handling were hardened in
review (#326).I2SIG_PPROF_ADDR) with mutex and block profiling
(#292); dev-stack profiling targets (PR #282).goSignalsBench: an end-to-end load and routing harness with push, poll and
SSTP legs, a concurrency sweep and per-leg latency, plus
docker-compose-benchmark.yml.docs/perf/ (PR #327).postgres:18-alpine with the 18+ volume layout, Keycloak 26.7.3,
KC_BOOTSTRAP_ADMIN_* / KC_HOSTNAME / KC_HTTP_HOST. The Keycloak issuer is
now always https://keycloak:9080/realms/gosignals (PR #295). mongo:8.0.13
is pinned across all beds.operator realm role for both bootstrap users
(#344).eventRouter tests no longer leak a poll or push buffer goroutine, so
the make qa leak check is green again (#354, PR #355).