feat(server): tenant-registry skeleton boots against dev stack
ci / shared (push) Successful in 4s
ci / test (push) Successful in 11s
ci / image (push) Has been skipped

Minimal Go service: /healthz + /v1/tenants/by-slug/:slug + /v1/tenants/:id with an in-memory store seeded with the acme tenant. Stdlib-only; pgx + JWT validation land in M4.1 follow-up.
This commit was merged in pull request #4.
This commit is contained in:
2026-05-19 09:35:04 +00:00
parent e960a5ff9d
commit af9f331781
16 changed files with 620 additions and 12 deletions
+6 -3
View File
@@ -57,12 +57,12 @@ jobs:
test:
runs-on: docker
if: hashFiles('go.sum') != ''
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with: { go-version: '1.22' }
with: { go-version: '1.24' }
- name: fmt
run: test -z "$(gofmt -l .)"
@@ -75,7 +75,10 @@ jobs:
with: { version: latest }
- name: test
run: go test -race -coverprofile=cover.out ./...
# Coverage scoped to ./internal/... — cmd/server is the entrypoint
# with signal-handling + bind that isn't worth unit-testing. When
# real integration tests land in M4.1, widen this back to ./...
run: go test -race -coverprofile=cover.out ./internal/...
- name: coverage gate
run: |