alerts: alias and provider checks cover per-org config #1312

Open
opened 2026-10-27 13:39:53 +00:00 by sam · 0 comments
Owner

Missing or dangling alias and unbound provider alerts only check instance config. Done when per-org aliases and providers raise alerts in their org.

Notes

2026-10-13 investigation: archied has no per-org model read. TaskModels (per task) and CallerModels (caller's org) exist, and the State Store already has control.ModelsFor(ctx, org) (controlPlaneDeps in app/statestore/server.go). Options: (a) State Store runs the org checks itself, since it owns the alert rows and the org list; the no-default-alias and provider-no-credential checks need no catalog, only the dangling-model check does, so it stays in archied. Smallest change, no new RPC. (b) New archied RPC for ModelsFor per org: a new mechanism, do not take without a decision. Leaning (a).


Imported from beads archie-core-f167i · GitHub #1643 · type task · priority P3 · created 2026-10-11

Missing or dangling alias and unbound provider alerts only check instance config. Done when per-org aliases and providers raise alerts in their org. ### Notes 2026-10-13 investigation: archied has no per-org model read. TaskModels (per task) and CallerModels (caller's org) exist, and the State Store already has control.ModelsFor(ctx, org) (controlPlaneDeps in app/statestore/server.go). Options: (a) State Store runs the org checks itself, since it owns the alert rows and the org list; the no-default-alias and provider-no-credential checks need no catalog, only the dangling-model check does, so it stays in archied. Smallest change, no new RPC. (b) New archied RPC for ModelsFor per org: a new mechanism, do not take without a decision. Leaning (a). --- _Imported from beads `archie-core-f167i` · GitHub #1643 · type task · priority P3 · created 2026-10-11_
sam added the lowtask labels 2026-10-27 13:39:53 +00:00
sam self-assigned this 2026-10-27 13:39:53 +00:00
sam added the deferred label 2026-11-15 17:26:19 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1312