Skip to content

merge queue: checking #1531 + #1532 + #1533 together on master (58ce596), stacked on #1525, #1526 and #1530 - #1547

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

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

Conversation

@mergify

@mergify mergify Bot commented Oct 19, 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 lovely-banon-642kc9 of the changes queue, to test #1531, #1532 and #1533 before they merge into master.

What this draft tests

Mergify checks that #1531, #1532 and #1533 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 58ce596
  2. the 3 pull requests queued ahead of this batch, listed below, which bring the tip to e92e164
  3. #1531 + #1532 + #1533, 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: failed, splitting the batch

The checks of this draft failed. Mergify splits this batch to find which pull request is responsible.

Follow the changes queue in the dashboard

What happens next

  • Mergify checks smaller batches of #1531, #1532 and #1533 until it finds which pull request is responsible.

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 #1531 + #1532 + #1533. 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: e92e164592d385aaa294115ec8a7965c9bf3a87c
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 1531
    scopes:
      - core
  - number: 1532
    scopes:
      - core
  - number: 1533
    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
    6281424041b3472b96b412d5a09816db["lovely-banon-642kc9<br/>#1531 + #1532 + #1533<br/>scopes: core"]
    58b7a7f018064d6a9426d6d116be6152["profound-chevrotin-kjpmev<br/>#1545<br/>scopes: core"]
    6281424041b3472b96b412d5a09816db --> 58b7a7f018064d6a9426d6d116be6152
    style 6281424041b3472b96b412d5a09816db fill:#6366f1,color:#fff
Loading

tignear and others added 12 commits October 19, 2026 17:29
Veryl-emitted interfaces could fail on header package imports, type parameters,
nested interface instances and calls on selected interface-array elements.
Preserve imported defaults across source files, specialize and forward interface
types, bind nested instances without leaking private handles, and resolve
constant array selections before binding function calls. Diagnose recursive
specializations and nesting beyond 64 levels.

Add four shared Veryl regressions using the real emitter, analyzer diagnostics,
and updated support documentation. The array-call and nested-instance fixtures
retain explicit native-path exclusions: Veryl 0.22 loses array selection and
interface-body/nested-instance logic in its native IR. The emitted SV path is
the target of these fixes. Record observed Icarus limitations and register their
retained aggregate evidence.

Validation: interface-only SV suite 2,919 passes, interface suite 188 passes,
package 57 and compilation-unit 12 passes; analyzer tests, Clippy, formatting,
retained reports and evidence checks pass. All four new cases pass Verilator;
Icarus compile limitations are documented with measured evidence. Rechecked the
standalone interface commit's 188 interface tests and documentation build after
splitting the parameter fix. NAPI does not expose the SV frontend.

Keep catalogue validation independent of the total case count while checking
nonempty contents, unique names and stable lookup/category behavior.
Validation: all 11 external_adapter tests pass both at this commit and at the
stack tip; focused Clippy passes.

Change-Id: I9a411d53c81740f27b6ca3f733cc1e59bbf366f5
Integral module overrides now retain wide and X/Z literals, including through
generate-scope recollection. Add shared regressions for a 256-bit high bit
controlling a generate branch and an X/Z payload/mask; update both references.

Remove every production thread-local from the SV analyzer. Carry parameter
overrides, scope imports, constant functions and their recursion depth, dimension
query caches, timescales, interface recursion, and call-site numbering through
explicit per-analysis contexts. Nested module and package analysis shares only
its owning session. Selected-root timescales are installed before package bodies
are analyzed, preserving queries despite unreachable instantiations.

Validation: 376 analyzer tests pass (4 existing ignores), interface 188,
parameter override 88, width 4, package 57, unit scope 12, lifetime 14 and array
7 tests pass. The SV suite passed 2,915 cases and found four selected-root
timescale failures; after fixing their shared cause, all 84 timescale consumer
tests pass. All-target Clippy and formatting pass. The official pinned sv-tests runner
reports the same results for all 2,054 state-mode cases (no expected TSV changes). Existing independent external
simulator evidence for the unchanged shared cases is retained.

Share one analysis session across packages and compilation units, preserving
distinct identities for effectful calls from different source scopes. Add an
AST regression that fails on the previous duplicate call-site IDs.
Validation: 377 analyzer tests pass (4 existing ignored), 46 package consumer
tests pass, and analyzer all-target Clippy and formatting pass.

Share source-call IDs with modules importing package bodies, including direct
and indexed analysis entry points. Preserve explicit compilation warnings
when integrating master.
Validation after integration: 385 analyzer tests and 2944 SystemVerilog tests
pass; interface, parameter, readmem and collector consumers pass; workspace
all-target Clippy passes. Existing backend exclusions remain.

Change-Id: I89b4e3dd4d9a18277794be5de7952c7d0c0ac921
Replace x86 emitter and external-call thread-local configuration with an
EmissionContext owned by each assembler. Operand and call emission receives
that context explicitly, keeping separate compilations independent.

Validation: 611 backend unit tests plus integration tests, 363 native consumer
tests including wide/four-state/parallel cases, and 12 native DPI tests pass.
All-target Clippy and formatting pass.

Change-Id: I41d8a35bf0f3b82c8ba804c7bccd3d7453e37ff6
…citly

Own loop bounds in each lowering arena and pass file dependency collectors
through frontend configuration, simulator builders, worker lowering and testbench
sources. Scratch arenas copy bounds without sharing mutations; nested scopes
restore their bounds on unwind. Remove both production thread-local stores.

Expose collector-aware direct Veryl and mixed compilation variants so callers
can capture readmem dependencies without changing existing compile APIs.

BREAKING CHANGE: capture_file_dependencies now supplies a collector argument to
its callback. Pass that collector through SimulatorBuilder::file_dependency_collector
or BuildConfig::file_dependencies. BuildConfig gains the collector field.

Validation: 89 frontend unit tests, 330 readmem/loop consumer tests and the
Heliodor file-cache invalidation regression pass. Frontend/bench all-target
Clippy and formatting pass; existing unsupported backend exclusions remain.

Direct API validation: both new collector regressions and 44 initial/readmem
tests pass with systemverilog enabled. Focused Clippy, rustdoc and formatting
pass.

Change-Id: Ie622a8fc4f6faf3456a2dd28d1fbb301c8f3b4ae
Move runtime, forced values, pending writes, callback state and vlog storage out
of thread-local variables into VpiHost owned by VpiSession. The context-free
standard C ABI selects one process host under a synchronized registry and checks
thread ownership before accessing it. No registry lock is held across callbacks.

Retain the host during callback dispatch and defer teardown until dispatch ends.
Reject nested hosts and nested dispatch, clean up on unwind, and reject unbound
pointer-producing calls before allocation. The C loader has an explicit
celox_vpi_clear_runtime lifecycle boundary.

BREAKING CHANGE: install_runtime returns Result<VpiSession, String>. Rust callers
must retain the session guard while using VPI; simultaneous process hosts are
rejected instead of being separated implicitly by thread-local storage.

Validation: backend and VPI all-target Clippy pass; 35 VPI regressions, CLI and
compilation tests, scheduler unwind regression and cocotb end-to-end test pass.

Change-Id: I64b5892dd5f7379d7b84c93ce21840573732a447
Disallow std::thread_local in the workspace Clippy configuration and in the
verifier crates that override it. The existing deny-level disallowed_macros lint
makes production reintroduction a build failure.

Permit instrumentation only in cfg(test) library builds. Clippy reports this
item macro at crate scope, so per-item/module allowances are ineffective;
normal library/example targets keep the prohibition. Remove production CLI macro allowances and write diagnostics through stderr
writers, keeping the prohibition active throughout benchmark entry points.
Full CI lints every workspace crate rather than a fixed package list. Generated conformance
capture code is test harness code and is outside the product workspace.

Validation: the affected crates pass all-target Clippy with the prohibition.
A temporary non-test example containing thread_local was rejected by
clippy::disallowed_macros, then removed. Formatting and config parsing pass.

Review validation: full workspace all-target Clippy with the CI feature set
passes without warnings; all 14 CI workflow tests and formatting pass.

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