Repository navigation
merge queue: checking #2262 + #2244 + #2231 together on master (626dc7c), stacked on 4 pull requests ahead - #2263
Closed
mergify[bot] wants to merge 14 commits into
Closed
mergify[bot] wants to merge 14 commits into
mergify[bot] wants to merge 14 commits into
Conversation
Lower randomize() with blocks into call-specific solver methods. Inline predicates add to named constraints without persisting across calls, retain static receiver property lookup under dynamic dispatch, and preserve selection, check-only calls, hooks and UNSAT value preservation. Package methods and separate generated instances get distinct methods. This initial subset accepts unqualified receiver properties; caller-local captures, local::, qualified this/super and restricted with-name lists remain unsupported. Bound nested inline parsing before recursion. IEEE 1800-2023 18.6.3 and 18.7. Validation: 133 syntax tests, 840 analyzer tests (three existing ignored), 356 class backend tests and 20 final inline backend tests pass; affected all-target Clippy and formatting pass. Verilator passes the basic and package/instance cases. Retain observed Icarus compile limitations and standalone Verilator evidence for failed-call post hooks and hidden-property static scope, without weakening assertions. Retain bound inline requests in exported scope symbols, deduplicate them across imports and regenerate helper dispatch in the consumer scope. A package method called through a base handle now reaches module-defined subclasses, including their constraints and hooks. The package/multiple-instance regression covers this import boundary. Validation: 60 constrained backend tests, 841 analyzer tests (three existing ignored), Verilator and analyzer all-target Clippy pass; Icarus retains its known inline-syntax exclusion. Change-Id: I6ae718696957044ae716f778092c6106488086d6
Allow constraint expressions to read width-checked, immutable input values supplied for one solve. Inputs are excluded from the solver projection and object state. Missing inputs fail before RNG draws, and check-only calls preserve object values and the random stream. Add a heap operation that consumes a binary input buffer, preserving zero bytes and releasing the buffer even if program decoding or solving fails. Existing ordinary randomization remains compatible and passes an empty input list. Validation: all 26 celox-heap tests and all-target Clippy pass. Regression covers successive input values, check-only UNSAT, missing input diagnostics, binary transport and malformed buffer lengths. Change-Id: Ib35948f9141eaa42af30ad9db9c9ad68a5e9b560
Resolve inline constraint names against the receiver class first, then the calling scope. Support local::name to bypass the receiver explicitly. Pass 1–64-bit two-state scalar variables and arguments as read-only call inputs, retaining width and signedness through solving, dynamic subclass dispatch and imported package methods. Keep local:: out of package dependency discovery. Four-state and unpacked inputs, typed parameter inputs, qualified this/super references and restricted with-name lists remain unsupported. IEEE 1800-2023 18.7 and 18.7.1. Validation: 70 constrained-randomization backend cases, 842 analyzer tests (three existing ignored), affected all-target Clippy, formatting, four retained-report tests and seven report checker tests pass. Both new shared cases pass Verilator. Icarus rejects the constraint/inline syntax; observed diagnostics extend the existing reviewed exclusion. Cases cover shadowed locals, signed values, repeated calls, range inputs, check-only calls, selected-member UNSAT preservation and imported inherited methods. Prepare the receiver (selection and pre-hook) before reading caller inputs, then solve and run the post-hook once. Receiver static members reject before caller fallback, while explicit local:: remains valid. Accept the official CI-observed fail-to-pass transition for 18.7.1--local-scope-resolution_0 in both state modes; both were rechecked with the pinned source and debug driver. Review validation: 75 constrained backend tests, three focused analyzer regressions, affected Clippy, four retained-report tests and seven report checker tests pass. The new hook case exposes Verilator 5.052 sampling inline inputs before the pre-hook; preserve the assertions and record observed evidence in the reviewed limitation. Change-Id: I65f528d40633d4cbbe253c55c98f0039c01f82aa
Two-state lowering converted X/Z operands to zero before ===, !== and ordinary case matching. A parity check against X could therefore accept a known zero and clear an instruction-loader byte (#2136). Retain literal unknowns inside exact-comparison operands and project their value and mask into ordinary two-state SLT expressions before backend lowering. Apply the same rules to combinational/procedural expressions and case matching, including width extension and conditional/arithmetic operands. Storage stays two-state, calls keep their effects, and known-only comparisons reuse their interned graph (IEEE 1800-2023 11.4.5 and 12.5). Preserve actual startup unknowns too: encode default four-state function locals as X rather than Z (6.8, Table 6-7), and keep partially driven nets out of constant-variable inlining when any read touches undriven bits. Merge sparse driver intervals to check coverage without a full-width bit mask. Fully covered constant reads remain eligible for inlining. Test interior gaps, high undriven bits, contiguous fragments and dependency preservation. The existing startup API regressions now explicitly check both state modes and verify that comparison results have no unknown bits. Add five shared regressions for operand order, signed/wide patterns, X versus Z, conversion, FF/timed execution, loaded bytes, call effects and unknown intermediates. Icarus passes all five unchanged cases. Verilator passes the timed effects case and rejects four with unsupported tristate constructs; retain the actual diagnostics, check their named cases, status, phase and diagnostic, and keep them executable without exclusions. Validation: 5,868 SV integration tests passed (20 existing ignored tests), 4,619 Veryl shared executions across native, native-parallel, Cranelift, Cranelift-parallel, WASM and the interpreter passed, as did 186 SLT unit tests, 9 frontend unit tests and all 4 retained-report integration tests. Changed crates/test targets pass clippy, formatting and workspace checks. The native NAPI addon builds and all 116 JS boundary tests pass. The companion performance-stack PR #2233 maintains the correction for the base's CodegenError::message feature gating in host-runtime-disabled SV builds. A pre-existing case-coverage false positive remains: an exhaustive case on {b, 1'bx} with only 2'b0x and 2'b1x labels is diagnosed as a latch. Both reproduce on the unchanged base and are not duplicated or broadened into this patch. Fixes #2136 Change-Id: I2b96b81844d9977a40668002b257c8bf845a249b
Add an internal image-local call ABI with a hidden state pointer, signed status propagation, and preservation of pinned host state. Treat these callees as opaque state effects in SIR memory passes and invalidate cached load origins across calls. Ordinary DPI imports keep their existing ABI. Validation: SIR, optimizer and x86 unit suites; native-call regressions cover zero, positive and negative status values, pinned R15/GS state, tick-loop state and live vector values. Memory regressions prevent forwarding or reloading overwritten state across a kernel call. Owning-crate clippy and formatting pass. Generated-kernel callers now require explicit complete callee arena bounds; emission without them is rejected. The direct emit_with_callees entry and X86BackendOptions::with_native_callees reserve the caller above every callee's full required_state_size, including nested reservations. Existing explicit arena placements remain supported by the prepared pipeline. A regression reproduced the review finding with two generated functions emitted at the same 4096-byte semantic state size: the caller's last seven spilled values became zero. The fixed test supplies the actual emitted callee extent. Three-level generated call regressions force spills at every level, cover R15/GS and tick-loop entry, propagate zero, positive and wide negative status values, and reject missing or overflowing arena bounds. All 623 x86 unit tests and owning-crate clippy pass. Change-Id: Ia444d9f7754e3f118e5a3945b32360c2acd7298d
Rust Tests lost its 2 GB cache while multi-target NAPI release caches occupied about 6.2 GiB of repository cache storage. The same restore key hit at 07:47 UTC and missed at 08:46 UTC; compilation grew from 12m35s to 31m20s while test execution remained roughly 14 minutes. Keep only downloaded Cargo dependencies for NAPI publication, share the cache across targets, and save only on the default branch to avoid develop duplicates. Use a new prefix so old compiled-target caches cannot be restored under the download-only policy. Release builds trade compiled-dependency reuse for preserving pull-request CI capacity. Run the existing dependency warmer hourly as well as on dependency changes and manual dispatch. Eviction alone changes no Cargo files, so the previous path-filtered trigger could not recover the missing cache. Exact hits still skip all compilation; warming never executes the test suite. Preserve trusted default-branch checks and existing Rust Tests cache keys. Validation: 38 CI workflow/classifier tests pass, both workflow YAML files parse successfully, and diff checks pass. Regression coverage enforces download-only release caching, default-branch-only writes, scheduled recovery and hit-gated builds. Change-Id: I39b2469c2fece08abdd5cfc4d2738411605b98f7
This was referenced Oct 27, 2026
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.
Note
This is a merge queue draft opened by Mergify. Nobody needs to act on it.
Mergify opened it for batch toasted-cassoulet-5tss1j of the
changesqueue, to test #2262, #2244 and #2231 before they merge intomaster.What this draft tests
Mergify checks that #2262, #2244 and #2231 still pass CI once combined with everything queued ahead of them. CI runs on this draft's code, built in this order:
masterat626dc7c6c13ac6The check is speculative: it assumes the pull requests ahead will merge, so it starts without waiting for them.
🕵️ Where it stands: failed, splitting the batch
The checks of this draft failed. Mergify splits this batch to find which pull request is responsible.
Follow the
changesqueue in the dashboardWhat happens next
Tip
A red check is not necessarily caused by this batch. These checks run on a tip that also carries the commits of the 4 pull requests ahead, so a failure here can come from them as much as from #2262 + #2244 + #2231. See only this batch's changes.
Queued ahead of this batch
These pull requests entered the queue before this batch and are not part of it.
coreMetadata for CI tooling, read by
mergify ci1 scope
coreRequired conditions of queue rule
changesfor mergecheck-success = Conventional Commit titlecheck-success = Queue validationmaster]:check-neutral = @github-actions/Lint & Formatcheck-skipped = @github-actions/Lint & Formatcheck-success = @github-actions/Lint & Formatmaster]:check-success = @github-actions/NAPI Build (Linux ARM64 GNU)check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)master]:check-success = @github-actions/NAPI Build (Windows)check-neutral = @github-actions/NAPI Build (Windows)check-skipped = @github-actions/NAPI Build (Windows)master]:check-success = @github-actions/Rust Test & NAPI Buildcheck-neutral = @github-actions/Rust Test & NAPI Buildcheck-skipped = @github-actions/Rust Test & NAPI Buildmaster]:check-success = @github-actions/JS Test (Ubuntu)check-neutral = @github-actions/JS Test (Ubuntu)check-skipped = @github-actions/JS Test (Ubuntu)master]:check-success = @github-actions/JS Test (Windows)check-neutral = @github-actions/JS Test (Windows)check-skipped = @github-actions/JS Test (Windows)master]:check-skipped = @github-actions/Conventional Commit titlecheck-neutral = @github-actions/Conventional Commit titlecheck-success = @github-actions/Conventional Commit titleRequired conditions to stay in the queue
-conflict-draft-head ~= ^(integration/|renovate/veryl-crates$|upgrade/veryl-|release-please--branches--master--components--celox$|master$)-head ~= ^renovate/-label = release:holdbase ~= ^(master|develop)$base ~= ^stack/body ~= (?m)^Depends-On:head != release-please--branches--master--components--celoxlabel = merge-readymaster]:check-success = @github-actions/Lint & Formatcheck-neutral = @github-actions/Lint & Formatcheck-skipped = @github-actions/Lint & Formatmaster]:check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)check-success = @github-actions/NAPI Build (Linux ARM64 GNU)master]:check-skipped = @github-actions/NAPI Build (Windows)check-neutral = @github-actions/NAPI Build (Windows)check-success = @github-actions/NAPI Build (Windows)master]:check-neutral = @github-actions/Rust Test & NAPI Buildcheck-skipped = @github-actions/Rust Test & NAPI Buildcheck-success = @github-actions/Rust Test & NAPI Buildmaster]:check-neutral = @github-actions/JS Test (Ubuntu)check-skipped = @github-actions/JS Test (Ubuntu)check-success = @github-actions/JS Test (Ubuntu)master]:check-skipped = @github-actions/JS Test (Windows)check-neutral = @github-actions/JS Test (Windows)check-success = @github-actions/JS Test (Windows)master]:check-success = @github-actions/Conventional Commit titlecheck-neutral = @github-actions/Conventional Commit titlecheck-skipped = @github-actions/Conventional Commit titleQueue graph
The diagram is not laid out in queue order, so a node's position says nothing about when it merges.
graph LR 7a4bfdcf5bbd43a5a1d96858b692b16b["growing-choucroute-gagp1h<br/>#2240 + #2250 + #2251<br/>scopes: core"] 87819dd6188c43ff9d0e54313ad68bf9["toasted-cassoulet-5tss1j<br/>#2262 + #2244 + #2231<br/>scopes: core"] 7a4bfdcf5bbd43a5a1d96858b692b16b --> 87819dd6188c43ff9d0e54313ad68bf9 style 87819dd6188c43ff9d0e54313ad68bf9 fill:#6366f1,color:#fff