Developer Guide
Operations and development documentation for Flowbot.
Contents
- Deployment — Binary, Docker, and systemd deployment methods with health checks
- Monitoring — Grafana dashboard, Prometheus metrics via PushGateway, and alerting rules
- Tracing — OpenTelemetry distributed tracing across all components
- Recovery — Restart recovery for incomplete pipeline runs and workflow jobs
- Conformance — Ability adapter conformance test suite for provider development
Development Tools
Build
go tool task build # Main server
go tool task build:composer # Composer CLI
go tool task build:cli # Admin CLI
go tool task build:all # All binaries
go tool task air # Live reload
Code Generation
go tool task dao # Generate DAO from database
go tool task swagger # Generate Swagger/OpenAPI docs
go tool task doc # Generate database schema docs
Code Quality
go tool task lint # revive + actionlint
go tool task format # go fmt + prettier
go tool task tidy # go mod tidy
Security
go tool task secure # govulncheck
go tool task leak # gitleaks
go tool task gosec # security scan
go tool task check # all security & quality
Testing
go tool task test # All unit tests
go tool task test:short # Short mode (skip integration)
go tool task test:utils # pkg/utils only
go tool task test:integration # Integration tests (Docker)
go tool task test:coverage # Coverage report
Conformance Tests
go test ./pkg/ability/... # All ability + conformance tests
go test -run TestConformance ./pkg/ability/bookmark/karakeep/ # Single adapter
go test ./pkg/ability/conformance/ # Conformance framework self-tests
Add Go Tool Dependency
go get -tool import_path@version
systemd Service
The flowbot.service file is provided for headless Linux deployments.