Skip to content

fix: only enable rosetta by default when installed#1188

Open
manojmahapatra wants to merge 1 commit intoapple:mainfrom
manojmahapatra:bug/rosetta-enabled-by-default
Open

fix: only enable rosetta by default when installed#1188
manojmahapatra wants to merge 1 commit intoapple:mainfrom
manojmahapatra:bug/rosetta-enabled-by-default

Conversation

@manojmahapatra
Copy link
Contributor

@manojmahapatra manojmahapatra commented Feb 10, 2026

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Motivation and Context

Addressing #1136

On fresh installs, build.rosetta defaults to true, which makes the builder VM request rosetta even when it isn’t installed. That looks like hits a potential Virtualization.framework install‑prompt bug and fails the build unexpectedly. This change keeps the existing auto install behavior for explicit opt‑in while preventing the default path from enabling Rosetta unless it’s already installed.

Testing

  • Tested locally
  • Added/updated tests
  • Added/updated docs

@jglogan
Copy link
Contributor

jglogan commented Feb 10, 2026

Hi @manojmahapatra, please setup signed commits. See: https://github.com/apple/containerization/blob/main/CONTRIBUTING.md#pull-requests

@manojmahapatra
Copy link
Contributor Author

Yes, it was missing on my new MBP, I've set it up correctly now.

@manojmahapatra manojmahapatra force-pushed the bug/rosetta-enabled-by-default branch from 6b9373f to d7b9711 Compare February 10, 2026 22:57
@manojmahapatra
Copy link
Contributor Author

@jglogan when you've time, can you please review this?

@jglogan
Copy link
Contributor

jglogan commented Mar 4, 2026

@jglogan when you've time, can you please review this?

@manojmahapatra Sorry I have been swamped and will continue to be through next week.

I did get a chance to look at a cluster of PRs tonight. This looks perfectly fine. We've still got a few lingering container lifecycle bugs that hit us nondeterministically in CI, so I'm trying to get a build working and then will approve/merge. Apologies for the delay!

@manojmahapatra
Copy link
Contributor Author

No worries, and no rush btw. I just wanted to bubble this up. Thank you!

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.

2 participants