Repository navigation
merge queue: checking #1283 on master (58ce596), stacked on 6 pull requests ahead - #1548
Closed
mergify[bot] wants to merge 14 commits into
Closed
mergify[bot] wants to merge 14 commits into
mergify[bot] wants to merge 14 commits into
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
This is a merge queue draft opened by Mergify. Nobody needs to act on it.
Mergify opened it for batch wealthy-painlevain-buslvh of the
integrationqueue, to test #1283 before it merges intomaster.What this draft tests
Mergify checks that #1283 still passes CI once combined with everything queued ahead of it. CI runs on this draft's code, built in this order:
masterat58ce596063316bImpacts all scopes — this batch runs alone and serializes the queue, so it is queued behind everything already in it.
The check is speculative: it assumes the pull requests ahead will merge, so it starts without waiting for them.
✨ Where it stands: closed
The number of speculative checks has been reduced.
Follow the
integrationqueue in the dashboardWhat happens next
Tip
A red check is not necessarily caused by this batch. These checks run on a tip that also carries the commits of the 6 pull requests ahead, so a failure here can come from them as much as from #1283. 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 ciRequired conditions of queue rule
integrationfor mergecheck-success = Conventional Commit titlecheck-success = Queue validationmaster]:check-neutral = @github-actions/Lint & Formatcheck-skipped = @github-actions/Lint & Formatcheck-success = @github-actions/Lint & Formatmaster]:check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)check-success = @github-actions/NAPI Build (Linux ARM64 GNU)master]:check-neutral = @github-actions/NAPI Build (Windows)check-skipped = @github-actions/NAPI Build (Windows)check-success = @github-actions/NAPI Build (Windows)master]:check-neutral = @github-actions/Rust Test & NAPI Buildcheck-skipped = @github-actions/Rust Test & NAPI Buildcheck-success = @github-actions/Rust Test & NAPI Buildmaster]:check-neutral = @github-actions/JS Test (Ubuntu)check-skipped = @github-actions/JS Test (Ubuntu)check-success = @github-actions/JS Test (Ubuntu)master]:check-neutral = @github-actions/JS Test (Windows)check-skipped = @github-actions/JS Test (Windows)check-success = @github-actions/JS Test (Windows)master]:check-neutral = @github-actions/Conventional Commit titlecheck-skipped = @github-actions/Conventional Commit titlecheck-success = @github-actions/Conventional Commit titleRequired conditions to stay in the queue
-conflict-draft-label = release:holdbase ~= ^(master|develop)$head ~= ^(integration/|renovate/veryl-crates$|upgrade/veryl-|release-please--branches--master--components--celox$|master$)label = merge-readyhead != release-please--branches--master--components--celoxmaster]:check-skipped = @github-actions/Lint & Formatcheck-neutral = @github-actions/Lint & Formatcheck-success = @github-actions/Lint & Formatmaster]:check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)check-success = @github-actions/NAPI Build (Linux ARM64 GNU)master]:check-skipped = @github-actions/NAPI Build (Windows)check-neutral = @github-actions/NAPI Build (Windows)check-success = @github-actions/NAPI Build (Windows)master]:check-skipped = @github-actions/Rust Test & NAPI Buildcheck-neutral = @github-actions/Rust Test & NAPI Buildcheck-success = @github-actions/Rust Test & NAPI Buildmaster]:check-skipped = @github-actions/JS Test (Ubuntu)check-neutral = @github-actions/JS Test (Ubuntu)check-success = @github-actions/JS Test (Ubuntu)master]:check-skipped = @github-actions/JS Test (Windows)check-neutral = @github-actions/JS Test (Windows)check-success = @github-actions/JS Test (Windows)master]:check-success = @github-actions/Conventional Commit titlecheck-neutral = @github-actions/Conventional Commit titlecheck-skipped = @github-actions/Conventional Commit titleQueue graph
The diagram is not laid out in queue order, so a node's position says nothing about when it merges.
graph LR c1cead310feb46e2b45ac5d1a94cfc11["sweeping-kouign-hh93i4<br/>#1525 + #1526 + #1530<br/>scopes: core"] 6281424041b3472b96b412d5a09816db["lovely-banon-642kc9<br/>#1531 + #1532 + #1533<br/>scopes: core"] f1b41abf6d3c4348860aacc8be08ec00["wealthy-painlevain-buslvh<br/>#1283<br/>all scopes"] a9ea9ddb784a4ee2ae2c49756c049c56["conventional-chevrotin-6ut3az<br/>#1545<br/>scopes: core"] c1cead310feb46e2b45ac5d1a94cfc11 --> 6281424041b3472b96b412d5a09816db 6281424041b3472b96b412d5a09816db --> f1b41abf6d3c4348860aacc8be08ec00 f1b41abf6d3c4348860aacc8be08ec00 --> a9ea9ddb784a4ee2ae2c49756c049c56 style f1b41abf6d3c4348860aacc8be08ec00 fill:#6366f1,color:#fff