You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Operations engine: four Low observations from the #774 review (tiers-rerender declares no namespaces:write, and others) #786
Part of #26. Found by reviewer 2 (Fable) on PR #774, 2026-12-01 (docs/reviews/2026-12-01-issue-26-operations/reviewer-2-fable.md, "Seen, Low"). None is tested yet; each needs a test that fails before its fix.
Each is stated from the code; none was tested, and none is in final.diff.
ops/templates/tiers-rerender.yaml names no permissions. A custom role with operations:run and no namespaces:write
starts a run whose every item then fails 403. permissions: [namespaces:write] would refuse the start, as reconcile's approvals:pause does. The built-in roles always hold both (core/authz.py:28).
routers/operations.pylist_operations reads every operations row and every step row of the rows it may show, then
pages in Python.
advance gives slots to runs in the order they started, so a long rebuild-verify (no waiting steps) holds every slot
until it ends.
GET /operations/{id} answers 404 for no run and 403 for a run out of scope, which tells the two apart (reviewer 1 noted
it); IDs carry 32 random bits a day.
Activity