Skip to content

Show extraction progress in the deps download dialog#22

Merged
StuartCameronCode merged 1 commit into
mainfrom
deps-extract-progress
Jun 9, 2026
Merged

Show extraction progress in the deps download dialog#22
StuartCameronCode merged 1 commit into
mainfrom
deps-extract-progress

Conversation

@StuartCameronCode

Copy link
Copy Markdown
Owner

Extracting the deps zip (many file writes + chmod) is slow on Linux, and the download dialog previously sat frozen on "Extracting..." at 100% with no indication of activity.

  • _extractZip now reports per-file byte progress (summed uncompressed total, throttled to ~every 2 MB) as it writes each entry, so the bar advances through extraction. Each write is awaited, so the UI repaints between files.
  • The dialog shows an indeterminate (animated) bar whenever there's no fraction yet — connecting, and the synchronous zip-decode before the first file write — so there's always an activity indicator. Percent/bytes labels are hidden while the total is unknown.

Verified locally: cleared the deps cache and ran the Linux debug build — the dialog now advances through download → extraction with a live bar instead of freezing.

🤖 Generated with Claude Code

Extracting the deps zip (many file writes + chmod) is slow on Linux, and
the dialog previously sat frozen on "Extracting..." at 100%. Now _extractZip
reports per-file byte progress (uncompressed total, throttled to ~every
2 MB) so the bar advances through extraction. The dialog shows an
indeterminate (animated) bar whenever there's no fraction yet — connecting,
or the synchronous zip-decode before the first file write — so there's
always an activity indicator. Percent/bytes labels are hidden while the
total is unknown.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@StuartCameronCode StuartCameronCode merged commit 242f660 into main Jun 9, 2026
4 checks passed
@StuartCameronCode StuartCameronCode deleted the deps-extract-progress branch June 9, 2026 06:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant