sam closed issue sam/archie#1931 2026-11-12 17:15:29 +00:00
daemon: extract issue polling
sam pushed to main at sam/archie 2026-11-12 17:15:28 +00:00
0cd9cefd76 refactor(daemon): binding dispatch is its own type (#1930)
0a770ed171 refactor(daemon): PR review scanning and reactions are their own type (#1933)
0d13b919da refactor(daemon): issue polling is its own type (#1931)
Compare 3 commits »
sam commented on issue sam/archie#1931 2026-11-12 17:15:28 +00:00
daemon: extract issue polling

Done in 0d13b919: extracted onto its own type with a constructor taking required dependencies; task check passed.

sam closed issue sam/archie#1930 2026-11-12 17:15:28 +00:00
daemon: extract binding dispatch
sam commented on issue sam/archie#1930 2026-11-12 17:15:28 +00:00
daemon: extract binding dispatch

Done in 0cd9cefd: extracted onto its own type with a constructor taking required dependencies; task check passed.

sam commented on issue sam/archie#1929 2026-11-12 17:08:55 +00:00
daemon: drop dead nil paths and group methods by cluster

Done in 63a17509: nil checks remain only for ContainerPool, Storage and ModelEgress; buildDaemon assigns the State Store client directly; reactions are wired in Startup; the unused retry knobs are…

sam closed issue sam/archie#1929 2026-11-12 17:08:55 +00:00
daemon: drop dead nil paths and group methods by cluster
sam pushed to main at sam/archie 2026-11-12 17:08:55 +00:00
63a1750936 refactor(daemon): drop nil paths production never takes; one file per cluster (#1929)
sam opened issue sam/archie#1936 2026-11-12 16:57:21 +00:00
Log with context in sdnotify and staterpc logFailure
sam commented on issue sam/archie#1927 2026-11-12 16:57:21 +00:00
Log through the injected logger with context

Done in f4c304cf for archied, prbench and the injected-logger sweep. natsrpc.RegisterAll and its wrappers now take the registering context (handlers use it without cancellation), which removed the…

sam closed issue sam/archie#1927 2026-11-12 16:57:21 +00:00
Log through the injected logger with context
sam closed issue sam/archie#1925 2026-11-12 16:57:20 +00:00
access: Authorize takes a context
sam closed issue sam/archie#1928 2026-11-12 16:57:20 +00:00
gateway: turn owner ID made by the composition root
sam commented on issue sam/archie#1928 2026-11-12 16:57:20 +00:00
gateway: turn owner ID made by the composition root

Done in d0118756: the gateway composition root makes one owner ID per process and passes it to every turn runner; NewTurnRunner rejects an empty one. task check passed.

sam commented on issue sam/archie#1925 2026-11-12 16:57:20 +00:00
access: Authorize takes a context

Done in afaea346: Authorize and AuthorizeDelivery take ctx; Live no longer stores a context; NewPending lost its unused ctx. task check passed.

sam commented on issue sam/archie#1924 2026-11-12 16:57:19 +00:00
Log NATS ack/nak failures instead of discarding them

Done in 68e8552f: reaction, span relay and event consumer ack/nak failures are logged. The one in the daemon's submitNATSTask goes with #1929. task check passed.

sam closed issue sam/archie#1924 2026-11-12 16:57:19 +00:00
Log NATS ack/nak failures instead of discarding them
sam closed issue sam/archie#1923 2026-11-12 16:57:19 +00:00
Replace remaining error text matches with typed checks
sam commented on issue sam/archie#1926 2026-11-12 16:57:18 +00:00
config: service registry is static data

Done in 1c191b4e: the service registry is a map literal; RegisterService, init() and its panics are gone. task check passed.

sam closed issue sam/archie#1926 2026-11-12 16:57:18 +00:00
config: service registry is static data