Skip to content

fix: drop 32-bit arch support#645

Merged
ueokande merged 1 commit into
masterfrom
fix-supported-runner
May 6, 2026
Merged

fix: drop 32-bit arch support#645
ueokande merged 1 commit into
masterfrom
fix-supported-runner

Conversation

@ueokande
Copy link
Copy Markdown
Member

@ueokande ueokande commented May 6, 2026

Summary

Remove I686/x32 since no supported runner uses 32-bit Linux ARM is not distributed by Firefox.

Supported platforms

  • macOS x64
  • macOS ARM64
  • Linux x64
  • Linux ARM64
  • Windows x64
  • Windows ARM64

Remove I686/x32 from the Arch enum and getArch() since no supported
runner uses 32-bit x86, and 32-bit Linux ARM is not distributed by Firefox.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@ueokande ueokande changed the title fix: drop 32-bit arch support from platform and DownloadURL fix: drop 32-bit arch support May 6, 2026
@ueokande ueokande requested a review from Copilot May 6, 2026 03:30
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes 32-bit architecture handling from the action’s platform detection and Firefox download URL generation, aligning supported platforms with available GitHub-hosted runner architectures and Firefox’s distributed builds.

Changes:

  • Removed the I686 architecture constant and dropped x32 mapping from runtime arch detection.
  • Removed 32-bit Linux/Windows download URL variants (linux-i686, win32) from both archive and latest download URL builders.
  • Updated unit tests to remove 32-bit platform cases.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
src/platform.ts Removes 32-bit arch constant and eliminates x32 arch mapping so unsupported 32-bit runners fail fast.
src/DownloadURL.ts Removes 32-bit Linux/Windows URL segments from both archive and “latest” URL generation.
__test__/DownloadURL.test.ts Removes test cases that asserted 32-bit URL generation / unsupported-platform behavior for 32-bit variants.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ueokande ueokande merged commit c5cfea2 into master May 6, 2026
16 checks passed
@ueokande ueokande deleted the fix-supported-runner branch May 6, 2026 03:33
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