Repository navigation
merge queue: checking #1432 on master (08cb566) - #1528
Closed
mergify[bot] wants to merge 6 commits into
Closed
mergify[bot] wants to merge 6 commits into
mergify[bot] wants to merge 6 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
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 financial-financier-bf8255 of the
changesqueue, to test #1432 before it merges intomaster. Pushing to this branch or closing this pull request removes #1432 from the queue.What this draft tests
Mergify checks that #1432 still passes CI on top of
master. CI runs on this draft's code, built in this order:masterat08cb566🎉 Where it stands: checks passed
CI passed on this draft.
Follow the
changesqueue in the dashboardWhat happens next
masterand closes this draft.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-success = @github-actions/JS Test (Ubuntu)check-neutral = @github-actions/JS Test (Ubuntu)check-skipped = @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 b4548d456b5e43c8877bf3f98d9bc445["financial-financier-bf8255<br/>#1432<br/>scopes: core"] cedaebee159c4d3d9b74fe0bd1ba781c["square-poilane-6nj91g<br/>#1521<br/>scopes: core"] b4548d456b5e43c8877bf3f98d9bc445 --> cedaebee159c4d3d9b74fe0bd1ba781c style b4548d456b5e43c8877bf3f98d9bc445 fill:#6366f1,color:#fff