Skip to content

build: package releases for linux arm64 architecture#539

Open
zimeg wants to merge 9 commits into
mainfrom
worktree-linux-arm64
Open

build: package releases for linux arm64 architecture#539
zimeg wants to merge 9 commits into
mainfrom
worktree-linux-arm64

Conversation

@zimeg
Copy link
Copy Markdown
Member

@zimeg zimeg commented May 11, 2026

Changelog

Releases of installations and updates are now packaged for Linux arm64 (aarch64) architectures.

Summary

This pull request adds Linux arm64 support to the Slack CLI build, install, and auto-update pipelines 🔮 🚀

Preview

This example shows "arm64" and "amd64" are included in releases from CircleCI:

🔗 https://github.com/slackapi/slack-cli/releases/tag/v4.2.0-build-linux-arm64-feature

releases

Testing

We're pointing #551 toward this branch to show that installations are expected at the expected CI build for development but production continues as expected:

https://downloads.slack-edge.com/slack-cli/slack_cli_4.0.1_linux_64-bit.tar.gz
https://downloads.slack-edge.com/slack-cli/slack_cli_dev_linux_amd64.tar.gz

🔗 https://github.com/slackapi/slack-cli/actions/runs/26053774174/job/76596660399?pr=551#step:3:113

📸 A snapshot build output shows the following:

$ make build-snapshot
$ file dist/slack_linux_amd64_v1/bin/slack
dist/slack_linux_amd64_v1/bin/slack: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=7V2MZrE4n7UjQsapmksZ/pvvtGphKaTHlKNd5Fgwx/eiLegmm_15Te__Z7-sZY/sdjfDY4PC3VHOl8IS3_x, BuildID[sha1]=b00253eb22c51a9bfeb7f3adce2d339740b0a0d4, with debug_info, not stripped
$ file dist/slack_linux_arm64_v8.0/bin/slack
dist/slack_linux_arm64_v8.0/bin/slack: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, Go BuildID=CchPKzuWiGqNKYXrQN4q/kqLYEo7vzFJw2svY_8JY/Ao5GvnwanbgiprHhRE4u/Gb0kpchMnawEFdChOkrb, BuildID[sha1]=011a67f96544b9b1e6411b282468008dd635ac4c, with debug_info, not stripped

Notes

  • A "universal" fallback doesn't exist AFAICT so we continue to use "64-bit" with amd64 packaging. On versions before the next release - planned 4.2.0 - we continue to use that build too. Future updates will find the correct compilation.

Requirements

zimeg and others added 5 commits May 11, 2026 11:39
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented May 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.66%. Comparing base (afcb85d) to head (9a2e85e).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #539      +/-   ##
==========================================
+ Coverage   71.64%   71.66%   +0.02%     
==========================================
  Files         225      225              
  Lines       19074    19080       +6     
==========================================
+ Hits        13665    13674       +9     
+ Misses       4202     4201       -1     
+ Partials     1207     1205       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@zimeg zimeg self-assigned this May 18, 2026
@zimeg zimeg added semver:minor Use on pull requests to describe the release version increment build M-T: Changes to compilation and CI processes labels May 18, 2026
@zimeg zimeg added this to the Next Release milestone May 18, 2026
zimeg and others added 3 commits May 18, 2026 11:18
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
4.1.0 is already released without arch-specific Linux archives,
so the gate needs to target 4.2.0 when they'll first be available.

Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
@zimeg zimeg changed the title feat: support Linux arm64 architecture build: package releases for linux arm64 architecture May 18, 2026
@zimeg zimeg linked an issue May 18, 2026 that may be closed by this pull request
3 tasks
@zimeg zimeg marked this pull request as ready for review May 18, 2026 20:02
@zimeg zimeg requested a review from a team as a code owner May 18, 2026 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build M-T: Changes to compilation and CI processes semver:minor Use on pull requests to describe the release version increment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support aarch64 architecture for Linux OS

1 participant