Skip to content

merge queue: checking #2207 + #2174 + #2229 together on master (cb533d1), stacked on #2154 - #2242

Closed
mergify[bot] wants to merge 8 commits into
masterfrom
mergify/merge-queue/83f2bb23d7
Closed

mergify[bot] wants to merge 8 commits into
masterfrom
mergify/merge-queue/83f2bb23d7

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 fond-religieuse-z5yhhc of the changes queue, to test #2207, #2174 and #2229 before they merge into master. Pushing to this branch or closing this pull request removes them from the queue.

What this draft tests

Mergify checks that #2207, #2174 and #2229 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 cb533d1
  2. the pull request queued ahead of this batch, listed below, which brings the tip to a7ed8b0
  3. #2207 + #2174 + #2229, 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: 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 #2207, #2174 and #2229 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 pull request ahead, so a failure here can come from it as much as from #2207 + #2174 + #2229. See only this batch's changes.

Queued ahead of this batch

This pull request entered the queue before this batch and is not part of it.

Metadata for CI tooling, read by mergify ci
---
all_scopes: false
checking_base_sha: a7ed8b086434d2201356b3f5167479804f8552fc
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 2207
    scopes:
      - core
  - number: 2174
    scopes:
      - core
  - number: 2229
    scopes:
      - core
scopes:
  - core
...
1 scope
  • core
Required conditions of queue rule changes for merge
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • 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
    c1ec4dd631ec4c928acedf5b85987e8d["fond-religieuse-z5yhhc<br/>#2207 + #2174 + #2229<br/>scopes: core"]
    20d08d9ce109419780da26180ab8af4c["good-bayonne-jus9x6<br/>#2230<br/>scopes: core"]
    c1ec4dd631ec4c928acedf5b85987e8d --> 20d08d9ce109419780da26180ab8af4c
    style c1ec4dd631ec4c928acedf5b85987e8d fill:#6366f1,color:#fff
Loading

tignear and others added 8 commits October 27, 2026 14:03
Coupled store sinking and mux branchification rescanned the entire execution unit after each independent rewrite. Verify the completed batch once, retaining whole-unit validation while avoiding quadratic rescans on large designs.

Validation: optimizer unit tests, including counter-based multi-block regressions that also compare execution results; owning-crate clippy and formatting. A profiled large compile previously spent 26.7 seconds in 338 repeated scans.
Change-Id: Ided1728ddf74ef8e3fb871971bb00af112418892
Give each dynamic process execution its own deferred assertion report queue.
Event/wait resumption flushes only that process; disable fork cancels live
children's reports, while natural completion preserves reports across slot
reuse. Keep owner context around kernel and host-request execution, including
error and stop paths, without changing the backend event ring ABI.

Host-owned monotonic identities stay outside core checkpoints. Core restore
starts fresh ownership without withdrawing host reports; mirror copies queues
and identities together. Resolve deferred string arguments consumed by the raw
drain before heap replacement or collection. Failed portable loads restore the
previous ownership context. Preserve conservative lost-fatal handling for
ordinary multi-queue contexts while a dynamic process flush clears its loss.

Mature Observed reports before Reactive program work, so a later wakeup cannot
flush them; keep Final reports flushable until Postponed. Actions remain single
display/severity calls. Distinguish assert/assume/cover final from actual final
procedures in the shared timed-case validator.

Validation: 1,112 timing tests, all 104 deferred-assertion API tests, six host
ownership/raw-drain/restore units, 20 state-file API regressions, 32 suite units,
four retained-report tests and nine Node report tests passed. The nine new
shared cases pass 55 registered backend tests (native, native-image,
native-parallel, Cranelift, Cranelift-parallel, WASM, plus an actual interpreter
loop). Runtime units passed all 78 tests. Affected all-target clippy and
formatting passed. Debug NAPI built and all nine tests in the timing, cascaded
clock and runtime-event JS consumer files passed. Direct SystemVerilog fork
semantics are verified through Rust Simulation; the JS bridge has no SV-input
API.

External observations remain failures, with exact reviewed records: xezim
0.11.3 has 2 passes and 7 mismatches; Verilator 5.052 has 2 passes, 3 mismatches,
3 compiler faults and 1 unsupported four-state case; Icarus 13.0 rejects all
9 with unsupported-deferred-assertion diagnostics. A standalone xezim #0 probe
reproduces missing reports against IEEE 1800-2023 16.4.1/16.4.2. No exclusions
or passing expectations replace these failures.

Rebased onto master 9261b31 after #2146, #2149 and #2134. Preserve
both function-fork and deferred-fork registrations and retained evidence.
Post-sync validation passed 1,149 timing tests, 104 deferred API tests,
six host units, 20 final-procedure tests, 20 state-file tests, four retained
report tests and nine Node report tests, plus affected all-target clippy
and formatting. Runtime ownership and Observed/Reactive logic are unchanged
by conflict resolution; external fixtures and adapters are unchanged.

Completes deferred assertion composition portion of #2111.

Latest master synchronization preserves compound-event tests and retained report entries. Revalidated 83 fork/deferred integration tests, all 104 deferred assertion API tests, 49 focused deferred tests including host units, four retained-report tests and seven report script tests. Affected-crate Clippy and formatting pass.

Change-Id: I919ac183ed4c78ec100696954402308a01cb64ee
Array calls such as values.sum and values.product() now evaluate for
one-dimensional fixed integral arrays, dynamic arrays, queues and associative
arrays. Preserve element width, signedness, packed query shape and X/Z
propagation (IEEE 1800-2023 7.12.3), including overflow before widening to an
assignment destination. Accept ordinary and discarded calls.

Empty inputs use operation identities: product returns one, bitwise AND returns
all bits set at the element width, and sum/OR/XOR return zero. Opt into the
legacy all-zero behavior with SimulatorBuilder::legacy_empty_reductions(true)
or AnalysisOptions::legacy_empty_reductions. The setting is local to each
compilation and is encoded in the generated IR/native image. Nonempty results
are identical in both modes. The current TypeScript API has no direct SV source
compilation entry, so this option is exposed through Rust/frontend APIs.

Use balanced expression trees for fixed arrays and heap traversal loops for
dynamic containers. Add six shared cases across native, parallel native,
Cranelift, parallel Cranelift and WASM. API regressions alternate identical
source between default/legacy/default modes in two/four-state execution,
exercise mixed hierarchies and round-trip both modes through native images.
with expressions, iterator arguments, multidimensional unpacked receivers,
nonintegral elements and array expression receivers remain unsupported.

Five unmodified upstream reduction simulation cases pass the official sv-tests
runner in both state modes at revision db159ad8e9cbbd62036569d240153f753258f640.
Update exactly those ten expectations from fail to pass; preserve the other
3,290 rows. These upstream cases are nonempty and do not validate empty-input
semantics. This was a focused run, not a full-corpus rerun.

Rebase integration preserves the merged #2178 optional-parentheses support,
packed pop-result queries, discarded container calls and existing shared cases.

Validation:
- Common SV suite: 5,712 passed, 20 existing ignored. Latest container suite:
  141 passed, including the six shared cases and compatibility/image API tests.
- Analyzer/frontend/simulator units: 839 / 8 / 234 passed, with 3 existing
  analyzer ignores. Default-feature simulator units: 151 passed.
- Debug NAPI build and JS integration: 435 passed across 16 files.
- Official upstream reduction cases: 10 simulation passes using the release
  driver; expectation/runner aggregate tests: 5 passed.
- Affected-crate all-targets Clippy with -D warnings, cargo fmt --all -- --check
  and git diff --check passed.
- The full SV suite, affected units and Clippy above were rerun after rebasing
  onto master with #2178 and the #2171 analyzer optimization.
- The optional no-host check (--no-default-features --features systemverilog)
  fails in the unchanged SV parameter diagnostic: CodegenError::message is
  host-runtime-only. Host builds and standalone frontend units pass.

Independent checks retain their assertions and exclusions:
- Verilator 5.052: 1 pass, 2 mismatches, 1 compile error, 2 four-state adapter
  unsupported. Differences include the default empty identities (its empty
  product/AND return zero), fixed-array arithmetic widened by assignment or
  comparison context, and parser rejection of void-cast reduction calls.
- Icarus 13.0: all six have compile errors; no independent passes claimed.
- xezim 0.11.3: all six compile, 1 passes and 5 mismatch. Standalone probes
  reproduce negative-range fixed-array reduction, X/Z and packed query
  differences; its empty product is one but empty AND is zero.

BREAKING CHANGE: ContainerOp adds seven reduction variants. AnalysisOptions
and SimulatorOptions add a legacy_empty_reductions field; downstream exhaustive
matches and full struct literals must account for these additions.

Latest master synchronization preserves both reduction and logical-implication conformance notes. Revalidated 141 container tests including compatibility and native-image regressions, 839 analyzer tests (three existing ignores), affected-crate Clippy and formatting. Shared cases and external adapters are unchanged by this synchronization.

Change-Id: Iec0f1a95026120fdb95b50e2eccea9cfc86bed6e
Evaluate both operands exactly once and preserve four-state truth values. Six
generated sv-tests cases now pass in both state modes.

Validation: full sv-tests, operator and analyzer tests, Icarus and Verilator
focused cases, formatting and analyzer Clippy. Verilator 5.052 evaluates one
operand twice; retain a reviewed exclusion with a standalone reproduction.

Rebased onto master after #2201 merged and removed its obsolete dependency marker. Revalidated 305 operator tests across enabled backends, 839 analyzer tests (three existing ignores), analyzer Clippy, workspace check, title/queue policy tests and formatting. The existing zstd/zstd-safe advisory failures are unrelated to this PR and remain unresolved.

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