Skip to content

fix: remove linux-arm and win32-x86 from archive verification and promotion targets @W-23480655@ - #1732

Merged
iowillhoit merged 2 commits into
mainfrom
wr/remove-dropped-architectures
Jul 31, 2026
Merged

fix: remove linux-arm and win32-x86 from archive verification and promotion targets @W-23480655@#1732
iowillhoit merged 2 commits into
mainfrom
wr/remove-dropped-architectures

Conversation

@WillieRuemmele

@WillieRuemmele WillieRuemmele commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Remove linux-arm and win32-x86 from the defaultArchives list in cli:versions:inspect — these architectures are no longer built
  • Remove linux-arm and win32-x86 from the TARGETS list in channel:promote
  • Add win32-arm64 and darwin-arm64 to TARGETS to match the current CLI build matrix

Context

The CLI dropped linux-arm and win32-x86 in salesforcecli/cli#2851. The archives-verify nightly job now fails because it downloads stale tarballs at an old version and reports a version mismatch.

Test plan

  • archives-verify CI job passes on the next nightly build
  • channel:promote can be invoked with --architecture-target win32-arm64 and --architecture-target darwin-arm64

@W-23480655@

@WillieRuemmele
WillieRuemmele requested a review from a team as a code owner July 31, 2026 18:56
@WillieRuemmele
WillieRuemmele force-pushed the wr/remove-dropped-architectures branch from 128e8da to 9a009fb Compare July 31, 2026 18:58
@WillieRuemmele WillieRuemmele changed the title fix: remove linux-arm and win32-x86 from archive verification and promotion targets fix: remove linux-arm and win32-x86 from archive verification and promotion targets @W-23480655@ Jul 31, 2026
Comment thread src/commands/channel/promote.ts Outdated
Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
const messages = Messages.loadMessages('@salesforce/plugin-release-management', 'channel.promote');
const TARGETS = ['linux-x64', 'linux-arm', 'win32-x64', 'win32-x86', 'darwin-x64'];
const TARGETS = ['linux-x64', 'win32-x64', 'win32-arm64', 'darwin-x64', 'darwin-arm64'];

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
const TARGETS = ['linux-x64', 'win32-x64', 'win32-arm64', 'darwin-x64', 'darwin-arm64'];
const TARGETS = ['linux-x64', 'linux-arm64', 'win32-x64', 'win32-arm64', 'darwin-x64', 'darwin-arm64'];

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We do still ship linux-arm64, just not linux-arm (check)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

However, we dont actually use this channel:promote script. Doesnt hurt to update this, but we use the standard oclif promote in the CLI (pjson script)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Whoops, my mistake, this is used. Glad we updated it 😅

We still ship linux-arm64, just not the old 32-bit linux-arm.
Comment thread src/commands/cli/install/test.ts Outdated
// 'x86.tar.xz'
// 'arm64.tar.xz'
],
linux: ['x64.tar.gz', 'x64.tar.xz'],

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Same here, we should add arm64 BUT it also looks like we don't use this cli:test:install script either in the cli, only the JIT one (source)

@iowillhoit
iowillhoit merged commit 59c4730 into main Jul 31, 2026
10 checks passed
@iowillhoit
iowillhoit deleted the wr/remove-dropped-architectures branch July 31, 2026 20:31
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