beads/.github/workflows
matt wilkie 73507cfa6c
ci(regression): pull Dolt sql-server image so tests use shared container (#3737)
Without a cached `dolthub/dolt-sql-server:1.86.0` image,
`isDoltImageCached()` returns false in `internal/testutil/testdoltserver.go`,
`EnsureDoltContainerForTestMain` warns and skips, and `testDoltServerPort`
stays 0. The regression suite then falls back to embedded Dolt per workspace
with `HOME=<t.TempDir()>`, where lockfile/journal writes can race
`os.RemoveAll` during test cleanup.

Observed failure on main run 25413410192 (commit #3735):

    --- FAIL: TestCreateWithParentFlag (2.65s)
        testing.go:1464: TempDir RemoveAll cleanup:
          unlinkat /tmp/TestCreateWithParentFlag2554405098: directory not empty

The test logic passed; the failure was in the framework's TempDir cleanup.
The very next push (#3704) ran clean with no related code changes,
confirming this is environment-dependent flake, not a regression.

Pulling the image up front lets `TestMain` use the shared sql-server
container, removing the per-workspace embedded-Dolt path entirely.
The image tag must stay in sync with `DoltDockerImage` in
`internal/testutil/testdoltcommon.go`.
2026-05-05 20:22:01 -07:00
..
ci.yml test(cmd/bd): build-tag cgo-only test helpers so pure-go tests compile (#3716) 2026-05-05 20:12:58 -07:00
cross-version-smoke.yml chore(deps): bump actions/setup-go from 5.6.0 to 6.4.0 (#3636) 2026-05-05 14:33:42 -07:00
deploy-docs.yml ci(docs): add --fallback-extensions html to lychee link check (#3736) 2026-05-05 20:17:54 -07:00
migration-test.yml chore: harden release and dependency security 2026-04-28 08:45:22 +00:00
nightly.yml chore: harden release and dependency security 2026-04-28 08:45:22 +00:00
nix-build.yml chore(deps): bump DeterminateSystems/determinate-nix-action (#3635) 2026-05-05 14:32:58 -07:00
regression.yml ci(regression): pull Dolt sql-server image so tests use shared container (#3737) 2026-05-05 20:22:01 -07:00
release.yml chore: harden release and dependency security 2026-04-28 08:45:22 +00:00
test-pypi.yml chore: harden release and dependency security 2026-04-28 08:45:22 +00:00
update-flake-lock.yml chore(deps): bump DeterminateSystems/determinate-nix-action (#3635) 2026-05-05 14:32:58 -07:00