Skip to content

feat(vscode): publish alpine-x64 and alpine-arm64 VSIX targets - #88

Merged
fi3ework merged 3 commits into
mainfrom
feat/alpine-vsix-targets
Oct 8, 2026
Merged

fi3ework merged 3 commits into
mainfrom
feat/alpine-vsix-targets

Conversation

@fi3ework

@fi3ework fi3ework commented Oct 8, 2026 •

Copy link
Copy Markdown
Member

Summary

VS Code installs a platform-specific extension only on an exact target match, so rstack.rstack could not be installed by VS Code Server on Alpine (musl) hosts. This adds alpine-x64 and alpine-arm64 release legs.

  • rslib.config.mts maps linux-* targets to the linux-*-gnu Yuku binding and alpine-* to linux-*-musl. A local build on musl Linux sets VSCE_TARGET=alpine-<arch> explicitly.
  • release.yml adds the two legs and always lists "libc":["current","musl"] in pnpm's supportedArchitectures, so the Alpine legs get the -musl binding. On the glibc Linux legs that is a few extra optional downloads; macOS/Windows legs are unaffected because pnpm still filters by os.
  • scripts/packageTargets.mjs and the packages/vscode/AGENTS.md gotcha cover the new targets.

Verified locally: packaged alpine-x64, alpine-arm64 and linux-x64 VSIXs each carry exactly one binding (linux-x64-musl, linux-arm64-musl, linux-x64-gnu), and both musl bindings load in node:22-alpine containers.

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

VS Code installs a platform-specific extension only on an exact target match, so VS Code Server on Alpine (musl) hosts could not install rstack.rstack at all. Two more release legs ship the musl yuku-parser binding, which rslib.config.mts now selects for alpine-* targets.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-08T10:40:27.147396Z fca16a8 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

…get mapping

The review found no caller for host musl detection: the release matrix always sets VSCE_TARGET and CI builds run on glibc runners. The binding-suffix mapping and the release install step are now one expression each.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e2a94d4012

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/vscode/rslib.config.mts
The Linux VSIX targets differ only by libc, so a lookup table states the mapping as data instead of a nested ternary. Behavior is unchanged.
@fi3ework
fi3ework enabled auto-merge (squash) October 8, 2026 10:41
@fi3ework
fi3ework merged commit 9c6175b into main Oct 8, 2026
3 checks passed
@fi3ework
fi3ework deleted the feat/alpine-vsix-targets branch October 8, 2026 10:47
@fi3ework fi3ework mentioned this pull request Oct 9, 2026
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.

1 participant