beads/internal/tracker
Julian Knutsen d90823480a
ci(bazel): split //scripts:scripts_test by what it reads; partition //:repo_files (#7414)
* ci(bazel): split //scripts:scripts_test by what it reads; partition //:repo_files

//scripts:scripts_test declared //:repo_files (the whole checkout), so every
PR re-ran it, and it took ~181s on rbe-west. Most of that (60-79s) was
TestBazelGatedLanesNeverRetryFlakyTests line-regexping the --run_under
wrapper's pinned dolt binary (tools/bazel/hermetic_bin/dolt, in every
test's runfiles); it now skips binary files, as git grep -I does.

tools/bazel/go_srcs.py's per-package repo_files block now partitions each
package's files into repo_go_srcs, repo_go_test_srcs, repo_doc_files and
repo_other_files, aggregated at the root; //:repo_files is their union
(same 4679 files). The //scripts tests are split into go_test targets by
what they read (traced per test with strace over a runfiles-shaped tree):

  scripts_test          CI/Bazel policy: //:repo_other_files (+1 Go file)
  shell_scripts_test    script fixtures: //scripts files, a few root files
  go_test_sources_test  _test.go scans: //:repo_go_test_srcs + shard files
  go_sources_test       check-testing-short.sh: every .go file
  tracked_files_test    every tracked file: //:repo_files

Shared helpers move to helpers-only files; TestScriptsTestTargetsPartition-
TheTests fails on a test file in no target or in two. //test/docsync and
the //scripts/repochecks slices declare partitions or single files instead
of //:repo_files where they can.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* ci(bazel): skip only the non-checkout hermetic_bin dir in the flaky-retry walk

Skipping every binary file also stopped scanning tracked binaries (images,
.binpb fixtures). Skip just tools/bazel/hermetic_bin, the --run_under
wrapper's runfiles directory, which is not in the checkout, so the walk's
coverage of tracked files is unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-09 05:13:07 +00:00
..
conformance ci(bazel): split //scripts:scripts_test by what it reads; partition //:repo_files (#7414) 2026-10-09 05:13:07 +00:00
BUILD.bazel ci(bazel): split //scripts:scripts_test by what it reads; partition //:repo_files (#7414) 2026-10-09 05:13:07 +00:00
engine.go fix(tracker): honor --create-only in push --dry-run preview (#6337) (#6712) 2026-09-26 06:46:27 -07:00
engine_close_policy_test.go feat(update): enforce close policy when a status update crosses into done (#5206) 2026-07-31 18:23:06 -07:00
engine_create_only_test.go fix(tracker): honor --create-only in push --dry-run preview (#6337) (#6712) 2026-09-26 06:46:27 -07:00
engine_external_ref_history_test.go feat(storage): one guarded issue-lifecycle surface for the CLI and linked consumers (#5191) 2026-07-31 11:26:38 -07:00
engine_history_gate_cgo_test.go fix(tracker): gate externalRefChangedAfter on capability, not DB() presence (#4549) (#4734) 2026-07-12 14:12:54 -07:00
engine_pull_failure_test.go feat(storage): one guarded issue-lifecycle surface for the CLI and linked consumers (#5191) 2026-07-31 11:26:38 -07:00
engine_ratelimit_test.go test: split tracker pure-go helpers (#4183) 2026-05-26 16:31:17 -07:00
engine_selective_test.go feat: add IssueIDs filter to SyncOptions for selective sync (#2957) 2026-04-05 22:24:47 -07:00
engine_test.go fix(test): recover when a Dolt test server dies mid-suite (#6756) 2026-09-26 14:27:18 -07:00
errors.go github: classify rate-limit 403s and stop the push loop when one hits (#3624) 2026-05-02 14:24:57 -07:00
multiproject.go feat: multi-project/team support for Linear, Jira, and ADO 2026-03-28 13:40:39 -07:00
multiproject_test.go feat: multi-project/team support for Linear, Jira, and ADO 2026-03-28 13:40:39 -07:00
registry.go feat: add plugin-based issue tracker framework (GH#1150) 2026-02-14 14:09:40 -08:00
registry_test.go feat: add plugin-based issue tracker framework (GH#1150) 2026-02-14 14:09:40 -08:00
store.go test(proxy): topology-parameterized history and remote front-door matrix (#6269) 2026-09-05 08:25:49 -07:00
store_test.go test(proxy): topology-parameterized history and remote front-door matrix (#6269) 2026-09-05 08:25:49 -07:00
test_helpers_pure_test.go test(proxy): topology-parameterized history and remote front-door matrix (#6269) 2026-09-05 08:25:49 -07:00
testmain_test.go test(testutil): opt-in local dolt sql-server backend for Dolt-backed tests (#6891) 2026-09-28 04:06:49 -07:00
tracker.go test(proxy): topology-parameterized history and remote front-door matrix (#6269) 2026-09-05 08:25:49 -07:00
types.go feat(gitlab): sync issue dependency links on push (#4294) 2026-07-08 08:00:41 -07:00
uow_store.go test(tracker): add real UOW proxy conformance fixture (#6445) 2026-09-23 02:19:18 -07:00
uow_store_engine_test.go test(tracker): add real UOW proxy conformance fixture (#6445) 2026-09-23 02:19:18 -07:00