XcodesOrg / XcodesOrg/XcodesApp

unxip experiment hangs when not enough space on target drive

Open
#292 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Swift
Stars
8.6k
Forks
387
Avg merge
6d 7h
Merged PRs (30d)
3

Description

Describe the bug

I was recently trying to install an updated xcode on a machine with a small hard drive. The target drive didn't have enough space to unxip properly, and when using the unxip experiment, xcodes hung on the unxipping step. When i turned that experiment off, i shortly got a popup saying there wasn't enough space on the drive to unxip properly.

To Reproduce
Have xcodes try to download/unxip/install to a drive that doesn't have enough space to unxip properly, while using the unxip experiment.

Expected behavior
Any errors produced by unxip experiment should be surfaced and communicated to the user, rather than just hanging in the unxip process.

Screenshots
n/a

Version

  • OS: 12.0
  • Xcodes: 1.7

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the unxip experiment's extraction entry point and reproduce installation with insufficient space on the target drive. Trace how extraction errors are handled and verify that the failure is surfaced to the user instead of leaving the process hanging; add or update the relevant test if the project provides one.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, swift
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.