Skip to content

Ship standalone native bundles and glibc 2.28 wheels on six platforms - #231

Open
t-kalinowski wants to merge 53 commits into
mainfrom
feat/native-release-bundles
Open

t-kalinowski wants to merge 53 commits into
mainfrom
feat/native-release-bundles

Conversation

@t-kalinowski

@t-kalinowski t-kalinowski commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Posit Assistant needs a native executable it can download and use to run sandboxed commands, including on RHEL 8. This adds standalone GitHub release archives and PyPI wheels for x86-64 and ARM64 on Linux, macOS, and Windows.

Each archive contains the native executable, private sandbox runner, helpers, and licenses from the corresponding wheel. Applications unpack the archive and invoke bin/mcp-console sandbox --no-config -- PROGRAM ARG... (on Windows, bin\mcp-console.exe with the same arguments). Console finds and verifies its companion relative to that executable. The sandbox launcher requires no MCP server, ir, Python, pip, or uv. The application supplies the target program and its dependencies.

The Linux jobs build Console, the runner, and bubblewrap in the native manylinux_2_28 images, link libcap statically, include its redistribution notice, and check each ELF dependency and symbol version. The final archives run in a Python-free AlmaLinux 8 image, and fresh wheel installations run in compiler-free images with Python and R. Windows ARM64 uses native MSVC, checks PE architecture and imports, and supports the ARM64 R DLL layout.

The companion pin includes two Windows changes. Short names in an authorized directory resolve to the same native grant as its long spelling. A workspace metadata name that was absent at launch stays protected, and existing metadata remains readable. Short-path grants and workspace protection.

Manual workflow runs produce six wheels, six archives, and SHA256SUMS. On a verified release tag, the workflow publishes the wheels through PyPI Trusted Publishing and attaches the tested archives and checksums to the GitHub release. An interrupted GitHub upload reuses the retained artifacts and checks the digests of files already uploaded. Builders refuse to rebuild a version already on PyPI.

The only changes since the six-platform rehearsal are in the companion
CI workflow. Required native Windows ARM64 Cargo and Bazel checks,
Intel macOS and Linux passed for this source revision.

https://github.com/t-kalinowski/cobox/actions/runs/44586739221
@t-kalinowski

Copy link
Copy Markdown
Member Author

No findings found by gpt-6.2-astra with reasoning effort max

Reviewed commit: a8cd0d8731bb36fcc3e8e7f04f3ca05a7fcf9736.

This branch has not been deployed

No deployments
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