Skip to content

Conversation

@albertodebortoli
Copy link
Member

@albertodebortoli albertodebortoli commented Jan 18, 2026

Pull Request Title

This PR adds architecture validation during tool installation to ensure downloaded executables are compatible with the host machine. If an incompatible binary is detected, the installation fails with a clear error message.
The check can be ignored with the --ignore-arch-check flag when using the install command.

Type of Change

  • Feature
  • Bug fix
  • Maintenance / Refactor
  • Documentation
  • CI / Tooling
  • Other (specify)

How Has This Been Tested?

Describe the testing strategy and commands executed.

  • Added / updated unit tests
  • Manually tested locally
  • Tested on macOS (arch: arm64 / x86_64)
  • Other

Screenshots / Demo (if applicable)

Add images, logs, or terminal output.

Checklist

  • Swift code builds locally (swift build)
  • Tests pass locally (swift test)
  • Code style / formatting respected
  • Documentation updated (README / comments)
  • Version / tag alignment considered (if release related)
  • PR title follows conventional style (optional)

CI Considerations

  • Affects build time notably
  • Requires new secrets / env vars
  • Alters release process

Breaking Changes?

  • No
  • Yes

@albertodebortoli albertodebortoli added this to the 0.5.0 milestone Jan 18, 2026
@albertodebortoli albertodebortoli merged commit 0418b28 into main Jan 20, 2026
1 check passed
@albertodebortoli albertodebortoli deleted the validate-architecture branch January 20, 2026 09:15
@albertodebortoli albertodebortoli added the enhancement New feature or request label Jan 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants