CI check gate broken since Nov 4: tests container loses its go.mod mount #18

Closed
opened 2026-11-07 21:17:01 +00:00 by andrew · 1 comment
Collaborator

Every check run since ~2026-11-04 fails at make integration with:

pattern ./internal/...: directory prefix internal does not contain main module or its selected dependencies

inside the compose tests container — i.e. /src/go.mod (single-file bind
mount from the checkout) is not present when go test starts. Fails
identically on docs-only commits (runs 165893/165950), so this is runner
infrastructure, not repo content: something on the act_runner host changed
around Nov 4 (docker/compose version, rootless mode, or mount handling for
./go.mod:/src/go.mod:ro).

Impact: the PR/main gate is blind; releases since 1.2.4 were validated
locally instead (full DB-backed go suite, db-converge, web lint/SSR/build,
browser regressions where runnable). The release workflow's smoke job is
unaffected (it builds the migrate image and bootstraps a throwaway DB
without the compose tests container).

Suggested fixes, in order of preference:

  1. Inspect the runner: docker compose run --rm tests ls -la /src right
    after checkout; confirm whether the file mount lands.
  2. If single-file mounts are broken on that docker version, mount the repo
    directory read-only instead and set working_dir, or copy go.mod/go.sum in
    a cp step inside the service command.
  3. Pin/upgrade the runner's docker compose to a known-good version.

Re-run any old commit's check after fixing to confirm the gate is green
again before trusting it for the next release.

**Every `check` run since ~2026-11-04 fails at `make integration` with:** pattern ./internal/...: directory prefix internal does not contain main module or its selected dependencies inside the compose `tests` container — i.e. `/src/go.mod` (single-file bind mount from the checkout) is not present when `go test` starts. Fails identically on docs-only commits (runs 165893/165950), so this is runner infrastructure, not repo content: something on the act_runner host changed around Nov 4 (docker/compose version, rootless mode, or mount handling for `./go.mod:/src/go.mod:ro`). Impact: the PR/main gate is blind; releases since 1.2.4 were validated locally instead (full DB-backed go suite, db-converge, web lint/SSR/build, browser regressions where runnable). The release workflow's `smoke` job is unaffected (it builds the migrate image and bootstraps a throwaway DB without the compose tests container). Suggested fixes, in order of preference: 1. Inspect the runner: `docker compose run --rm tests ls -la /src` right after checkout; confirm whether the file mount lands. 2. If single-file mounts are broken on that docker version, mount the repo directory read-only instead and set working_dir, or copy go.mod/go.sum in a `cp` step inside the service command. 3. Pin/upgrade the runner's docker compose to a known-good version. Re-run any old commit's check after fixing to confirm the gate is green again before trusting it for the next release.
Author
Collaborator

Closed 2026-11-22: issue tracking has moved off Gitea. Findings and status are preserved in the local project report.

Closed 2026-11-22: issue tracking has moved off Gitea. Findings and status are preserved in the local project report.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Federated_Computer/superbrain#18