Skip to content

merge queue: checking #2240 + #2250 + #2251 together on master (626dc7c), stacked on #2231, #2232 and #2253 - #2259

Closed
mergify[bot] wants to merge 12 commits into
masterfrom
mergify/merge-queue/f30ad5d3f1
Closed

mergify[bot] wants to merge 12 commits into
masterfrom
mergify/merge-queue/f30ad5d3f1

Conversation

@mergify

@mergify mergify Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Note

This is a merge queue draft opened by Mergify. Nobody needs to act on it.
Mergify opened it for batch limitless-romesco-4asy1x of the changes queue, to test #2240, #2250 and #2251 before they merge into master.

What this draft tests

Mergify checks that #2240, #2250 and #2251 still pass CI once combined with everything queued ahead of them. CI runs on this draft's code, built in this order:

  1. master at 626dc7c
  2. the 3 pull requests queued ahead of this batch, listed below, which bring the tip to e1ee2e5
  3. #2240 + #2250 + #2251, the pull requests of this batch, tested together as one tip

The check is speculative: it assumes the pull requests ahead will merge, so it starts without waiting for them.

✨ Where it stands: closed

Pull request #2231 ahead in the queue was removed (reason: pull request manually updated).

Follow the changes queue in the dashboard

What happens next

  • Mergify closes this draft.
  • #2240, #2250 and #2251 are still in the queue.

Tip

A red check is not necessarily caused by this batch. These checks run on a tip that also carries the commits of the 3 pull requests ahead, so a failure here can come from them as much as from #2240 + #2250 + #2251. 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.

Metadata for CI tooling, read by mergify ci
---
all_scopes: false
checking_base_sha: e1ee2e5ae1c2b9a7a6acf3d4dd2862fd75a18684
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 2240
    scopes:
      - core
  - number: 2250
    scopes:
      - core
  - number: 2251
    scopes:
      - core
scopes:
  - core
...
1 scope
  • core
Required conditions of queue rule changes for merge
Required conditions to stay in the queue

tignear and others added 12 commits October 27, 2026 15:06
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
Large derived-edge process entries copied the complete combinational SIR before compilation. Retain deferred recipes, compile the large comb kernel once, and expand, compile and release one wrapper per bounded worker. Existing comb execution units compile separately with preserved cross-unit state and a thin ordered dispatcher. Other backends and tiered startup retain their existing eager path.

Worker selection accounts for host, cgroup and address-space limits with bounded concurrency and deterministic result/error order. Reserve callee scratch before wrapper arenas and retain kernel offsets in native images; the container version advances to 48, so older images must be rebuilt.

Validation: native library and image, completion, partition, tiered and scheduled-startup APIs; eager/deferred equivalence and merged/chunked image roundtrips with handwritten expected values. Owning-crate clippy, no-host configurations and formatting pass. Full-stack unchanged Taxi board benchmarks and common regressions are recorded in the top member.
Generated callers use X86BackendOptions::with_native_callees with the emitted full child extents. This shares the ABI primitive's arena reservation contract and preserves explicitly higher arena placements. Revalidated independently after the arena review fix: 239 native library tests, 41 image/completion/partition/tiered/startup API tests and owning-crate clippy pass.

Change-Id: I4dad9216b84cffc3c1a2b503adad4be8f83a366c
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
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