Skip to content

merge queue: merged #2707, #2471: ci: start an advisory agent when cargo-deny fails on master (+1 more) - #2731

Closed
mergify[bot] wants to merge 7 commits into
masterfrom
mergify/merge-queue/fac2f98984
Closed

mergify[bot] wants to merge 7 commits into
masterfrom
mergify/merge-queue/fac2f98984

Conversation

@mergify

@mergify mergify Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Note

This is a merge queue draft opened by Mergify. Its pull requests have merged, and nobody needs to act on it.
Mergify opened it for batch winged-fricassee-cv4z5r of the changes queue, to test #2707 and #2471 before they merged into master.

🎉 What landed

Mergify merged each pull request into master on its own, then closed this draft:

  • #2707 ci: start an advisory agent when cargo-deny fails on master (tignear), as 07c11b7
  • #2471 feat(sv): provide UVM's DPI-C functions (tignear), as e16ae75

This draft's code was built in this order:

  1. master at 2ec4a6d
  2. the pull request queued ahead of this batch, listed below, which brought the tip to 3900c75
  3. #2707 + #2471, the pull requests of this batch, tested together as one tip

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: 3900c752054634ac183f3dc7947f21b40e8fce9e
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 2707
    scopes:
      - core
  - number: 2471
    scopes:
      - core
scopes:
  - core
...
1 scope
  • core
Required conditions of queue rule changes for merge
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • check-success = Verify workflow lockfile
  • any of [⛓️ feat(sv): support the chandle type #2464]:
  • 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/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/Conventional Commit title
    • check-neutral = @github-actions/Conventional Commit title
    • check-skipped = @github-actions/Conventional Commit title
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Queue validation
    • check-neutral = @github-actions/Queue validation
    • check-skipped = @github-actions/Queue validation
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Verify workflow lockfile
    • check-neutral = @github-actions/Verify workflow lockfile
    • check-skipped = @github-actions/Verify workflow lockfile
Required conditions to stay in the queue

tignear and others added 7 commits October 26, 2026 18:34
A non-ANSI port can be declared again in a net or variable declaration, and if that declaration is a vector, the two ranges "shall be identical" (IEEE 1800-2023 23.2.2.1). The parser compared the token text of the two ranges, so equal ranges written differently were rejected. rtlmeter's XuanTie E902 and E906 declare `output [79:0] busif_kid_clicintattr_sel;` and `wire [CLICINTNUM-1:0] busif_kid_clicintattr_sel;` with `CLICINTNUM` = 64+16, and the compile failed.

The parser cannot evaluate parameters, so the check moves to elaboration:
- When the spellings differ, the parser keeps the net or variable declaration's type for the port and records the port declaration's type in the new `Port::declared_type`.
- `ports_from_scope` evaluates both ranges with the module's parameter values and rejects the port when the bounds differ: "the ranges of a non-ANSI port declaration and its net or variable declaration of `x` differ".
- A port declaration without a range completed by a vector declaration is still rejected by the parser.

Closes #2126.

- Shared case `hierarchy::non_ansi_port_ranges_compare_bounds`: the E902 shape (a macro-built parameter in the net's range), matching Icarus and Verilator.
- `rejects_malformed_non_ansi_port_declarations` also rejects ranges that differ through a parameter (`input [3:0] a; wire [N-1:0] a;` with N = 8).

Change-Id: I0fc04b280c929c9f50d191276e5cc31fb4949ad5
sv-tests runs UVM without `UVM_NO_DPI` and without UVM's C library, so `uvm_pkg` imports 23 DPI-C functions that no library defines. Celox now provides them: an import with one of their C names and UVM's prototype binds to a builtin instead of a C function, needs no `sv-dpi` feature, and is lowered to heap operations on every backend. Other imports are unchanged.

`uvm_re_comp`, `uvm_re_exec`, `uvm_re_free`, `uvm_re_compexec`, `uvm_re_compexecfree`, `uvm_re_buffer` and `uvm_re_deglobbed` follow UVM's `uvm_regex.cc`, including its glob translation and error buffer; expressions are compiled with the `regex` crate and their handles are chandles that survive checkpoints as patterns. `uvm_dpi_get_next_arg_c` returns `celox` followed by the simulation's plusargs, and the tool name and version are Celox's. The `uvm_hdl_*` and `uvm_polling_*` imports bind too, but return 0 or null and leave their outputs unchanged until they are implemented, so UVM reports them as unavailable.

Change-Id: I2b0f2552448c89bc9e36059a003751df77a6a5f7
Change-Id: I1b666c99bf3bec2c6ea31960c88f76d9c5286bc0
When the scheduled cargo-deny run fails its advisories job on master, the
workflow extracts the RustSec diagnostics from the job log and starts a Claude
Managed Agents session. The agent upgrades the affected dependencies, or
proposes an ignore with a reason in a separate pull request when no fix
exists. Advisories already named in an open pull request title are skipped,
so a pending fix does not start a new session every day.

The job authenticates to Anthropic through Workload Identity Federation; its
federation rule accepts only this workflow file on master, run by
workflow_run. The session uses the AGENT_GITHUB_TOKEN secret as its
repository credential.

Change-Id: I21c07f840023efa8a0f34d58306344b2b0ae410e
@mergify mergify Bot changed the title merge queue: checking #2707 + #2471 together on master (2ec4a6d), stacked on #2133 merge queue: merged #2707, #2471: ci: start an advisory agent when cargo-deny fails on master (+1 more) Oct 31, 2026
@mergify mergify Bot closed this Oct 31, 2026
@mergify
mergify Bot deleted the mergify/merge-queue/fac2f98984 branch October 31, 2026 11:33
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