Thanks for your interest in RunR. Bug reports, fixes, documentation and new features are all welcome. This guide explains how to set up a development environment and how changes get merged.
By participating you agree to follow the Code of Conduct. Security issues are reported privately — see SECURITY.md, never in a public issue.
- Report a bug — open an issue with the bug template: what you did, what you expected, what happened, and your RunR version, edition and Kubernetes / Knative versions.
- Propose a feature — open an issue with the feature template before you start larger work, so the design can be agreed first.
- Send a pull request — small, focused changes are easiest to review. Link the issue it resolves.
The full setup is described in docs/development.md. The short version:
git clone https://github.com/brf-tech/runr.git cd runr bash scripts/devready.sh docker # Docker Compose: API, UI, Reverb, Horizon, PostgreSQL, Redis
To deploy functions you need a Kubernetes cluster for a region — a local
kind cluster works (compose/kind-setup.sh, see
docs/development.md).
Repository layout:
| Path | Contents |
|---|---|
api/ |
Laravel 12 API (PHP 8.3), modules in api/Modules (AuthProvider, Tenancy, Ticket) |
vue/ |
Vue 3 + Vite console |
helm/ |
Helm chart of the control plane |
runtime/ |
The region agent, the queue consumer, the image-upload receiver, supply-chain tools, the Spin shim, ci.sh and the end-to-end harness |
cli/ |
The runr CLI (Go) |
terraform-provider-runr/ |
Terraform provider (Go) |
actions/ |
GitHub Action actions/deploy |
sdk/ |
Workflow and Sandbox SDKs (Python, TypeScript) |
examples/ |
Runtime, WebAssembly, AI, MCP and workflow examples |
proxy/ |
Sentry tunnel (Go) |
compose/ |
Docker Compose deployment for a single host |
docs/ |
Documentation (index) |
- Fork the repository and create a branch from
main(fix/…,feat/…,docs/…). - Keep the change focused; unrelated refactors belong in their own pull request.
- Add or update tests for behaviour you change.
- Update the documentation in
docs/when behaviour, configuration or Helm values change. - Make sure the checks below pass, then open a pull request against
mainand fill in the template.
# API — the CI job uses SQLite in memory (phpunit.xml) cd api composer install cp .env.example .env && php artisan key:generate php artisan test # Console (the Monaco editor needs a larger Node.js heap, as in vue/Dockerfile) cd vue npm ci NODE_OPTIONS=--max-old-space-size=4096 npm run build # Helm chart helm lint helm/
Go modules (cli/, terraform-provider-runr/, runtime/agent, runtime/queue-consumer,
runtime/image-upload, proxy/) are checked in their directory with
gofmt -l . && go vet ./... && go test -race ./.... Every suite, including Pint, Larastan,
ESLint, Vitest, Playwright and the end-to-end suites on kind, is described in
docs/development.md. CI is GitHub Actions: .github/workflows/ci.yml
runs the same commands on every pull request (CI jobs).
- PHP: PSR-12, typed properties and return types, Laravel conventions (form requests for validation, resources for responses, services for logic). Keep controllers thin.
- Vue:
<script setup>single-file components, Composition API, Pinia stores, Tailwind CSS 4 utility classes (theme invue/src/assets/main.css; a<style>block that uses@applystarts with@referenceto it). User-facing strings go throughvue-i18n(vue/src/locales) in English and Turkish. - Console tutorial: every console change also looks at the in-app tutorial. A control that is
added, moved, renamed or removed updates the tour that shows it: the steps in
vue/src/composables/tutorialSteps.js(anduseRegionWizardTutorial.js), theirdata-tourtargets and thetutorial.*texts in English and Turkish; a new control on a toured screen gets a step.vue/tests/composables/tutorialSteps.spec.jsfails when a step's target or text is gone. - Go:
gofmt. - Comments explain why, not what.
RunR uses Conventional Commits:
<type>(<scope>): <summary in the imperative, lower case>
<optional body: what changed and why>
Common types: feat, fix, docs, refactor, perf, test, chore, ci. Common scopes:
api, ui, helm, runtime, agent, proxy, tenancy, sandbox. The changelog is written
from these messages, so describe the user-visible effect.
- Base-application migrations live in
api/database/migrations, tenant-schema migrations inapi/Modules/Tenancy/Database/TenantMigrations. - Never edit a migration that has been released; add a new one.
- Migrations must run on PostgreSQL (production) and SQLite (tests).
A maintainer reviews every pull request. Expect questions and change requests — they are part of
the process. Once approved and green, a maintainer merges it. Releases are tagged vX.Y.Z and
listed in CHANGELOG.md.
RunR is released under the MIT License. By contributing you agree that your contributions are licensed under the same terms.