Fix progress bar crash on cached image rebuilds by realrajaryan · Pull Request #894 · apple/container
saehejkang pushed a commit to saehejkang/container that referenced this pull request
Jan 27, 2026- Fixes apple#883. Changes `BuildImageResolver` to use `fetch()` instead of `pull()`. `fetch()` checks the cache first and only pulls if needed, preventing incorrect progress events (e.g., "1/1 KB" metadata checks) on cached images that caused the progress bar width calculation to produce negative/weird padding counts, triggering "Fatal error: Negative count not allowed" crashes during rebuilds.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters