Implement --no-fast
, --chroot
, and caching/invalidation for golang tests
#6935
Labels
--no-fast
, --chroot
, and caching/invalidation for golang tests
#6935
Currently, test running for golang is not transitive, and this means that https://www.pantsbuild.org/orgs.html#continuous-integration will not actually result in all targets below your roots being tested.
In a local environment, it would be sufficient to implement and use
--no-fast
,--chroot
, and v1 Task invalidation: then each run would skip testing portions of the graph that had not changed since the previous run.In a distributed environment, it is also necessary to actually write to the v1 Task cache (likely by setting
Task.cache_target_dirs = True
), so that parallel runners can reuse one-another's work.--no-fast
and--chroot
would be identical to their descriptions in the junit and pytest runners.The text was updated successfully, but these errors were encountered: