Repository navigation
Complete eight follow-up bundles for Whale, diagnostics, std and CI - #1058
Merged
Merged
Conversation
Refs: wavefnd#996, wavefnd#997. Signed-off-by: LunaStev <[email protected]>
Refs: wavefnd#1031, wavefnd#1032. Signed-off-by: LunaStev <[email protected]>
Refs: wavefnd#995, wavefnd#1025, wavefnd#1026, wavefnd#1027. Signed-off-by: LunaStev <[email protected]>
Refs: wavefnd#852, wavefnd#1029. Signed-off-by: LunaStev <[email protected]>
LunaStev
force-pushed
the
fix/eight-followup-designs
branch
3 times, most recently
from
October 30, 2026 11:38
ceb8f7a to
dd394a2
Compare
Refs: wavefnd#988, wavefnd#989, wavefnd#990, wavefnd#904. Signed-off-by: LunaStev <[email protected]>
Refs: wavefnd#991, wavefnd#1003, wavefnd#1005, wavefnd#1006, wavefnd#1010. Signed-off-by: LunaStev <[email protected]>
Refs: wavefnd#1015, wavefnd#1016, wavefnd#1017. Signed-off-by: LunaStev <[email protected]>
Refs: wavefnd#999, wavefnd#1018, wavefnd#1020. Signed-off-by: LunaStev <[email protected]>
LunaStev
force-pushed
the
fix/eight-followup-designs
branch
from
October 30, 2026 11:55
dd394a2 to
f7ff92c
Compare
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.
Summary
Implement the eight approved follow-up bundles in eight DCO-signed commits. These changes fix reproducible scalar-lowering, diagnostic, nesting, std boundary, installation and CI-input failures while preserving the existing backend and release contracts.
Motivation
The linked issues cover source programs that were rejected by the Whale adapter despite supported scalar semantics, diagnostics that lost provenance or rendered unbounded lines, inputs that could exhaust compiler recursion, narrowing at OS boundaries, and installation/CI transactions that lacked agreed validation limits. The implementation follows the approved enum, diagnostic, nesting, socket, installer, environment-record, Nightly and LLVM-link policies.
Target and compatibility impact
--whaleselection remains unchanged. The development version stays0.0.1-alpha-dev; existing LLVM/release targets and installation/package layouts are preserved.masterGit dependency and intentionally resolvesa48f74addcd2ec776f33b67325bf6dfe8cfa15c8. Format-8 reader/verifier round trips and bounded scalar interpretation are tested; this does not add native Whale execution or full backend parity.Validation
Local checks used Rust 1.89, Cargo
--jobs 2and LLVM 21 (LLVM_SYS_211_PREFIX=/usr/lib64/llvm21).cargo +1.89 test --workspace --all-targets --jobs 2with final focused reruns of corrected/remaining targets. The initial workspace invocation stopped at an obsolete assertion that local increment was unsupported; that expectation was corrected, and the affected CLI suite, related unit/integration suites and all remaining test targets passed. This is an aggregate result, not a claim that one final uninterrupted workspace run passed.cargo +1.89 clippy --workspace --all-targets --jobs 2 -- -D warnings,cargo +1.89 fmt --all -- --check, touched Rust function spacing, std policy/API synchronization andgit diff --checkpassed.RUSTDOCFLAGS="-D warnings" cargo +1.89 doc --locked --workspace --no-deps --jobs 2passed.Checklist
Signed-off-byline.std/.CI repair
Validation exposed four platform/concurrency paths:
Windows API fixture content retained CRLF while the workflow-contract parser assumed LF. Normalize CRLF before parsing, preserve all 50 required names and return a controlled error for a missing jobs section. LF/CRLF/mixed-ending and base64-API regressions continue rejecting skipped jobs.
Windows Clippy found a Unix-only mutable binding and duplicate Win32 file-information declarations with distinct Rust structure types. Share one API declaration/layout for installation and output protection, and confine builder mutability to Unix. No warnings are suppressed.
Linux parallel installer tests exposed lock retention after an error: closing the parent handle is insufficient while another descriptor retains its open-file description (as in the fork-to-exec window). Explicitly unlock in the transaction guard before closing the file. A deterministic regression retains a duplicate descriptor across failed validation and immediate retry; lock fixtures use the same guard. Existing busy/no-mutation, parent replacement and foreign-file preservation assertions remain enforced.
The native socket regression queried an unbound UDP socket, although Winsock getsockname requires a bound address. Bind explicitly to loopback with an ephemeral port before testing family rejection; still check EINVAL, output preservation and a valid nonzero local port. This corrects fixture setup without changing std's native error contract.
The failures were reproduced locally before their fixes. Validation after the fixes:
The final socket fixture passed all six local boundary cases at O0/O2, a focused rerun with the freshly built compiler, and x64/ARM64 Windows COFF object generation.
The changes are folded into their respective socket/installer/CI bundles, retaining exactly eight DCO commits. Final CI 41051527276 completed successfully for exact head
f7ff92c54bf8b41c2877245788890935b4ca3ba1: all 50 jobs completed/success, including both Windows native build/test lanes, both macOS lanes, Linux validation and all distribution packages. There are no skipped, failed or unfinished jobs. The returned job-name set also matches the source workflow contract.