Repository navigation
release: make every Release leg able to go green (toward v0.15.2.2 with SDKs on all platforms) - #1155
Merged
Merged
Conversation
…map, windows-aarch64 NM, reproducible Windows links)
The Release workflow has failed on every platform since 2026-09-12; v0.15.2.1
shipped SDKs for three of five platforms because its Windows legs never
finished. Three of the causes, each verified against the failed run
35102512299:
- build.w: release_asset_for_host() / supported_release_platform_tag() had
no linux-aarch64 case and fell through to the darwin asset, so on that
host the seed-driver, test-green, last-green and seed targets — and the
SDK asset name — all keyed on darwin ("the driving compiler ... is not the
pinned seed v0.15.2.0 (79a63ff...)" compared the linux-aarch64 seed to the
darwin digest). Add the case.
- nightly-release.yml, windows-aarch64: the toolchain step never exported
NM, so cli-selfhost-object-symbol-tests and bundle-interface-tests ran
the runner's MSYS nm, which cannot parse an arm64 COFF image ("nm failed
for emit_obj_globals"). Point NM at the SDK's llvm-nm.exe, as
selfhost-windows-aarch64.yml already does.
- src/compiler/Link.w: pass /Brepro on the COFF link. The seed-driven gates
relink the release compiler in every step on every platform (a separate
inefficiency), and only on Windows did the bytes change, because lld-link
stamps the PE header and PDB GUID from the wall clock; fixpoint compares
emitted objects, never the linked image, so it never saw the churn. That
is the "last-green: stale test pass marker" failure on windows-x86_64:
the marker's compiler sha256 was taken before the relink.
This was referenced Sep 16, 2026
added 2 commits
September 16, 2026 12:53
…elease process, linux-aarch64 Docker host The release UAT's zlib, sqlite3 and openssl legs broke because `with get` now fetches zlib 1.3.2 and OpenSSL 4.0.2, whose headers reach three latent gaps in the c_import modeler (the 09-06 compiler fails on them identically): - src/CImport.w: an object-like macro whose value is a call is recorded untranslated, like a function alias — a known C function would be a raw call at program start (`#define zlib_version zlibVersion()`, "raw c_import function call requires unsafe context"), and a callee this import never emitted leaves a dangling name (`#define OSSL_DEPRECATEDIN_4_0 OSSL_DEPRECATED(4.0)`, "undefined variable"). Referencing such a macro is the loud, allow-gated omission error. - src/CImport.w: every type position now spells a raw C function pointer `unsafe extern "C" fn(...)` — the constant-probe emitter, the typedef alias resolver and ci_infer_cast_return_type had kept the safe spelling, so sqlite3's `#define SQLITE_STATIC ((sqlite3_destructor_type)0)` became `let SQLITE_STATIC: extern "C" fn(...) = (0 as unsafe extern "C" fn(...))`, a binding type mismatch. - build/release_uat_fixtures/openssl_main.w: `write` is import-gated (#750); add `use std.builtins.write`. - test/spec/spec_ss14_11_await_combinator_cancel_joins.w: `skip-on: linux-aarch64` — #916 does not reproduce there, so the known-issue gate reported "expected red but passed" (the one red file of 210 on that leg). The openssl UAT still fails on darwin/linux until #1158 (a double free in compile_source_frontend_mode while modeling OpenSSL 4.0.2's evp.h; a main regression since v0.15.2.1, layout-dependent). Process (Eric, 2026-09-16): the Mac builds and publishes darwin-aarch64 and linux-aarch64; CI builds and appends the rest. - tools/docker/linux-aarch64/Dockerfile: the native linux/arm64 release host (an Apple Silicon Mac runs it natively); bakes in what a bare ubuntu:24.04 lacks and fails silently without (g++, libxml2). - tools/release_local.w: `with run tools/release_local.w vX.Y.Z` — the darwin gates, :release-uat, packaging and publish-first, then the same inside the container for linux-aarch64 (pins from seed.lock and the linux-aarch64 lane). - .github/workflows/nightly-release.yml: darwin-aarch64 leaves the unix matrix for its own job; it and build-linux-aarch64 run only when github.event_name != 'push', so a tag push builds linux-x86_64, windows-x86_64 and windows-aarch64 and the nightly/test channels still exercise all five. - docs/with-release-runbook.md: "Linux aarch64 Release Host (Docker on Apple Silicon)" and "Local-first: the Mac publishes darwin and linux-aarch64; CI appends the rest".
…nd the two open decisions Replaces the stdlib-sourcing/corpus-registry handoff (that work is merged: #1129, #1142, #1151). Records the release state at 4ecfddb: what each Release leg failed on and which fix addresses it, the evidence on this commit (battery green through last-green; :release-uat red on openssl alone), the two decisions blocking the cut (#1158 openssl double free, windows-aarch64 placement), the exact publish sequence, the issues filed today, and the environment traps that cost rebuild cycles to find.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Toward cutting v0.15.2.2 with a compiler and an LLVM SDK for all five platforms, under the local-first process ruled 2026-09-16 (the Mac publishes darwin-aarch64 and linux-aarch64; CI builds and appends linux-x86_64, windows-x86_64 and windows-aarch64).
The Release workflow had failed on every leg since 2026-09-12. Per-leg root causes and status:
seed-driver: … is not the pinned seed v0.15.2.0 (79a63ff…)release_asset_for_host()had no linux-aarch64 case → darwin fallthrough (also fed test-green, last-green, seed, SDK asset name)undefined symbol: with_vec_append_bytesin one spec testknown-issue #916file; #916 does not reproduce on aarch64 (native arm64 container build: 209/210 pass, that one "expected red but passed")skip-on: linux-aarch64; residue tracked in #1156nm failed for emit_obj_globalsNM; MSYSnmcan't read arm64 COFFNM=<sdk>/bin/llvm-nm.exelast-green: stale test pass marker/Brepro; build/fixpoint/test/last-green now pass on that legraw c_import function call requires unsafe context, sqlite3type mismatch in binding, opensslundefined variablewith getnow fetches zlib 1.3.2 and OpenSSL 4.0.2, whose headers reach three latent c_import generator gaps (the 09-06 compiler fails identically)compile_source_frontend_modeon evp.hProcess and automation in this PR:
tools/docker/linux-aarch64/Dockerfile(the native arm64 release host; a bare ubuntu fails silently without g++/libxml2),tools/release_local.w(with run tools/release_local.w vX.Y.Z: darwin gates →:release-uat→ package → publish-first, then the same inside the container for linux-aarch64), the workflow split (build-darwin-aarch64andbuild-linux-aarch64gated ongithub.event_name != 'push'), and two new runbook sections.Validation: test-channel Release runs on this branch (
workflow_dispatch,channel: test); the first (35134417320, pre-generator-fix) already proved the seed-driver,/Breproand per-leg gates. A second run on this commit exercises the generator fixes, the NM fix and the aarch64 skip. Thensrc/version→v0.15.2.2, merge, tag,with run tools/release_local.w v0.15.2.2.Compiler-source changes here (
src/compiler/Link.w/Brepro,src/CImport.wgenerator) are release blockers and are flagged as such.