chilly-holiday-77415
01/11/2023, 10:49 PMchilly-holiday-77415
01/11/2023, 11:44 PMhappy-kitchen-89482
01/12/2023, 2:33 AMhappy-kitchen-89482
01/12/2023, 2:34 AMhappy-kitchen-89482
01/12/2023, 2:34 AMripe-kitchen-64238
01/12/2023, 12:27 PMchilly-holiday-77415
01/12/2023, 12:28 PMchilly-holiday-77415
01/12/2023, 12:31 PMIf you're not using a fine-grained remote caching service, then you may also want to preserve the local Pants cache at $HOME/.cache/pants/lmdb_store. This has to be invalidated on any file that can affect any process, e.g., hashFiles('**/*') on GitHub Actions.
since Gitlab doesn’t have a concept of globbing for hashes, just a limited feeling helper - https://docs.gitlab.com/ee/ci/yaml/index.html#cachekeyfilesripe-kitchen-64238
01/12/2023, 12:31 PMripe-kitchen-64238
01/12/2023, 12:32 PMchilly-holiday-77415
01/12/2023, 12:32 PMripe-kitchen-64238
01/12/2023, 12:33 PMhappy-kitchen-89482
01/12/2023, 12:49 PM$HOME/.cache/pants/lmdb_store
may not be worth it - you'd have to invalidate it on any change to any file, so it's not fine-grained enough to be useful. Pretty quickly the increasing time it takes to restore that growing dir will exceed the diminishing benefit you get from restoring it from a generic restore key that has drifted ever further away from your current state...happy-kitchen-89482
01/12/2023, 12:50 PMchilly-holiday-77415
01/12/2023, 2:07 PMripe-kitchen-64238
01/12/2023, 2:10 PMripe-kitchen-64238
01/12/2023, 2:14 PMchilly-holiday-77415
01/12/2023, 2:14 PMchilly-holiday-77415
01/12/2023, 2:14 PMchilly-holiday-77415
01/12/2023, 3:42 PMlmdb_store
was hitting this metric but invalidating that in gitlab is a job for another day. More concerningly: local_cache_total_time_saved_ms: 0
- jobs are just rebuilding pexes anyway, so my guess is for some reason gitlab isn’t allowing pexes to be reproducible between buildschilly-holiday-77415
01/12/2023, 3:43 PM__main__.py
has some pretty unique looking stuff in the shebang so I’m assuming something per-invocation is being consumed in the gitlab runner environment and not consistent between executions as a best guessthousands-continent-27390
06/22/2024, 4:40 PMchilly-holiday-77415
06/24/2024, 8:17 AMthousands-continent-27390
06/24/2024, 3:45 PM