GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — runr/CONTRIBUTING.md at main · BRF-Tech/runr

Expand file tree

/

CONTRIBUTING.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
129 lines (99 loc) · 5.5 KB
/

CONTRIBUTING.md

Copy path

File metadata and controls

129 lines (99 loc) · 5.5 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Contributing to RunR

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.

Ways to contribute

  • 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.

Development environment

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)

Making a change

  1. Fork the repository and create a branch from main (fix/…, feat/…, docs/…).
  2. Keep the change focused; unrelated refactors belong in their own pull request.
  3. Add or update tests for behaviour you change.
  4. Update the documentation in docs/ when behaviour, configuration or Helm values change.
  5. Make sure the checks below pass, then open a pull request against main and fill in the template.

Checks

# 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).

Code style

  • 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 in vue/src/assets/main.css; a <style> block that uses @apply starts with @reference to it). User-facing strings go through vue-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 (and useRegionWizardTutorial.js), their data-tour targets and the tutorial.* texts in English and Turkish; a new control on a toured screen gets a step. vue/tests/composables/tutorialSteps.spec.js fails when a step's target or text is gone.
  • Go: gofmt.
  • Comments explain why, not what.

Commit messages

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.

Database migrations

  • Base-application migrations live in api/database/migrations, tenant-schema migrations in api/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).

Review and merge

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.

License

RunR is released under the MIT License. By contributing you agree that your contributions are licensed under the same terms.

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.