beads/scripts/ci
Bee 11b5d3271e
docs(proxied): name the Close3/Close4 legacy pins and fix the Close3 doc comment (#7173 follow-up) (#7382)
* docs(proxied): name the Close3/Close4 legacy pins and fix the Close3 doc comment (#7173 follow-up)

Two non-blocking findings from the #7173 adoption review (bd-vrdrew,
bd-dars9p), both in bee's code, neither addressed in that PR:

- The doc comment on TestProxiedServerClose3 still called it "the second
  half of TestProxiedServerClose"; after the second split it is the middle
  of the three parents (Close, Close3, Close4). Say so, and name Close4
  as its own second half.

- In the frozen 15-shard block of .github/scripts/proxied-cmd-test-shards.txt
  the lines `15 13 TestProxiedServerClose3` and `15 2 TestProxiedServerClose4`
  sat inside the shard-1 and shard-7 groups (#7173's last commit moved the
  pins from 1 and 7 to 13 and 2 without moving the lines), and the header's
  "Deliberate exception (Oct 2026)" paragraph did not name them. The two
  lines now sit alphabetically inside their own shard groups, the header
  names them with the reason and the measured times, and the generator's
  hand-pin paragraph (scripts/ci/gen_proxied_shard_manifest.py) names them
  too so the two texts stay in step. The lines were inert either way:
  proxied-test-shard.sh matches each line by field.

No test moves shard: the 15-shard block's line set is unchanged apart from
order (sorted diff empty) and the 30-shard block is byte-identical.

Verified: gofmt -l (clean); go vet ./cmd/bd/ (exit 0);
gen_proxied_shard_manifest.py 30 --weights=duration --check (exit 0,
heaviest 435.1s est, unchanged); 15 --check reports the same 30 hashed
names missing as main (the frozen block is expected to fail it);
proxied-test-shard.sh list-only: Close3 on 13/15, Close4 on 2/15, neither
on 1/15 or 7/15; go test ./scripts/ -run 'Shard|Manifest|Coverage' ok 38.6s.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* docs(proxied): count CloseB in the Close3 comment; say why shard 5 got no pin

Maintainer fixup from the adoption review of #7382 (bd-g6pyb0), on top
of bee's commit, which stays as written. Comment and manifest-header
text only: no test body, shard assignment or routing changes.

- TestProxiedServerClose3's doc comment called it "the middle of the
  three parents TestProxiedServerClose was split into (Close, Close3,
  Close4)". That held at the PR's original base, but #7418, on main
  since, moved five of Close's eleven cases into a new
  TestProxiedServerCloseB, so the 23 bd-init subtests of the pre-#7173
  TestProxiedServerClose now sit in four parents: Close 6, CloseB 5,
  Close3 6, Close4 6 (their union is exactly the pre-#7173 set, no
  duplicates). The comment now says Close3 was split off Close, names
  all four parents, and keeps "Its own second half is
  TestProxiedServerClose4."

- The frozen 15-shard block's header said #7173 pinned Close3 and
  Close4 onto "the two lightest shards of that PR's own run (6m51s and
  7m57s)". On that run (37206446441, at 765248af5) shard 5 was lighter
  still, at 5m50s; #7173 passed over it on purpose, because it was
  light only because those 12 subtests had just left it and putting
  Close3 back would recreate most of the set that timed out. The header
  now says "other than shard 5 itself" and gives that reason.

This commit also supersedes the parts of the parent commit's message
that the rebase onto c21880105f outdated:

- "after the second split it is the middle of the three parents (Close,
  Close3, Close4)": four parents now, as above.
- "the 30-shard block is byte-identical": the Bazel-only block is 34
  shards now (#7418 made it 44, #7436 34), and that block is
  byte-identical to the base's.
- "gen_proxied_shard_manifest.py 30 --weights=duration --check (exit 0,
  heaviest 435.1s est, unchanged)": with no 30-shard block left, that
  command now exits 1 ("has no block for total_shards=30"). Its current
  form, 34 --weights=duration --check, exits 0 with the heaviest shard
  at 196.1 s est., the same before and after this commit.
- "15 --check reports the same 30 hashed names missing as main": it now
  reports 53, the same set as against the base's manifest.

Verified: git diff --check clean; gofmt -l clean (the Go change is
comment-only); with '#' lines stripped as proxied-test-shard.sh strips
them, the manifest is identical before and after;
gen_proxied_shard_manifest.py 15 --check and 34 --weights=duration
--check print the same output before and after (exit 1 with 53
missing; exit 0, heaviest 196.1 s); BEADS_TEST_SHARD_LIST_ONLY=1
proxied-test-shard.sh lists for 1, 2, 7 and 13 of 15 are unchanged
(Close3 on 13, Close4 on 2, neither on 1 or 7); go test ./scripts/ -run
'Shard|Manifest|Coverage' ok (21 top-level tests, none skipped).

Agent-Signature: claude-code-claude-opus-5-5-max on behalf of Julian Knutsen
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Eddie the Engineer <julianknutsen@users.noreply.github.com>
2026-10-10 05:28:43 +00:00
..
go-list-test-names Add PR CI wrapper command surface (#4211) 2026-05-29 18:52:53 -07:00
lib test(bazel): runfiles helpers + declared inputs for scan-guard tests (#6828) 2026-09-27 08:24:08 -07:00
_embedded_shard_manifest_lib.py ci(bazel): halve the embedded cmd tier's cost (seeded bd init schema, no race exit sleep, concurrency-aware packing) (#7437) 2026-10-09 19:20:33 +00:00
bazel-release-cross-compile.sh ci(bazel): nogo replaces go vet and golangci-lint (ga-96smfk.18) (#7341) 2026-10-07 05:17:22 +00:00
bazel-sync-patch.sh ci: auto-push Bazel BUILD sync fixes to PRs; harden docs autofix (#6907) 2026-09-28 17:23:27 -07:00
complexity.sh ci: add advisory cyclomatic complexity reporting (#6081) 2026-08-30 19:05:17 -07:00
detect-package-gates.sh ci: merge-queue readiness for the required gates; cache test results (fresh nightly) (#7264) 2026-10-05 13:54:15 -07:00
embedded_cmd_test_durations.json ci(bazel): split the slow embedded cmd tests and run the cmd block as 2x50 shards (#7438) 2026-10-09 20:30:52 +00:00
embedded_storage_test_durations.json ci(bazel): embedded storage tier to 40 shards; split its two slowest tests (#7440) 2026-10-09 21:21:20 +00:00
fmt-check.sh fix(ci): resolve gofmt from go.mod's toolchain, not PATH (be-gx8) (#6294) 2026-09-30 18:38:46 -07:00
gen_embedded_cmd_shard_manifest.py ci(bazel): split the slow embedded cmd tests and run the cmd block as 2x50 shards (#7438) 2026-10-09 20:30:52 +00:00
gen_embedded_storage_shard_manifest.py ci(bazel): embedded storage tier to 40 shards; split its two slowest tests (#7440) 2026-10-09 21:21:20 +00:00
gen_proxied_shard_manifest.py docs(proxied): name the Close3/Close4 legacy pins and fix the Close3 doc comment (#7173 follow-up) (#7382) 2026-10-10 05:28:43 +00:00
go-test-shard-names.sh Add PR CI wrapper command surface (#4211) 2026-05-29 18:52:53 -07:00
go-test-shard-packages.sh Add PR CI wrapper command surface (#4211) 2026-05-29 18:52:53 -07:00
gofmt-bin.sh fix(ci): resolve gofmt from go.mod's toolchain, not PATH (be-gx8) (#6294) 2026-09-30 18:38:46 -07:00
install-dolt.sh test(bazel): run every Bazel test against a hermetic, pinned dolt CLI (#6853) 2026-09-27 14:29:49 -07:00
package-bazel-bd.sh ci: package gates start after rbe, MCP pytest -n 8, gate jobs on Blacksmith (F3) (#7126) 2026-10-03 00:03:43 -07:00
package-mcp.sh ci: bigger runners for the slowest cached-run jobs (MCP gate 8 vCPU -n16, Bazel test 4 vCPU) (#7381) 2026-10-08 05:16:20 +00:00
package-npm.sh Add PR CI wrapper command surface (#4211) 2026-05-29 18:52:53 -07:00
pr-core.sh ci(bazel): retire main.yml's Linux jobs, nightly's go test jobs and ci-measurements (#7354) 2026-10-07 10:06:59 +00:00
pr-lint.sh ci(bazel): nogo replaces go vet and golangci-lint (ga-96smfk.18) (#7341) 2026-10-07 05:17:22 +00:00
proxied_test_durations.json ci(bazel): scope the proxied lane's shared-server projects to their own database (44 -> 34 shards) (#7436) 2026-10-09 18:22:08 +00:00
pull-dolt-image.sh ci: retry Dolt image pulls (bd-m0o1z) (#5228) 2026-08-01 08:18:41 -07:00
release-targets.txt ci(bazel): cross-compile every release target with Bazel, retire the go build job (#7332) 2026-10-07 03:18:37 +00:00
run-go-test-binary.sh ci(bazel): run every Windows/macOS job on Blacksmith; retire the Linux preflight leg and the cross-compiled Windows pair (#7355) 2026-10-07 10:41:14 +00:00
test-init-gateway-credential.sh ci(pr): share restored GOCACHE with the native init credential step (#7227) 2026-10-05 01:01:23 -07:00
test-user-config-diagnostic.sh fix(config): identify native config environment in path errors (#6325) 2026-09-28 12:17:20 -07:00
test-windows-env-helpers.sh fix(gitenv): retain explicit null config suppression (#6461) 2026-09-27 15:59:08 -07:00
warm-non-race-cache.sh ci(pr): cut the Windows PR preflight leg's fixed costs (slice W) (#7378) 2026-10-08 02:42:27 +00:00