Files
zot/pkg/storage/imagestore
copilot-swe-agent[bot] d464313d60 Fix Windows path handling for S3 storage driver
Add pathRel helper method to ImageStore that handles path operations correctly for both local and non-local storage drivers. For S3 and other non-local drivers, use forward slashes consistently to avoid Windows path separator issues where filepath.Rel fails when paths use forward slashes but Windows expects backslashes.

This fixes the memory exhaustion and high CPU usage issue on Windows when using S3 storage, which was caused by infinite loops in GetRepositories and related methods.

Co-authored-by: rchincha <45800463+rchincha@users.noreply.github.com>
2026-01-15 19:46:34 +00:00
..