Skip to content

Fix Apple Metal runtime archive extraction#4

Open
Cashie1597 wants to merge 1 commit into
Icecubesaad:mainfrom
Cashie1597:fix/apple-metal-runtime-archive
Open

Fix Apple Metal runtime archive extraction#4
Cashie1597 wants to merge 1 commit into
Icecubesaad:mainfrom
Cashie1597:fix/apple-metal-runtime-archive

Conversation

@Cashie1597

Copy link
Copy Markdown

Summary

  • handle Apple Metal runtime archives served as gzip tar despite the .zip suffix
  • add HTTP/content diagnostics, archive validation, optional checksum lookup, and friendly runtime install errors
  • display Apple Silicon shared memory as Unified Memory instead of VRAM 0.0 GB

Root cause

The Apple Metal runtime URL returns HTTP 200 with Content-Type: application/gzip and gzip bytes, not a ZIP file. The installer assumed ZIP and surfaced the ZIP parser EOCD error to users.

Verification

  • cargo check
  • cargo test
  • cargo test live_downloads_apple_metal_runtime -- --ignored --nocapture
  • npm run build

Note: npm test -- --run still fails because this repo currently runs WDIO e2e specs under Vitest without a browser context, plus an existing formatBytes expectation mismatch. Not part of this runtime fix.

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