IamBishal
Developer ToolsFeatured

DevOrbit CI Operations

GitHub runs the jobs. DevOrbit runs the machine.

A local control panel for GitHub Actions and self-hosted runners: live runs, safe drains, resource budgets and an audit of every action. Designed and specified; the build is starting.

DevOrbit CI Operations cover: the line 'GitHub runs the jobs. DevOrbit runs the machine.' beside a design concept of the dark overview dashboard
Role
Product designer and architect
Status
Prototype
Type
Own product ยท developer tool (design stage)

Overview

The problem it solves

DevOrbit CI Operations is a product I have designed and specified, and am now starting to build. It is for developers and small teams who run GitHub Actions on their own machines. GitHub stays the CI engine and the source of truth; DevOrbit watches it, controls the runners on the host and keeps the machine usable while jobs run.

The problem is familiar to anyone with a self-hosted runner on a workstation: a heavy end-to-end suite starts, memory runs out, and the laptop or the editor freezes. The runner's own tools say little about the host, and "pause" means different things in different places.

The design answers that in three ways. First, honest controls: pause, drain, resume and cancel are separate actions, and a runner's state is tracked from four sources (GitHub, the systemd service, what the host agent sees and what the user asked for), so the UI only offers actions that are valid. A drain lets the current job finish; GitHub cannot pause a job mid-step, so the product never claims it can.

Second, a resource budget: reserve memory for interactive work, cap CI memory and concurrency, and drain runners automatically when a threshold is crossed, enforced with cgroups v2, systemd controls and Docker limits. Third, a host agent that cannot be talked into a shell: a small Go service on a Unix socket that runs a fixed list of commands, each with an ID, a timeout and a verified end state, all audited.

The backend is planned as one modular NestJS application with BullMQ workers, PostgreSQL and Redis, with an Angular frontend that also runs as a Tauri desktop app. The specification covers the modules, API, WebSocket events, data model, security model and a phased roadmap. The screens shown here are design concepts, and the figures below are planned scope, not shipped results.

Topics

  • DevOps
  • CI/CD
  • Self-hosted Runners
  • Developer Tools
  • Product Design
  • Security

Highlights

What makes it different

  • Drain, not "pause"

    Pause, drain, resume and cancel are distinct, and only actions valid for the current state are shown.

  • A budget for CI

    Reserve memory for interactive work, cap CI memory and concurrency, and drain runners on a threshold.

  • A host agent with no shell

    A Go agent on a Unix socket runs a fixed command allowlist, with verified results and an audit log.

  • GitHub stays in charge

    DevOrbit controls runners and requests cancel or rerun; it never replaces the CI engine.

Features

What it can do

  • Overview of repositories, runners, today's runs and host CPU, memory and disk, updated live
  • One list of runs across repositories, with cancel, rerun and rerun failed jobs
  • Runner controls with drain, restart, stop and resume, by state
  • Resource policy: reserved memory, CI memory budget, concurrency and thresholds
  • Docker container usage per running job
  • Signature-verified webhooks plus a reconciler for missed events
  • Audit log of every action, actor and verified result
  • Local-only by default: Argon2id sign-in, cookies with CSRF protection, encrypted GitHub App key

Screens

A look inside

01Overview (design concept)
02CI runs (design concept)
03Runners and drain (design concept)
04Resource policy (design concept)
05Agent allowlist and audit (design concept)

Tech stack

Built with

Frontend
  • Angular
  • Tauri desktop shell
  • ECharts
  • WebSocket
Backend
  • NestJS (modular monolith)
  • BullMQ
  • GitHub App
  • Webhooks
Data
  • PostgreSQL
  • Redis
Host
  • Go agent
  • systemd
  • cgroups v2
  • Rootless Docker

Architecture

How it fits together

Planned: one modular NestJS app and a Go agent on the host. GitHub Actions stays the execution engine and source of truth.

Challenges

Hard problems along the way

  1. Not promising what GitHub cannot do

    A running job cannot be paused mid-step, so the design uses drain and says so in the UI.

  2. Four views of one runner

    GitHub, systemd, the agent and the user each see a runner differently; the state model reconciles all four.

  3. Host control without host risk

    The agent accepts only allowlisted commands over a local socket, verifies each result and logs it.

Results

The impact

Planned backend modules
18
Planned REST endpoints
~50
Planned database tables
14
Planned build phases
7

What's next

On the roadmap

  1. Phase 1: app shell, modular backend, schema, sign-in, GitHub App and the Go agent skeleton
  2. Phase 2: webhooks, run and job sync, runner discovery and runner controls
  3. Then resource management, analytics and the desktop app
  4. Later: explanations of failed builds and log summaries

Bishal SahaLet's build together

Have a system to design, or an AI feature to get right?

Tell me about the problem. You'll get a clear, honest view of the best way forward.

  • Reply within 24 hoursOn business days, with my honest view and a next step.
  • Accepting select engagementsArchitecture, AI features and full builds.
  • Remote, worldwideWorking with startups, SMEs and enterprises.