Skip to content

build: package releases for linux arm64 architecture#539

Merged
zimeg merged 10 commits into
mainfrom
worktree-linux-arm64
May 21, 2026
Merged

build: package releases for linux arm64 architecture#539
zimeg merged 10 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.65%. Comparing base (fe2457c) to head (a851dc7).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #539      +/-   ##
==========================================
- Coverage   71.67%   71.65%   -0.02%     
==========================================
  Files         226      226              
  Lines       19104    19110       +6     
==========================================
+ Hits        13692    13693       +1     
- Misses       4207     4210       +3     
- Partials     1205     1207       +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
@zimeg zimeg mentioned this pull request May 19, 2026
2 tasks
Copy link
Copy Markdown
Contributor

@srtaalej srtaalej left a comment

Choose a reason for hiding this comment

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

woot woot this is great!

@zimeg
Copy link
Copy Markdown
Member Author

zimeg commented May 21, 2026

@srtaalej Thanks so much! I think so too ❄️ ✨ 🚀

Let's merge this ahead of the next release. I'm making note in #553 that we'll want to update our installation pages too but let's confirm with the initial issue that development builds are alright!

@zimeg zimeg merged commit fee9c54 into main May 21, 2026
10 checks passed
@zimeg zimeg deleted the worktree-linux-arm64 branch May 21, 2026 22:09
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

2 participants