Skip to content

⚡ Select assertion-free LLVM SDKs (Phase 1) - #255

Merged
burgholzer merged 7 commits into
mainfrom
codex/optimized-release-toolchain
Oct 7, 2026
Merged

burgholzer merged 7 commits into
mainfrom
codex/optimized-release-toolchain

Conversation

@burgholzer

@burgholzer burgholzer commented Sep 8, 2026 •

Copy link
Copy Markdown
Member

🤖 AI text below 🤖

Install LLVM 23.1.2 from SDK release 2026.10.06 with assertions: false, Bash -a OFF, or PowerShell -no_assertions. Defaults retain assertions; the action keeps separate caches for the two variants. All documented LLVM version examples use 23.1.2.

The manifest records available assertion-free SDKs in optional noassert_asset_name and noassert_download_url fields. Existing default entries stay unchanged for older actions. All installers read the selected URL directly and reject unavailable variants before downloading assets. Checkout and source-archive installers use the adjacent manifest; standalone and piped scripts use main. The action uses its bundled manifest with a main fallback for unknown versions.

Consolidate platform decoding in the generator and repeated test fixtures. The installer scripts are 52% shorter, and the two test files are 41% shorter. CI covers both current variants on all five supported platforms and samples historical SDKs, including LLVM 22.1.8. PowerShell requires 7.4 or newer for binary pipelines.

Validation: all 23 tests pass, including real ON/OFF installs and cache isolation. Line coverage increased from 75.49% to 86.48%; branch coverage increased from 64.84% to 72.09%. The bundled action and Bash install the published noassert SDK on Linux ARM; a C++/MLIR consumer builds and runs against it. Standalone Bash installation of 22.1.8 and PowerShell checkout/standalone/piped selection probes pass. Type checking, repository lint, workflow schemas, and generated-manifest consistency checks pass. The current follow-up updates examples only; formatting and repository checks pass. Hosted checks are rerunning for the new revision.

AI assistance covered implementation, independent specialist review, and validation.

@codecov

codecov Bot commented Sep 8, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 86.36364% with 3 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/utils/download.ts 66.66% 2 Missing ⚠️
src/index.ts 85.71% 1 Missing ⚠️

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #255      +/-   ##
==========================================
- Coverage   88.71%   88.44%   -0.28%     
==========================================
  Files           7        7              
  Lines         390      398       +8     
  Branches       94      100       +6     
==========================================
+ Hits          346      352       +6     
- Misses         44       46       +2     
Flag Coverage Δ
integration-macos-26 81.65% <86.36%> (-0.14%) ⬇️
integration-macos-26-intel 81.40% <86.36%> (-0.14%) ⬇️
integration-ubuntu-24.04 81.15% <86.36%> (-0.13%) ⬇️
integration-ubuntu-24.04-arm 81.40% <86.36%> (-0.14%) ⬇️
integration-windows-11-arm 87.18% <86.36%> (-0.25%) ⬇️
integration-windows-2025 86.93% <86.36%> (-0.25%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/utils/manifest.ts 93.65% <100.00%> (+0.06%) ⬆️
src/index.ts 80.34% <85.71%> (-0.19%) ⬇️
src/utils/download.ts 93.47% <66.66%> (-1.98%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@burgholzer
burgholzer force-pushed the codex/optimized-release-toolchain branch 2 times, most recently from 17104a9 to 0196974 Compare September 12, 2026 13:35
Select the companion archive explicitly and isolate its tool cache. Keep
the default manifest format and assertion-enabled behavior compatible
with existing consumers. SDK publication precedes manifest updates.

Assisted-by: GPT-6 via Codex
@burgholzer
burgholzer force-pushed the codex/optimized-release-toolchain branch from 9750652 to 86b9550 Compare October 5, 2026 11:48
@burgholzer burgholzer changed the title ⚡ Expose assertion-free MLIR toolchains ⚡ Select assertion-free LLVM SDKs (Phase 1) Oct 5, 2026
Keep the published version manifest unchanged until the SDK is released.

Assisted-by: GPT-6 via Codex
Index LLVM 23.1.2 from release 2026.10.06 and exercise both assertion
variants on every supported platform. Allow standalone installers to
pin their manifest alongside the script so downstream PRs work before
this manifest reaches main.

Assisted-by: GPT-6 via Codex
Read the manifest beside the installers in a checkout or source archive,
so PR tests use their own revision without a manifest URL override.
Keep main as the fallback for standalone and piped installers. Exercise
both paths in the existing installer matrix.

Assisted-by: GPT-6 via Codex
Record published assertion-free companions as optional fields on existing
entries. Resolve URLs directly and share target decoding in the generator.
Keep checkout-local manifests and fail unavailable variants before downloads.

Consolidate integration coverage, sample historical SDKs in CI, and use
LLVM 22.1.8 for the 22 series. Document current installation requirements.

Assisted-by: GPT-6 via Codex
Create the isolated SDK cache under RUNNER_TEMP. Ubuntu 26.04 mounts /tmp
as a quota-limited tmpfs, which cannot hold extraction and cache copies.

Assisted-by: GPT-6 via Codex
Align the action input description and all README usage examples with the
published SDK version.

Assisted-by: GPT-6 via Codex
@burgholzer

Copy link
Copy Markdown
Member Author

This feels ready and a clear simplification of the action as well as the installer scripts.
I'll wait for the downstream PRs to succeed, then merge and create a release.

@burgholzer
burgholzer merged commit 731c058 into main Oct 7, 2026
26 checks passed
@burgholzer
burgholzer deleted the codex/optimized-release-toolchain branch October 7, 2026 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

continuous integration CI-related changes enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant