Skip to content

fix(gate): bound control-plane tests against the query timeout, not the runner #512

fix(gate): bound control-plane tests against the query timeout, not the runner

fix(gate): bound control-plane tests against the query timeout, not the runner #512

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
permissions:
contents: read
jobs:
build-and-test:
name: build · vet · test
runs-on: ubuntu-latest
env:
CGO_ENABLED: "1"
steps:
- uses: actions/checkout@v7
- uses: actions/setup-go@v7
with:
go-version-file: go.mod
cache: true
- name: go build
run: go build ./...
- name: go vet
run: go vet ./...
- name: go test (race)
run: go test -race -timeout 180s ./...
- name: loadsim build tag compiles
run: go build -tags loadtest ./test/loadsim/...
# The seven-day release gate (#202). CI compiles the orchestrator and
# runs its unit tests — parsers, projection fit, threshold logic, report
# renderer. It must NOT run the protocol: that is four to five hours of
# sustained load and a kill -9, and it does not belong on a shared runner.
- name: prefill build tag compiles
run: go build -tags prefill ./test/aggprefill/...
- name: gate build tag compiles
run: go build -tags gate ./test/gate/...
- name: gate unit tests
run: go test -tags gate -race -timeout 60s ./test/gate/...