Skip to content

merge queue: checking #1847 on master (090052d), stacked on #1838 - #1894

Closed
mergify[bot] wants to merge 4 commits into
masterfrom
mergify/merge-queue/77aca17caa
Closed

mergify[bot] wants to merge 4 commits into
masterfrom
mergify/merge-queue/77aca17caa

Conversation

@mergify

@mergify mergify Bot commented Oct 24, 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 presidential-radis-lxypvo of the changes queue, to test #1847 before it merges into master.

What this draft tests

Mergify checks that #1847 still passes CI once combined with everything queued ahead of it. CI runs on this draft's code, built in this order:

  1. master at 090052d
  2. the pull request queued ahead of this batch, listed below, which brings the tip to 13102f3
  3. #1847, the pull request of this batch

The check is speculative: it assumes the pull requests ahead will merge, so it starts without waiting for them.

✨ Where it stands: closed

Pull request #1838 ahead in the queue was removed (reason: checks timeout).

Follow the changes queue in the dashboard

What happens next

  • Mergify closes this draft.
  • #1847 is still in the queue.

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 #1847. 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.

  • #1838 — shares the scope core
Metadata for CI tooling, read by mergify ci
---
all_scopes: false
checking_base_sha: 13102f399806bbec7cef0751545a65ba551e2d0a
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 1847
    scopes:
      - core
scopes:
  - core
...
1 scope
  • core
Required conditions of queue rule changes for merge
  • check-success = Conventional Commit title
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-neutral = @github-actions/Conventional Commit title
    • check-skipped = @github-actions/Conventional Commit title
    • check-success = @github-actions/Conventional Commit title
  • check-success = Queue validation
  • depends-on=celox-sim/celox#1838 [⛓️ feat(sv): support class enum randomization #1838 [stack]]
  • 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/NAPI Build (Linux ARM64 GNU)
    • check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)
    • check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/NAPI Build (Windows)
    • check-neutral = @github-actions/NAPI Build (Windows)
    • check-skipped = @github-actions/NAPI Build (Windows)
  • 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/JS Test (Windows)
    • check-neutral = @github-actions/JS Test (Windows)
    • check-skipped = @github-actions/JS Test (Windows)
Required conditions to stay in the queue

tignear and others added 4 commits October 24, 2026 17:41
Allow rand enum properties and randomize(member) selection of enum properties
in unconstrained classes. Preserve declared enum domains through type aliases
and select only their declared values with rejection sampling, including sparse,
negative, implicit, singleton, and 64-bit values. Normalize unbased fill
initializers to the enum base width and signedness before evaluation. Keep rand_mode, inherited
properties, dynamic dispatch, and per-object seeding behavior intact.

Keep unsupported or unresolved enum domains explicit rather than randomizing
the underlying integer. Reject duplicate values, overflowing implicit values,
and X/Z domains. Scope randomization of enums, arrays, and class properties
wider than 64 bits remain outside this change.

Add four shared regression cases and an analyzer rejection test; update the
English and Japanese references. Retain narrow external-tool failure evidence:
Verilator 5.052 passes the direct enum, inheritance, and unbased fill cases but randomizes an
enum typedef alias as raw integer bits. Icarus 13.0 cannot elaborate class
randomization methods in these four cases. Shared assertions are unchanged.

Validation:
- Analyzer unit tests: 796 passed, 3 existing ignores.
- Differential SystemVerilog class suite across backends: 179 passed.
- Retained external evidence checks: 3 passed.
- NAPI build and JavaScript integration: 432 passed.
- Analyzer Clippy, formatting, and diff checks pass.
- Unbased fill regression: all five backend variants fail before the fix and
  pass afterward; Verilator also passes the unchanged assertions.
- All four new shared cases exercised with Verilator and Icarus; the limitations
  above are documented with original diagnostics in verification/repros.

Change-Id: I076dfe023e39722af4f294144ffae2c202085d52
Support scalar enums in randomize(e) and std::randomize(e), selecting only declared values with unbiased rejection sampling from the process RNG. Preserve enum domains through aliases and local variables, allow mixed enum/integer arguments, and retain short-circuit evaluation and checkpoint replay.

Add shared domain and evaluation-order regressions plus Celox checkpoint and forced-rejection tests. Document the observed Icarus 13.0 compile limitation and Verilator 5.052 enum-domain mismatch with narrowly scoped exclusions and reproduction evidence.

Validation: analyzer 796 and frontend 4 unit tests; 708 system-function regressions; 4 forced-rejection backend tests; retained-report checks (3); NAPI build and JS tests (432); affected-crate Clippy, cargo fmt and diff checks. Both new shared cases were exercised with Icarus and Verilator; their failures are retained as the tool limitations described above.

BREAKING CHANGE: The public celox-sv-analyzer SystemFunction enum gains ScopeRandomizeEnum; downstream exhaustive matches must handle this variant.

Change-Id: I2e07aafc25d024b216ce17760324265e3719055d
@mergify mergify Bot closed this Oct 24, 2026
@mergify
mergify Bot deleted the mergify/merge-queue/77aca17caa branch October 24, 2026 13:12
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