Skip to content

[M6.1] Log shipping, search and container exec #232

Done

Description

@samuelmbabhazi

Task id

M6.1

Track

A: agent, C: control plane, W: web UI

Scope

  • Agent ships logs to VictoriaLogs with labels; UI live tail and search; 30-day retention.
  • ExecStream: typed, RBAC-checked and audited container exec sessions (rule 3); the gateway currently answers Unimplemented.

Acceptance criteria

Logs of a running application appear in the UI live and are searchable; exec sessions are audited, and refused without the permission.

Depends on

M1.4

Activity

  1. added
    help wanted
    on Nov 20, 2026
  2. added
    v0.1-stable
    on Nov 21, 2026
  3. samuelmbabhazi commented on Nov 27, 2026

    @samuelmbabhazi
    CollaboratorAuthor

    Done. Every part of this issue is merged. ADR 0029 (#452) records the maintainer's decision of 2026-11-24: a dedicated ShipLogs client stream, so the closed agent action list did not change for logs.

    Log shipping, search and live tail

    Container exec

    Acceptance

    • Logs of a running application appear in the UI live and are searchable: checked on a real server (lab cp23/node23): the Logs tab follows new lines live, and searches them.
    • Exec sessions are audited, and refused without the permission:
      • exec-sessions.spec.ts: "queues the agent action for the running replica, audits it…"; "refuses without the permission…";
      • exec-socket.spec.ts: "refuses another origin, no sign-in, another person, no permission…";
      • exec-relay.spec.ts: "audits the exit".

    The deployment page's build and release logs (#265) build on this and stay in that issue.

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

    help wantedneeds-decisionpriority:P1security-reviewtasktrack:agenttrack:control-planetrack:webv0.1-stable

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions