mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-12-10 00:39:22 -06:00
When pulling Docker images with many layers, tiny layers that complete immediately would show inflated progress (e.g., 70%) even when most layers haven't started reporting yet. This made the UI jump to 70% quickly, then appear stuck during actual download. The fix scales progress by the fraction of layers that have reported: - If 2/25 layers report at 70%, progress shows ~5.6% instead of 70% - As more layers report, progress increases proportionally - When all layers have reported, no scaling is applied This ensures progress accurately reflects overall download status rather than being dominated by a few tiny layers that complete first. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>