Aurélien Sibiril 6887294c9e Rebuild AgentRunSupervisor on go.gearno.de/kit/worker
The supervisor was a hand-rolled polling, semaphore, and wait-group
loop predating the project's adoption of the shared worker kit. Two
sibling workers in pkg/probo already use the kit, and go-worker.md
documents it as the project convention.

This commit introduces agentRunHandler, which implements
worker.Handler[coredata.AgentRun] and worker.StaleRecoverer, and
reduces AgentRunSupervisor to a thin wrapper that owns the handler
plus a worker.Worker and bridges ctx cancellation into a handler-
level shutdown broadcast via context.AfterFunc. The agent stop
channel is now closed by a per-Process forwarder goroutine when the
broadcast fires, so in-flight runs checkpoint at the next turn
boundary and drain through wg.Wait before Run returns.

The stop_requested column, struct field, supporting SQL, and the
LoadRunningStopRequestedIDs function are removed end-to-end. None
of it was ever wired to an external surface; it existed purely to
let the supervisor find runs the operator wanted to halt. With the
kit handling the polling cadence and the AfterFunc bridging
shutdown, per-row flagging is dead weight.

The supervisor's public API (NewAgentRunSupervisor, Run, the With*
option helpers, and the error sentinels) stays intact so probod.go
needs no change. The integration test now triggers stop by
cancelling the supervisor context, which is the actual production
path through SIGTERM rather than a synthetic DB flag. Prometheus
counters and OTel spans labelled worker="agent-run-supervisor"
come for free.

Signed-off-by: Aurélien Sibiril <81782+aureliensibiril@users.noreply.github.com>
2026-04-26 22:58:21 +02:00
2026-04-22 15:22:03 +04:00
2026-04-15 16:42:56 +02:00
2026-04-24 19:24:28 +04:00
2025-04-09 21:19:53 -07:00
2025-11-25 11:29:54 +01:00
2026-04-24 08:43:14 +02:00
2026-04-22 22:30:23 +02:00
2026-04-21 18:51:34 +02:00
2025-12-24 08:46:21 +01:00
2026-04-24 19:24:28 +04:00
2026-03-13 16:55:23 +01:00
2026-04-15 16:42:56 +02:00
2026-04-21 18:51:34 +02:00
2025-01-13 12:56:14 +01:00
2026-04-02 17:58:35 +02:00
2026-04-24 19:24:28 +04:00
2025-04-10 21:04:27 -07:00
2025-01-10 16:31:34 +01:00
2025-12-26 17:33:03 +01:00

Probo - Open Source Compliance

Discord GitHub License GitHub Actions Workflow Status

Probo is an open-source compliance platform built for startups that helps you achieve SOC-2 compliance quickly and efficiently. Unlike traditional solutions, Probo is designed to be accessible, transparent, and community-driven.

🚀 Getting Started

📖 Official Documentation

Prerequisites

  • Go 1.21+
  • Node.js 22+
  • Docker
  • mkcert

Quick Start

  1. Clone the repository:

    git clone --recurse-submodules https://github.com/getprobo/probo.git
    cd probo
    
  2. Install dependencies:

    # Install Go dependencies
    go mod download
    
    # Install Node.js dependencies
    npm ci
    
  3. Start the development environment:

    # Start infrastructure services
    make stack-up
    
    # Build the project
    make build
    
    # Generate the local dev config (writes cfg/dev.yaml)
    make dev-config
    
    # Start the application using development settings
    bin/probod -cfg-file cfg/dev.yaml
    

The application will be available at:

Testing Custom Domains

To test the custom domains feature locally, add the CNAME target to your hosts file:

# Add this line to /etc/hosts (macOS/Linux) or C:\Windows\System32\drivers\etc\hosts (Windows)
127.0.0.1 custom.getprobo.com

This allows you to test custom trust center domains on your local machine. The generated cfg/dev.yaml sets the CNAME target via custom-domains.cname-target; change CUSTOM_DOMAINS_CNAME_TARGET before running make dev-config to override it.

For detailed setup instructions, see our Contributing Guide.

🏗️ Current Status

Probo is in early development, focusing on building a solid foundation for compliance management.

🛠️ Tech Stack

Backend

Frontend

Infrastructure

Observability

  • Grafana - Metrics visualization
  • Prometheus - Metrics collection
  • Loki - Log aggregation
  • Tempo - Distributed tracing

🤝 Contributing

We love contributions from our community! There are many ways to contribute:

  • 🌟 Star the repository to show your support
  • 🐛 Report bugs
  • 💡 Request features
  • 🔧 Submit pull requests
  • 📖 Improve documentation

Please read our Contributing Guide before making a pull request.

📚 Documentation

🌐 Community & Support

📄 License

Probo is MIT licensed.

Description
No description provided
Readme MIT 72 MiB
Languages
Go 67%
TypeScript 31.7%
Shell 0.5%
CSS 0.2%
Makefile 0.2%
Other 0.3%