Skip to content

merge queue: checking #2234 on master (89b46b1), stacked on #2231, #2232 and #2233 - #2269

Closed
mergify[bot] wants to merge 8 commits into
masterfrom
mergify/merge-queue/45ff108dac
Closed

mergify[bot] wants to merge 8 commits into
masterfrom
mergify/merge-queue/45ff108dac

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 tall-caramel-nu7ugq of the changes queue, to test #2234 before it merges into master. Pushing to this branch or closing this pull request removes #2234 from the queue.

What this draft tests

Mergify checks that #2234 still passes CI once combined with everything queued ahead of it. CI runs on this draft's code, built in this order:

  1. master at 89b46b1
  2. the 3 pull requests queued ahead of this batch, listed below, which bring the tip to 4380ed8
  3. #2234, the pull request of this batch

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

🎉 Where it stands: checks passed

CI passed on this draft.

Follow the changes queue in the dashboard

What happens next

  • Once the pull requests ahead have merged, Mergify merges #2234 into master and closes this draft.
  • If a pull request ahead fails or leaves the queue without merging, this batch is requeued and checked again on a new draft: these checks assumed it would merge.

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 #2234. 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: 4380ed82f364c27de4c0b7741b33d453aa86dae1
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 2234
    scopes:
      - core
scopes:
  - core
...
1 scope
  • core
Required conditions of queue rule changes for merge
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • depends-on = celox-sim/celox#2233 [⛓️ fix(vpi): expose interface parameters and lexical generate scopes #2233]
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Lint & Format
    • check-neutral = @github-actions/Lint & Format
    • check-skipped = @github-actions/Lint & Format
  • any of [🛡 GitHub repository ruleset rule master]:
    • 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)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/NAPI Build (Windows)
    • check-neutral = @github-actions/NAPI Build (Windows)
    • check-skipped = @github-actions/NAPI Build (Windows)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Rust Test & NAPI Build
    • check-neutral = @github-actions/Rust Test & NAPI Build
    • check-skipped = @github-actions/Rust Test & NAPI Build
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/JS Test (Ubuntu)
    • check-neutral = @github-actions/JS Test (Ubuntu)
    • check-skipped = @github-actions/JS Test (Ubuntu)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/JS Test (Windows)
    • check-neutral = @github-actions/JS Test (Windows)
    • check-skipped = @github-actions/JS Test (Windows)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Conventional Commit title
    • check-neutral = @github-actions/Conventional Commit title
    • check-skipped = @github-actions/Conventional Commit title
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
    53618312d48c42bd8f69369b5f782476["tall-caramel-nu7ugq<br/>#2234<br/>scopes: core"]
    7a48b15327504d4394ecabf5ffbd1af3["worthwhile-parisbrest-6ejm4r<br/>#2265 + #2264<br/>scopes: core"]
    53618312d48c42bd8f69369b5f782476 --> 7a48b15327504d4394ecabf5ffbd1af3
    style 53618312d48c42bd8f69369b5f782476 fill:#6366f1,color:#fff
Loading

tignear and others added 8 commits October 27, 2026 18:18
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
Retain instance-local interface value parameters and localparams using declaration provenance, including indexed interface handles and authored dollar identifiers. Preserve package ownership. Build lexical generate scope prefixes for reflection separately from execution and VCD instance paths, inheriting timescales from the nearest real ancestor.

The image container advances to version 49 for serialized lexical scope metadata. Validation covers specialized read-only parameters, escaped identifiers, interface arrays, generate iteration, timescales and native image roundtrips. Frontend, VPI and native library suites, owning-crate lint and formatting pass. This makes the unchanged original board tests discover all actual traffic models instead of passing with an empty MAC list.

Keep the class-specialization depth guard reachable on the default stack:
separate parameter binding, inherited-base resolution and body construction,
with pending specialization metadata owned on the heap. Large temporary
binding frames no longer accumulate across recursive inheritance. Preserve
the existing depth-64 limit and diagnostics; test legitimate deep inheritance
and a nonterminating specialization on an explicit 2 MiB thread stack.

Validation after rebasing onto master 626dc7c: reproduce the CI SIGABRT
with its full comparison-feature configuration, then pass the same test
with the fix. All 842 analyzer unit tests (3 existing ignored), 372 class
integration tests, 57 VPI tests, analyzer clippy and formatting pass.
The host-runtime-disabled SystemVerilog build also passes.

Change-Id: I3d0a6f889f3bc98503bbad44ab3bef8f52cab9c9
Keep estimated partition overhead bounded as designs grow, targeting at most 64 coarse partitions with at least 16000 expression nodes per partition. A fraction of dirty flags is not a cost estimate when clean partitions contain most of the work: use full settle only when all partitions are dirty or an untracked raw view requires it.

Partitioned settle remains disabled by default for O1/O2. Validation: frontend-core and SLT unit suites, partition APIs across backends, a 3-of-9 update regression retaining the partial path, and raw-pointer full-settle preservation; clippy and formatting.

Change-Id: I9e4342b5784cd4503a7987b3251cdbf654e72040
@mergify mergify Bot closed this Oct 27, 2026
@mergify
mergify Bot deleted the mergify/merge-queue/45ff108dac branch October 27, 2026 12:08
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