Problem
The integration test suite (//go:build integration, internal/store/integration_test.go) does not run in CI. The test job runs go test -count=1 ./... with no -tags=integration and no Postgres, so the build-tagged tests are never compiled or executed. They only run locally via make test-integration.
Introduced alongside the harness in #19 (v0.19.0): intake-append, block-freeze lifecycle, decline repoint, active-version resolution, and full-delete coverage currently has no CI gate.
Proposed fix
Add an integration job to .github/workflows/ci.yml:
- Provision Postgres (GH
services: or the existing make test-integration which brings up docker-compose.test.yml).
- Set
REQUIRE_TEST_DB=true so a missing DB is fatal, never a silent skip.
- Run
make test-integration.
Acceptance
Tracking
ClickUp: https://app.clickup.com/t/86ca2uh21
Problem
The integration test suite (
//go:build integration,internal/store/integration_test.go) does not run in CI. Thetestjob runsgo test -count=1 ./...with no-tags=integrationand no Postgres, so the build-tagged tests are never compiled or executed. They only run locally viamake test-integration.Introduced alongside the harness in #19 (v0.19.0): intake-append, block-freeze lifecycle, decline repoint, active-version resolution, and full-delete coverage currently has no CI gate.
Proposed fix
Add an
integrationjob to.github/workflows/ci.yml:services:or the existingmake test-integrationwhich brings updocker-compose.test.yml).REQUIRE_TEST_DB=trueso a missing DB is fatal, never a silent skip.make test-integration.Acceptance
//go:build integrationtests on every PR tomain.Tracking
ClickUp: https://app.clickup.com/t/86ca2uh21