beads/tests/regression
Julian Knutsen 9a91f0629e
ci(bazel): run the differential regression suite under Bazel; retire regression.yml (#7324)
regression.yml ran `go test -tags=regression ./tests/regression/...` on a
GitHub runner: it built the candidate with `go build`, downloaded the v0.49.6
baseline release over the network, and pulled the dolt-sql-server image.
None of that works on rbe-west workers (no network for fork lanes, no docker).

- tools/bazel/bd_releases.bzl: a module extension that reads
  scripts/migration-test/release-catalog.json and declares one repository per
  catalog release with a linux_amd64 asset digest (bd_release_<version>,
  verified against the catalog's sha256), behind the @bd_releases hub
  (@bd_releases//:<version>, plus versions.bzl). Adding a release is a
  catalog change only; nothing downloads until a test declares one.
- //tests/regression:regression_test: the suite's files build under
  `regression || integration`, so gazelle generates the target. It runs the
  injected non-race bd_for_tests (BEADS_TEST_BD_BINARY) against
  @bd_releases//:v0.49.6 (BD_REGRESSION_BASELINE_BIN), both over a hermetic
  dolt sql-server (BEADS_TEST_DOLT_SERVER=local, required), in 8 shards.
  TestMain checks the baseline reports BASELINE_VERSION, so the label and the
  file cannot drift. Tagged dolt-server-cmd: bazel.yml's bazel-cmd-dolt lane,
  which pr.yml's gate requires, runs it remotely; test result caching stands
  in for the old path detector.
- A plain `go test -tags=integration ./...` (nightly) compiles the files but
  skips the suite; only -tags=regression (make test-regression) or Bazel
  runs it.
- regression.yml, main.yml's warm-up compile for it and the policy tests that
  pinned its jobs are removed.

Refs: ga-96smfk.19

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-07 01:41:12 +00:00
..
BASELINE_VERSION test(regression): Dolt migration regression discovery (long-lived branch) (#1906) 2026-02-22 15:18:56 -08:00
BUILD.bazel ci(bazel): run the differential regression suite under Bazel; retire regression.yml (#7324) 2026-10-07 01:41:12 +00:00
DISCOVERY.md fix(label): report a no-op label edit instead of claiming it (#5988) (#6742) 2026-09-26 04:29:06 -07:00
discovery_test.go ci(bazel): embedded-Dolt tier 20/5 → 50/15 duration-balanced Bazel shards (F1) (#7156) 2026-10-03 21:30:03 -07:00
regression_tag_test.go ci(bazel): run the differential regression suite under Bazel; retire regression.yml (#7324) 2026-10-07 01:41:12 +00:00
regression_test.go ci(bazel): run the differential regression suite under Bazel; retire regression.yml (#7324) 2026-10-07 01:41:12 +00:00
scenarios_test.go ci(bazel): run the differential regression suite under Bazel; retire regression.yml (#7324) 2026-10-07 01:41:12 +00:00