I don't feel the remote caching for the pants CI t...
# development
c
I don't feel the remote caching for the pants CI test workflows are working. I'm looking at ... 🧵
This test shard: https://github.com/pantsbuild/pants/actions/runs/9252095560/job/25449129042 compared to this one, that runs after a one line fix in one integration test file, so it should not affect any other tests at all: https://github.com/pantsbuild/pants/actions/runs/9252793801/job/25451241391 so I would expect most of them to say the result was "cached remotely".. but they all had to run again. What am I missing..?
f
Have you traced dependencies between the modified files and one of the ones which reran?
c
There's no path from (nor to) the changed test to some other random test that wasn't cached..
Copy code
❯ pants paths --to=src/python/pants/vcs/git_test.py --from=tests/python/pants_test/integration/graph_integration_test.py
[]
Copy code
❯ git log -n 1 --stat
commit 93d163c8d5452f29402d0ff037c045725e616f48 (HEAD -> kaos/20947, origin/kaos/20947)
Author: Andreas Stenius <andreas.stenius@svenskaspel.se>
Date:   Mon May 27 11:47:24 2024 +0200

    no longer an error.

 tests/python/pants_test/integration/graph_integration_test.py | 1 -
 1 file changed, 1 deletion(-)
f
Did the cache entry for the
git_test.py
get evicted from the cache for some reason?
(cache space etc.)
c
it's not just
git_test.py
, it's all of the tests...