Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Check container re-created every hour #2923
Concourse re-creates check-containers every hour, even if there are no new versions of the resource.
The negative consequence of this is that for example git resource will unnecessarily clone the entire repo again every hour.
Our pipelines have approximately 4 GB of git data, and cloning them again hourly means 24 * 30 * 4 GB = 2880 GB of unnecessary git clones per month.
Steps to Reproduce
The resource check container id should not change, the container should not be destroyed and recreated.
The check container will be destroyed and recreated every hour with a new container id.
Here is what I found from the logs
The creation of the new check container (064f360d-b3dd-41fb-7ee7-c57c471999b1) begins at 04:10:00.
These are the log messages that are related to creating the new check container:
The referenced volumes belong to the new check container, as shown by fly containers -v:
The full syslog starting from 02:00 is available here: https://gist.github.com/jmerinen/24708489c528dff5f77f8e5154be6f67
The check containers expire up to every hour because check containers have a