Repository navigation
merge queue: checking #1521 on master (08cb566), stacked on #1432 - #1529
Closed
mergify[bot] wants to merge 8 commits into
Closed
mergify[bot] wants to merge 8 commits into
mergify[bot] wants to merge 8 commits into
Conversation
The SystemVerilog frontend had no way to report a non-fatal diagnostic: the SV build path returned no compilation warnings, and the `$readmem` word-count mismatch that IEEE 1800-2023 21.4 requires a warning for only went to `tracing`. Lowering now collects `FrontendWarning`s, and the SV and mixed build paths return them as `CompilationWarning::SystemVerilog`, also on error. Repeats from module specializations and retried lowerings are dropped. BREAKING CHANGE: `CompilationWarning` gains a `SystemVerilog` variant with the `systemverilog` feature. Change-Id: I59220d8e108d4bcfc52c5f7b8da7bc0794b09989
A `$readmem` warning did not say which call it came from, and two calls reading the same file into equally sized ranges gave identical warnings that were merged into one. System task statements now keep the span of the call in the source, and a `FrontendWarning` carries its file, line, column and source snippet. Warnings are deduplicated by call site, so repeated lowerings of one call collapse while separate calls stay separate. Lowering writes warnings into one sink passed down from the frontend entry points, so warnings found before a later lowering error are kept. BREAKING CHANGE: `Stmt::SystemTask` of the SV analyzer IR gains a `site` field, and `FrontendWarning` becomes a struct of a `FrontendWarningKind` and an optional `WarningLocation`. Change-Id: Idc622a1e6b7e0f6c7248f502ffeb66b69129246d
IEEE 1800-2023 24.7 ignores `$exit` outside a program block and allows a warning. Celox has no program blocks, so every call is ignored; each now reports an `ExitOutsideProgram` warning at the call. Change-Id: I6237a6ddf9ea602596be02e81e921b44240077c2
…ction $exit A $exit in a constant function warns at its call. Interface probes and earlier mixed-language passes keep their warnings when the build fails before the design lowers again. Change-Id: I57950c1a34f32ff98d495831919bd9df293f8d70
Support the upstream parsing mode by stopping after preprocessing and syntax parsing, before semantic metadata, root selection or simulation. This enables readmemb/readmemh and the other parsing-only cases without requiring a module root or weakening elaboration and simulation checks. Validation: five driver tests, eleven official-runner fixtures, Clippy and formatting. The release driver measured all 2,054 verdicts with four workers: 14 cases in both state modes changed from skip to pass; all other verdicts and metadata match the prior report. Update the expected TSV from that measurement. Change-Id: I776c041a436e574e707de0bc2c3432234f984ac0
Derive constant-function diagnostics from declarations without a thread-local collector or interpreter side effects. Cache immutable per-component metadata in ParsedSource and publish warnings through IR and AnalyzerError on success and failure. Preserve underlying error classification and source chaining. Diagnose ignored $exit calls in function declarations even when unused; document this policy and test module isolation and failed package/interface analyses. Preserve warnings through interface probing, simulator initialization and test-runner validation errors. Deduplicate by source call and category across parameterized specializations, retaining payload identity for unlocated calls. Keep foreign-codegen builds warning-free. Track interface-probe diagnostic provenance investigation in #1512. AnalyzerError gains WithWarnings with warnings() and into_error() accessors; the unreleased ambient collect_warnings API is removed. Change-Id: I44fd6f2cc3ae57cf1c231bb8fa13bfa264c5d300
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 square-poilane-6nj91g of the
changesqueue, to test #1521 before it merges intomaster. Pushing to this branch or closing this pull request removes #1521 from the queue.What this draft tests
Mergify checks that #1521 still passes CI once combined with everything queued ahead of it. CI runs on this draft's code, built in this order:
masterat08cb5664ec2ca7The 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
changesqueue in the dashboardWhat happens next
masterand closes this draft.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 #1521. 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 ci1 scope
coreRequired conditions of queue rule
changesfor mergecheck-success = Conventional Commit titlecheck-success = Queue validationmaster]:check-success = @github-actions/Lint & Formatcheck-neutral = @github-actions/Lint & Formatcheck-skipped = @github-actions/Lint & Formatmaster]: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)master]:check-success = @github-actions/NAPI Build (Windows)check-neutral = @github-actions/NAPI Build (Windows)check-skipped = @github-actions/NAPI Build (Windows)master]:check-success = @github-actions/Rust Test & NAPI Buildcheck-neutral = @github-actions/Rust Test & NAPI Buildcheck-skipped = @github-actions/Rust Test & NAPI Buildmaster]:check-success = @github-actions/JS Test (Ubuntu)check-neutral = @github-actions/JS Test (Ubuntu)check-skipped = @github-actions/JS Test (Ubuntu)master]:check-success = @github-actions/JS Test (Windows)check-neutral = @github-actions/JS Test (Windows)check-skipped = @github-actions/JS Test (Windows)master]:check-success = @github-actions/Conventional Commit titlecheck-neutral = @github-actions/Conventional Commit titlecheck-skipped = @github-actions/Conventional Commit titleRequired conditions to stay in the queue
-conflict-draft-head ~= ^(integration/|renovate/veryl-crates$|upgrade/veryl-|release-please--branches--master--components--celox$|master$)-head ~= ^renovate/-label = release:holdbase ~= ^(master|develop)$base ~= ^stack/body ~= (?m)^Depends-On:head != release-please--branches--master--components--celoxlabel = merge-readymaster]:check-success = @github-actions/Lint & Formatcheck-neutral = @github-actions/Lint & Formatcheck-skipped = @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-success = @github-actions/Rust Test & NAPI Buildcheck-neutral = @github-actions/Rust Test & NAPI Buildcheck-skipped = @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 cedaebee159c4d3d9b74fe0bd1ba781c["square-poilane-6nj91g<br/>#1521<br/>scopes: core"] 820cd32993d9486d8baca7533e8955d8["global-fondue-taiqin<br/>#1527<br/>scopes: core"] cedaebee159c4d3d9b74fe0bd1ba781c --> 820cd32993d9486d8baca7533e8955d8 style cedaebee159c4d3d9b74fe0bd1ba781c fill:#6366f1,color:#fff