Skip to content

Improve network error handling during SDK setup #137

Open

Description

@kabiroberai

The "installing toolchain" step occurs after we unxip. If toolchain download fails, the user may be left with a cryptic error message. There are a few issues here:

  1. Users might assume this is due to their Xcode.xip being broken, so they end up re-downloading the multi-gigabyte xip to no avail. We should clearly tell the user this error actually occurred when downloading the Darwin toolchain from GitHub.
  2. We waste time unxipping before we initiate the connection to download the Darwin toolchain. If we flipped the steps around, it would tighten the iteration loop.

Activity

  1. changed the title [-]Improve network error reporting during SDK setup[/-] [+]Improve network error handling during SDK setup[/+] on Jul 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions