beads/.github
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
..
images Prepare for public launch: comprehensive examples, docs, and tooling 2025-10-12 11:25:29 -07:00
scripts Rebalance embedded cmd CI shards (bd-8zg) (#3499) 2026-04-25 17:58:51 -07:00
workflows ci(regression): pull Dolt sql-server image so tests use shared container (#3737) 2026-05-05 20:22:01 -07:00
CODEOWNERS fix(init): refuse --force when remote has Dolt history (#3455) 2026-04-24 09:01:35 -07:00
copilot-instructions.md Add PR preflight and contributor intake guidance (#3470) 2026-04-24 15:44:06 -07:00
dependabot.yml feat: Add Dependabot config and README badges 2025-10-23 20:06:40 -07:00