Skip to content

Operations engine: four Low observations from the #774 review (tiers-rerender declares no namespaces:write, and others) #786

Backlog

Description

@ephico2real2

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.py list_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.

Severity: Low, not security.

Activity

  1. added
    bug
    sev:low
    Backlog
    on Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Backlogbugsev:low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions