Commit Graph

5 Commits

Author SHA1 Message Date
claude-timemachine 657fca325e automc: pg LISTEN/NOTIFY route source + HTTP waker
Adds opt-in extension package internal/automc/ that:
- Subscribes to Postgres notifications on a 'servers' table and pushes
  route changes into server.Routes (no file I/O, no fsnotify).
- Provides a WakerFunc that POSTs to a configurable HTTP control plane
  (server-manager) and polls until state=running.

When AUTOMC_DSN is unset, Wire() is a no-op and the binary behaves
exactly like upstream itzg/mc-router. Single patch site in main.go
(import + 4-line call) keeps upstream rebases trivial.

See docs/AUTOMC.md for env vars and the expected DB schema/trigger.
2026-05-27 11:10:02 +02:00
Geoff Bourne 1f31bc11d8 ci: ensured Makefile test goal is "phony" 2020-07-05 20:14:14 -05:00
Geoff Bourne 5576f484dd Switch to go modules 2019-04-15 21:16:26 -05:00
Geoff Bourne 682ceb9589 ci: abstract glide into makefile 2018-05-26 12:42:41 -05:00
Geoff Bourne fccf5f9eef Setup CircleCI and goreleaser 2018-05-09 18:37:15 -05:00