Skip to content

merge queue: checking #2231 + #2232 together on master (626dc7c) - #2256

Closed
mergify[bot] wants to merge 4 commits into
masterfrom
mergify/merge-queue/a9c082754b
Closed

mergify[bot] wants to merge 4 commits into
masterfrom
mergify/merge-queue/a9c082754b

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 private-aioli-9nz5tu of the changes queue, to test #2231 and #2232 before they merge into master.

What this draft tests

Mergify checks that #2231 and #2232 still pass CI on top of master. CI runs on this draft's code, built in this order:

  1. master at 626dc7c
  2. #2231 + #2232, the pull requests of this batch, tested together as one tip

✨ Where it stands: closed

The pull request #2231 has been manually updated.

Follow the changes queue in the dashboard

What happens next

  • Mergify closes this draft.
  • #2232 is still in the queue.
Metadata for CI tooling, read by mergify ci
---
all_scopes: false
checking_base_sha: 626dc7cb1156a247fdd89466d09c4a7bcbc7ebae
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 2231
    scopes:
      - core
  - number: 2232
    scopes:
      - core
scopes:
  - core
...
1 scope
  • core
Required conditions of queue rule changes for merge
Required conditions to stay in the queue
Queue graph

The diagram is not laid out in queue order, so a node's position says nothing about when it merges.

graph LR
    72d487dade644b05bffe893442071ed6["private-aioli-9nz5tu<br/>#2231 + #2232<br/>scopes: core"]
    5da161aa05f74224887fb03976398f65["strong-chapon-t9579z<br/>#2253<br/>scopes: core"]
    8c10f5be8e6b43a595344019008319a9["limitless-romesco-4asy1x<br/>#2240 + #2250 + #2251<br/>scopes: core"]
    72d487dade644b05bffe893442071ed6 --> 5da161aa05f74224887fb03976398f65
    5da161aa05f74224887fb03976398f65 --> 8c10f5be8e6b43a595344019008319a9
    style 72d487dade644b05bffe893442071ed6 fill:#6366f1,color:#fff
Loading

tignear and others added 4 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
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