Skip to content

[Admin][UI] Errors & Ops page #40

Description

@serge-ivo

[Admin][UI] Errors & Ops page

Scope

  • Ops queue (top): cards for stuck/failed coding sessions & workflows, instances with a dead runtime, agents in error, no-key users, recent error spikes — each linking to the offending user/instance.
  • Errors feed: cross-user error_log with filters (source/level/since/user), newest-first, expandable stack/context.
  • Trace viewer: query agent_events by trace_id/instance to reconstruct a run timeline (chat + apply + tool + error interleaved).
  • MCP audit: table of MCP tool calls (user/tool/scope/allow-deny/time).

Acceptance criteria

  • Ops cards compute live and link through.
  • Errors feed filters + paginates; stack/context expandable.
  • Trace viewer reconstructs a run by trace id.
  • MCP audit is filterable.

Relevant code

  • store/admin/ Errors/Ops page; consumes Errors/Events/Ops/MCP-audit API.

References

  • FGS Ops + Errors + SessionView; FAS agent-errors.

Part of the PAGS Admin Portal epic. Depends on UI scaffold + Errors/Trace/Ops API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    admin-portalPAGS admin/operator portalenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions