Files
Brad Fitzpatrick 1264887365 tstest/deptest: make ImportAliasCheck results per-commit in CI
ImportAliasCheck runs git grep in a subprocess, whose file reads Go's
test cache can't see. With a shared CI test cache, callers' tests kept
reporting a stale "ok (cached)" for new commits that added bad
x/exp/{maps,slices} imports, as long as the test binary didn't change.
That's how tailscale/corp#49716 merged with green CI.

Read GITHUB_SHA so Go records it in the test cache key, making the
cached result per-commit in CI.

Updates tailscale/corp#49716

Change-Id: I6301f5ed067a05294185b05a195550efa8e5aa01
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2026-10-08 11:35:59 -07:00
..