broad-processor-92400
04/26/2023, 3:15 AMpants.ci.toml
, and it seems to cut test times noticably on main
, but doesn't help much in a PR.
Specifically, retrying a test shard that failed spuriously still ends up rerunning all of the passing tests. On the surface, this circumstance seems very amenable to caching: the code is the same between the runs (I think?). Some of the steps set PANTS_REMOTE_CACHE_READ=false
etc., but not the test ones.
Am I missing something about how remote caching works?enough-analyst-54434
04/26/2023, 3:35 AMbroad-processor-92400
04/26/2023, 3:37 AMmain
(most of the ones I click into have some sort of remote caching), but never on PRs.enough-analyst-54434
04/26/2023, 3:38 AMbroad-processor-92400
04/26/2023, 3:38 AM06:15:29.74 [WARN] [rule-construct-auth-store] Failed to load Toolchain token from env var 'TOOLCHAIN_AUTH_TOKEN'. Please make sure the env var is set in your environment.
Which'd might suggest that's a secret not available to (some) PRs?enough-analyst-54434
04/26/2023, 3:38 AMbroad-processor-92400
04/26/2023, 3:40 AMGITHUB_TOKEN
, secrets are not passed to the runner when a workflow is triggered from a forked repository."enough-analyst-54434
04/26/2023, 3:40 AMbroad-processor-92400
04/26/2023, 3:40 AMenough-analyst-54434
04/26/2023, 3:41 AMbroad-processor-92400
04/26/2023, 3:42 AMenough-analyst-54434
04/26/2023, 3:42 AMbroad-processor-92400
04/26/2023, 3:43 AMfast-nail-55400
04/26/2023, 7:08 AMpolite-garden-50641
04/26/2023, 2:33 PMenough-analyst-54434
04/26/2023, 3:28 PM