famous-kilobyte-26155
08/05/2025, 5:07 PMpants-init
My issue is that pants lint ::
is catching errors in the github action, but not on my local machine.
Any suggestions on tracking this discrepancy down?fast-nail-55400
08/05/2025, 5:14 PMpants.ci.toml
in place (assuming you are using the init-pants GHA action)?famous-kilobyte-26155
08/05/2025, 5:17 PMfast-nail-55400
08/05/2025, 5:26 PM--stats-log
option which will include cache hit / miss counts.fast-nail-55400
08/05/2025, 5:26 PMfast-nail-55400
08/05/2025, 5:27 PMrm -rf ~/.cache/pants/lmdb_store
but that should be a last resort.fast-nail-55400
08/05/2025, 5:28 PMfamous-kilobyte-26155
08/05/2025, 6:20 PMpants lint --stats-log ::
gave me all zeros when I tried it after the restart. Somehow the cache got reset.
The project is in a devcontainer. I didn’t rebuild the container, so since ~/.cache is in the image, in principle the cache should be the same after the restart. So, I’m going to chalk it up to more weird docker file system nonsense.
Thanks for the prompts.