feat(broker): migrations-based install, roles, RLS, and job dependency groups
Replace the ad-hoc tables/procedures install layout with versioned, ordered SQL migrations tracked in broker_schema_migrations. Add optional least-privilege role provisioning (--with-roles), multi-tenant row-level security, lease-based job claiming with stale-lease recovery, and job dependencies -- both by job id and by fan-in job group. Add Docker/Compose support for running the broker and its test suite.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# PostgreSQL Schema and Function Recommendations
|
||||
|
||||
/home/warkanum/.claude/plans/binary-puzzling-mountain.md
|
||||
**Review date:** 2026-09-14
|
||||
**Scope:** `pkg/broker/install/sql` tables and functions, including their interaction with the Go worker.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user