beads/internal/linear
Julian Knutsen 0500fc6f40
ci(bazel): run the scripts and source-walking tests remotely; retire their go test legs (#7320)
//scripts:scripts_test and //scripts/check-versions:check-versions_test
drop their host-tools/no-remote-exec/no-remote-cache tags and run on the
rbe-west workers like every other target (the worker image ships bash, git,
python3, jq, yq, curl, openssl, unzip and coreutils; a missing tool fails the
test under Bazel rather than skipping it). Go comes in hermetically as the
registered SDK; check-versions.sh's `go build` is stood in for by the
Bazel-built checker.

The tests that walked the source checkout now get it as data:
tools/bazel/go_srcs.py keeps a managed `repo_files` filegroup in every
package and aggregates them into //:repo_files (exactly the tracked files
Bazel can see; make bazel-sync-check fails on a package without one).
scripts_test and docsync_test take it instead of hand-listed filegroups,
and every TEST_SRCDIR/IsBazel skip and go-test-only block in them is gone.
The release formula under .bazelignore'd .beads/ comes in through a
@beads_formulas local repository; npm-package/ and .claude/ are visible to
Bazel again (only their node_modules/worktrees stay ignored), so the npm
manifest release check and the AGENTS.md skill links run under Bazel too.
TestZZStdioNotLeaked falls back to TestMain's pre-run streams instead of
skipping in a shard without its baseline.

tools/bazel/equivalence_allowlist.txt shrinks from 20 skip entries to the
two cmd/bd tests of plain go test's own bd build fallback, which Bazel never
takes; pr-preflight-platforms now runs them on Linux, macOS and Windows. The
scripts-go-checks scripts-test and allowlisted legs, their scripts
(scripts-go-test.sh, allowlisted-go-tests.sh, run_allowlisted_go_tests.py)
and main.yml's --compile-only warm for them are removed. The vet leg stays
(ga-96smfk.18).

Refs: ga-96smfk.16

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-06 22:20:16 +00:00
..
BUILD.bazel ci(bazel): run the scripts and source-walking tests remotely; retire their go test legs (#7320) 2026-10-06 22:20:16 +00:00
client.go fix(linear): arm rate-limit breaker after successful calls (#4778) 2026-07-14 13:13:52 -07:00
client_test.go fix(linear): arm rate-limit breaker after successful calls (#4778) 2026-07-14 13:13:52 -07:00
fieldmapper.go fix(linear): push bead labels to Linear on sync --push (GH#3753) (#3776) 2026-07-07 06:27:16 -07:00
idempotency.go feat(linear): add idempotency markers to prevent duplicate issue creation 2026-05-02 01:00:09 -04:00
idempotency_test.go fix(linear): use OAuth auth header for idempotent create (#4777) 2026-07-14 10:19:35 -07:00
mapping.go fix(linear): push bead labels to Linear on sync --push (GH#3753) (#3776) 2026-07-07 06:27:16 -07:00
mapping_test.go fix(linear): push bead labels to Linear on sync --push (GH#3753) (#3776) 2026-07-07 06:27:16 -07:00
oauth.go fix(linear): address maintainer feedback on OAuth client-credentials PR 2026-05-02 19:04:20 -04:00
oauth_test.go feat(linear): add OAuth client-credentials support 2026-05-02 09:35:08 -04:00
parent_reconcile.go fix(linear): wire parent-child relationships to Linear's parent field (#3930) 2026-07-06 22:16:07 -07:00
parent_reconcile_test.go fix(linear): arm rate-limit breaker after successful calls (#4778) 2026-07-14 13:13:52 -07:00
staleness.go fix(linear): clean staleness lint 2026-05-02 18:38:36 -07:00
staleness_test.go feat(linear): add ambient staleness signal for auto-fresh data 2026-05-02 20:08:33 -04:00
synclock.go fix(linear): correlate Windows sync lock diagnostics (#4990) 2026-07-23 18:09:33 -07:00
synclock_info_inline.go fix(linear): correlate Windows sync lock diagnostics (#4990) 2026-07-23 18:09:33 -07:00
synclock_info_windows.go fix(linear): correlate Windows sync lock diagnostics (#4990) 2026-07-23 18:09:33 -07:00
synclock_info_windows_test.go test(bazel): fully green //..., tag taxonomy + docker lane, sharding, test sandbox ceiling (#6871) 2026-09-27 20:19:38 -07:00
synclock_test.go fix(linear): keep lock file stable across Release cycles 2026-05-02 18:55:08 -04:00
synclock_unix.go feat(linear): add per-workspace concurrency lock on sync 2026-05-02 01:02:55 -04:00
synclock_wasm.go feat(linear): add per-workspace concurrency lock on sync 2026-05-02 01:02:55 -04:00
synclock_windows.go fix(windows): detect exited processes in liveness helpers (#4980) (#4981) 2026-07-23 18:24:49 -07:00
synclock_windows_test.go fix(windows): detect exited processes in liveness helpers (#4980) (#4981) 2026-07-23 18:24:49 -07:00
tracker.go test(proxy): topology-parameterized history and remote front-door matrix (#6269) 2026-09-05 08:25:49 -07:00
tracker_test.go fix(linear): avoid double-format skip mismatch in batch push (#4779) 2026-07-14 12:52:40 -07:00
types.go fix(linear): arm rate-limit breaker after successful calls (#4778) 2026-07-14 13:13:52 -07:00