Build runners for Managed Git (portal follow-up in a separate PR).
ERP items (internal/erpsetup/catalog.go): INF-CI-CLD-STD/BUS/ENT (UOM Monat, 149/290/590 €) and INF-CI-OPR-STD/BUS/ENT (UOM Jahr, 2900/5900/11900 €), per runner, German descriptions in the INF-GIT style (dedicated build machine, never shared; 2 vCPU/4 GB, 4 vCPU/8 GB, 8 vCPU/16 GB). erpsetup: 96 → 108 steps, catalogue test lists the six items.
Managed services: migration 0013 widens the kind CHECK to git, ci-runner; SKU for ci-runner must match ^INF-CI-(CLD|OPR)-(STD|BUS|ENT)$ (and git still only INF-GIT-*). OpenAPI updated.
Uniqueness: a runner's url is the Git instance it serves, and runners are billed per runner, so 0013 replaces UNIQUE (tenant_id, kind, url) with a partial unique index on (tenant_id, url) WHERE kind = 'git' (memory store mirrors it). Down migration deletes runner rows and restores 0012.
Tests: go test ./... green locally incl. Postgres (testcontainers) and the migration up/down round trip.
Build runners for Managed Git (portal follow-up in a separate PR).
- **ERP items** (`internal/erpsetup/catalog.go`): INF-CI-CLD-STD/BUS/ENT (UOM Monat, 149/290/590 €) and INF-CI-OPR-STD/BUS/ENT (UOM Jahr, 2900/5900/11900 €), per runner, German descriptions in the INF-GIT style (dedicated build machine, never shared; 2 vCPU/4 GB, 4 vCPU/8 GB, 8 vCPU/16 GB). erpsetup: 96 → 108 steps, catalogue test lists the six items.
- **Managed services**: migration 0013 widens the kind CHECK to `git`, `ci-runner`; SKU for `ci-runner` must match `^INF-CI-(CLD|OPR)-(STD|BUS|ENT)$` (and `git` still only INF-GIT-*). OpenAPI updated.
- **Uniqueness**: a runner's `url` is the Git instance it serves, and runners are billed per runner, so 0013 replaces `UNIQUE (tenant_id, kind, url)` with a partial unique index on `(tenant_id, url) WHERE kind = 'git'` (memory store mirrors it). Down migration deletes runner rows and restores 0012.
Tests: `go test ./...` green locally incl. Postgres (testcontainers) and the migration up/down round trip.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
ERP items INF-CI-CLD-STD/BUS/ENT (Monat, 149/290/590 EUR) and
INF-CI-OPR-STD/BUS/ENT (Jahr, 2900/5900/11900 EUR), priced per runner:
a dedicated build machine per customer, never shared (2 vCPU/4 GB,
4 vCPU/8 GB, 8 vCPU/16 GB).
Migration 0013 adds the managed service kind ci-runner (SKU
^INF-CI-(CLD|OPR)-(STD|BUS|ENT)$). A runner's url is the Git instance it
serves, so the (tenant, kind, url) uniqueness now holds for kind git only
(partial unique index); several runners may serve one instance.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
sharang
merged commit 8753305ad4 into main2026-10-05 18:06:49 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Build runners for Managed Git (portal follow-up in a separate PR).
internal/erpsetup/catalog.go): INF-CI-CLD-STD/BUS/ENT (UOM Monat, 149/290/590 €) and INF-CI-OPR-STD/BUS/ENT (UOM Jahr, 2900/5900/11900 €), per runner, German descriptions in the INF-GIT style (dedicated build machine, never shared; 2 vCPU/4 GB, 4 vCPU/8 GB, 8 vCPU/16 GB). erpsetup: 96 → 108 steps, catalogue test lists the six items.git,ci-runner; SKU forci-runnermust match^INF-CI-(CLD|OPR)-(STD|BUS|ENT)$(andgitstill only INF-GIT-*). OpenAPI updated.urlis the Git instance it serves, and runners are billed per runner, so 0013 replacesUNIQUE (tenant_id, kind, url)with a partial unique index on(tenant_id, url) WHERE kind = 'git'(memory store mirrors it). Down migration deletes runner rows and restores 0012.Tests:
go test ./...green locally incl. Postgres (testcontainers) and the migration up/down round trip.🤖 Generated with Claude Code
https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB