You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, images are cached on each self-hosted runner, but there is no automated method for cache invalidation. The only way to invalidate the cache is by manually logging into the QEMU host and removing the .qcow2 images. To improve this, the cache invalidation process should be automated based on .checksum files associated with the cached images.
By using .checksum files, the system can automatically check whether the cached images are outdated or corrupted, and invalidate the cache if necessary, ensuring that the runners always use valid images.
Requirements
Implement a cache invalidation mechanism that checks .checksum files for each cached .qcow2 image.
Automatically invalidate and remove cached images if their checksums do not match the corresponding .checksum file.
Ensure that checksum verification is triggered:
At the start of each test run.
During periodic maintenance tasks (if applicable).
Provide a manual trigger for cache invalidation based on checksum mismatches via a command or API.
Ensure that invalidation is efficient and does not interfere with ongoing tasks.
Acceptance Criteria
Cache invalidation is based on the comparison of .qcow2 image checksums against their respective .checksum files.
If a mismatch is detected, the cached image is invalidated and removed, prompting the system to fetch or recreate a valid image.
Users can manually trigger a checksum-based invalidation.
The process is automated, ensuring images remain up-to-date without requiring manual intervention.
The cache invalidation process is safe and does not disrupt ongoing operations.
The text was updated successfully, but these errors were encountered:
Currently, images are cached on each self-hosted runner, but there is no automated method for cache invalidation. The only way to invalidate the cache is by manually logging into the QEMU host and removing the
.qcow2
images. To improve this, the cache invalidation process should be automated based on.checksum
files associated with the cached images.By using
.checksum
files, the system can automatically check whether the cached images are outdated or corrupted, and invalidate the cache if necessary, ensuring that the runners always use valid images.Requirements
.checksum
files for each cached.qcow2
image..checksum
file.Acceptance Criteria
.qcow2
image checksums against their respective.checksum
files.The text was updated successfully, but these errors were encountered: