2 Commits
Author SHA1 Message Date
argoyle 036295cced feat: move module path to git.unbound.se (#26)
Unbound Release / Check Preconditions (push) Successful in 2s
Unbound Release / Create Tag (push) Skipped
Unbound Release / Generate Changelog and Handle PR (push) Successful in 14s
pre-commit / pre-commit (push) Skipped
subscriptions / test (push) Skipped
subscriptions / vulnerabilities (push) Skipped
Unbound Release / Create Release (push) Successful in 5s
Release / release (push) Successful in 6m19s
subscriptions / coverage-baseline (push) Successful in 49s
2026-10-17 18:08:03 +00:00
argoyleandClaude Opus 4.8 da4e7df6ce feat: type-generic registry for cross-service read-your-writes subscriptions
subscriptions / test (push) Has been skipped
subscriptions / vulnerabilities (push) Has been skipped
Release / release (push) Successful in 38s
subscriptions / coverage-baseline (push) Successful in 2m58s
pre-commit / pre-commit (push) Successful in 4m58s
The shared core of Shiny's cross-service read-your-writes GraphQL subscriptions
(ADR-0012), extracted and hardened from the near-identical hand-rolled handlers
in authz-service (availableCompanies) and accounting-service (entryBasesChanged)
before a third copy is written.

Registry[T] owns the keyed subscriber map, non-blocking buffered fan-out (sends
under the read lock so a close can't race a send), a key-sharded worker pool that
runs the read-view gate OFF the AMQP delivery goroutine (preserving per-key FIFO
order while distinct keys run in parallel), the bounded retry/timeout budget, and
Observer metric hooks. Services supply only the event->key+payload mapping, the
read-view Producer closure, and the per-replica transient-consumer wiring.

Reviewed pre-publish (Go + Event Sourcing + Architecture). 99% coverage, race-clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 14:22:34 +02:00