Skip to content

merge queue: checking #2106 + #2088 together on master (2e63829), stacked on #2107 - #2114

Closed
mergify[bot] wants to merge 6 commits into
masterfrom
mergify/merge-queue/6392afacdc
Closed

mergify[bot] wants to merge 6 commits into
masterfrom
mergify/merge-queue/6392afacdc

Conversation

@mergify

@mergify mergify Bot commented Oct 26, 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 decisive-radis-5afiwb of the changes queue, to test #2106 and #2088 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 #2106 and #2088 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 2e63829
  2. the pull request queued ahead of this batch, listed below, which brings the tip to 4ec6c85
  3. #2106 + #2088, 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 #2106 and #2088 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 #2106 + #2088. 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: 4ec6c85bbb7346717de0ba87541823cc9721370b
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 2106
    scopes:
      - core
  - number: 2088
    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
    0402b6a6ef964ed89f37c5e10e067fee["decisive-radis-5afiwb<br/>#2106 + #2088<br/>scopes: core"]
    50878b0508b1467495a294c8a032769f["intact-pave-tprr98<br/>#1938<br/>scopes: core"]
    0402b6a6ef964ed89f37c5e10e067fee --> 50878b0508b1467495a294c8a032769f
    style 0402b6a6ef964ed89f37c5e10e067fee fill:#6366f1,color:#fff
Loading

tignear and others added 6 commits October 26, 2026 13:50
SystemVerilog final procedures were rejected, so testbenches could not inspect their last state or report results at termination. Preserve them as terminal process kernels and run them once on $finish, $fatal, or explicit Simulation::finish(). The batch CLI and sv-tests driver finish on quiescence; bounded host runs remain resumable. Program finals also run after implicit termination.

Keep final execution sequential and at zero simulation time. Resume $stop inside final at its cursor, stop immediately at $finish inside final, preserve the initiating fatal error, and prevent queued HDL events or deferred assertions from executing after termination. Validate function-statement restrictions, including omitted argument defaults. Route fatal errors from explicit waveform dumps and end-of-run waveform evaluation through the same terminal phase. Finalize immediate fatal errors raised by lazy runtime-event draining before collecting reports. Settle and execute final procedures before capturing saved state, and reject saving if final execution stops. Keep differential scheduling synchronized on these host-triggered termination paths. Document the lifecycle and restrictions.

Validation:
- 18 final API tests cover two/four-state Interpreter, Cranelift, WASM, Native and Tiered execution, differential scheduling, checkpoints and native-image roundtrip.
- CI follow-up: default-feature library 150, enabled-feature library 229, VCD 36, reference-adapter 7, the unsupported-construct regression and JS boundary 9 tests pass. Formatting and Clippy pass. Fatal errors terminate execution while preserving the original diagnostic and waveform; tests no longer require recovery from $fatal.
- P2 regression coverage: all four added tests fail before the fix and pass after it. Related library, checkpoint, observer, runtime API, state-file, deferred-assertion and VCD tests pass (1,281 tests; 34 existing ignores). Rebuilt the debug NAPI addon; 28 JS checkpoint/runtime-event/timing tests, formatting and Clippy pass.
- Direct portable fixtures: Icarus 13.0 passes all three; Verilator 5.052 passes state/hierarchy but continues after $finish inside final, contrary to 9.2.3. Keep immediate-termination expectations. These fixtures use owning-crate API tests because the shared timed emitter has its own final checker with unspecified relative ordering.
- Focused sv-tests rerun: 70 additional passing cases per mode out of 108 previously blocked by final; update exactly 140 measured expectations. Full release-driver conformance remains in CI as requested.

BREAKING CHANGE: ProcessSlots and ProcessRefs use ProcessKind instead of is_initializer; fatal errors have a distinct Fatal variant; SimulationState::finish is fallible; native image format advances to version 39.

Change-Id: I75200be6ce640d73a84562a25ff48cdae2237106
…ports

Modules with interface array ports evaluated their declaration scope before
binding any interface formals. A localparam such as b.W therefore failed even
when b was a scalar interface port next to an unrelated array port.

Include unbound interface formals in declaration dependency deferral, alongside
local interface instances. Evaluate their dependent parameters, types and port
widths after binding has populated the interface symbols.

Add a shared regression covering scalar and array interface parameters,
transitive declarations, interface-dependent input widths, parameter overrides,
and ascending and descending array bounds through all five SV backends.

Validation on master f2934be:
- SystemVerilog and diagnostic suites: 5240 passed, 20 existing skips.
- SV analyzer: 819 passed, 3 ignored; 2 doctests passed.
- Analyzer and Celox consumer clippy, formatting and diff checks passed.
- New shared case passed Verilator 5.052. Icarus 13.0 rejects interface
  port declarations, so it could not simulate this case.

Change-Id: I1a8a70a40d9679109baba4e0a5d98a212e8469d8
Cut the combinational settle into contiguous ranges of its schedule, each
guarded by a dirty flag in a hidden `$settle.flags` object. A partition that
runs clears its flag and sets the flags of the partitions reading what it
wrote; every other writer of state the settle reads or writes sets them
too: generated stores and commits, host and VCD writes, initial values,
state loads, and a retained raw view (the untracked flag, after which every
partition runs).

Off unless `SirPass::PartitionedSettle` is enabled or
`SimulatorBuilder::settle_partition` is called (#2013). The flags stay out
of state files and of the differential and derived-edge checks.
`SimulatorBuilder::settle_check` runs every settle a second time with every
partition flagged and panics where the two differ.

BREAKING CHANGE: RuntimeSchema has a new field, `settle_partitions`, and
MemoryLayout a new field, `settle`; SirPass has a new variant,
PartitionedSettle. Native images use container format 39; images written
by earlier versions must be rebuilt.

Change-Id: I6d2c7e90376cf6fd96173e2cd4959f79171834fc
@mergify mergify Bot closed this Oct 26, 2026
@mergify
mergify Bot deleted the mergify/merge-queue/6392afacdc branch October 26, 2026 06:58
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