Skip to content
This repository was archived by the owner on Feb 12, 2026. It is now read-only.

feat: stream observability to web - #36

Merged
danpasecinic merged 12 commits into
developmentfrom
feat/render-observability-in-web
Dec 19, 2025
Merged

feat: stream observability to web#36
danpasecinic merged 12 commits into
developmentfrom
feat/render-observability-in-web

Conversation

@danpasecinic

@danpasecinic danpasecinic commented Dec 19, 2025

Copy link
Copy Markdown
Owner

This pull request introduces comprehensive support for real-time streaming of logs for both tasks and pods, across the backend (Go server and agent) and the frontend (React web app). The changes add new API endpoints for streaming logs, implement streaming logic on the backend, and provide a new log viewer component on the frontend to display live logs with user controls.

Backend: Log Streaming Support

  • Adds streaming log endpoints for tasks and pods to both the master (internal/master/api/) and worker/agent (internal/worker/agent/) APIs, including proxying logic and SSE (Server-Sent Events) support for live log delivery. [1] [2] [3]
  • Implements log streaming methods in the agent, including Docker log streaming and handling for both tasks and pods. Introduces a LogStream type and utility functions for processing Docker log output. [1] [2] [3] [4] [5] [6]

Frontend: Log Viewer Integration

  • Adds a new LogViewer React component (log-viewer.tsx) with features like live streaming indicator, pause/resume, scroll-to-bottom, download, and clear logs. [1] [2]
  • Integrates log viewer routes for both pod and task logs in the app routing. [1] [2]
  • Exposes new log-related hooks for fetching and streaming logs.

These changes together enable users to view, stream, and interact with live logs for pods and tasks directly from the web UI, improving observability and debugging capabilities.

@danpasecinic
danpasecinic merged commit a9aea6a into development Dec 19, 2025
18 checks passed
@danpasecinic
danpasecinic deleted the feat/render-observability-in-web branch December 19, 2025 18:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant