Skip to content

merge queue: checking #1787 on master (5eea1b3), stacked on #1767 - #1828

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

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

Conversation

@mergify

@mergify mergify Bot commented Oct 23, 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 surviving-jambon-exqn55 of the changes queue, to test #1787 before it merges into master. Pushing to this branch or closing this pull request removes #1787 from the queue.

What this draft tests

Mergify checks that #1787 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 5eea1b3
  2. the pull request queued ahead of this batch, listed below, which brings the tip to 0fb1c68
  3. #1787, 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: checks passed

CI passed on this draft.

Follow the changes queue in the dashboard

What happens next

  • Once the pull requests ahead have merged, Mergify merges #1787 into master and closes this draft.
  • If a pull request ahead fails or leaves the queue without merging, this batch is requeued and checked again on a new draft: these checks assumed it would merge.

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 #1787. 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 ci
---
all_scopes: false
checking_base_sha: 0fb1c684a4c7d5752d39f99339510dbbfacfb27a
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 1787
    scopes:
      - core
scopes:
  - core
...
1 scope
  • core
Required conditions of queue rule changes for merge
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • depends-on = celox-sim/celox#1767 [⛓️ feat(sv)!: support unconstrained class randomization #1767]
  • 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)
  • 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
Required conditions to stay in the queue

tignear and others added 4 commits October 23, 2026 20:35
Calling object.randomize() randomizes 2-state, non-enum integral rand properties up to 64 bits and returns signed int success. Invoke pre_randomize and post_randomize around updates, preserve non-rand properties, and support srandom(seed) with independent per-object random streams seeded by the creating process.

Register constructor seeding as a process RNG consumer before computing FF state targets, so checkpoint/restore replays object seeds from edge-triggered processes. Reject invalid receivers before hooks, random draws or property writes: a null or mismatched runtime class records a runtime fault and returns failure without those side effects.

Retain rand/randc and constraint metadata so unsupported randomization is rejected explicitly. Constraints, randc, static random properties, randomize argument lists, non-integral random properties and inheritance remain outside this first subset. Preserve master's static properties, constructor chaining, virtual methods and interface classes when integrating this subset.

Differential scheduler checks compare live class objects, including RNG state and future object allocation handles, so divergent random draws are detected before a subsequent property update.

Add portable shared cases, backend and rejection regressions, and English/Japanese reference documentation. Record Icarus 13.0's missing randomize/srandom methods with original compile diagnostics and exact case exclusions.

Validation on master d7bb5a3:
- Reproduced the constructor checkpoint mismatch and rejected-receiver property mutation on all four applicable backend variants before their fixes.
- Class integration tests: 110 passed, including checkpoint replay, null receiver hooks and base-handle mutation guards.
- Existing urandom integration tests: 81 passed.
- Syntax, analyzer, heap and SV frontend unit tests: 931 passed, 3 existing ignores.
- Retained-report consistency tests: 3 passed.
- NAPI debug build and JS tests: 432 passed across 15 files.
- Formatting, diff checks and Clippy for the four changed implementation crates and SystemVerilog integration target.
- Shared executable cases and external adapters are unchanged from their earlier validation: Verilator randomize filter passed 4 cases; Icarus rejected the two class cases for unsupported methods, recorded as limitations rather than passes.

Additional P2 validation: heap tests (16), differential scheduler tests (5), and class integration tests in differential mode (110) pass. New tests reproduce RNG-only and object-content comparison omissions before the fix. Heap and Celox Clippy, formatting and diff checks pass.

BREAKING CHANGE: Public SystemVerilog syntax structs gain constraint/randc metadata, and ObjectOp and heap Fault gain enum variants. Downstream struct literals and exhaustive matches must be updated.

Change-Id: If4e53d32f02e495546c1154f9f0aad3897e71e9b
Randomize the concrete dynamic class through base handles, including inherited
rand properties and hooks. Add object/property rand_mode controls and temporary
randomize(member, ...) selection, with randomize(null) running hooks without
drawing values. Preserve modes through checkpoint/restore and differential checks.

Expose additional ObjectOp variants for random-mode heap operations. Constraints,
randc randomization, and non-integral randomization remain unsupported.

Add portable regressions plus wide-selection and checkpoint API tests, and update
English/Japanese reference documentation. Retain narrow external-tool exclusions:
Icarus cannot compile the four cases; Verilator passes two, but fails inherited
srandom compilation and disagrees on truncation of rand_mode's bit argument.

Validation:
- Formatting and affected crate/test clippy checks pass.
- Analyzer, heap, and SV frontend unit tests: 816 passed.
- Differential SystemVerilog class tests: 159 passed.
- Retained external evidence checks: 3 passed.
- NAPI build and JS integration: 432 tests passed.
- All four new shared cases exercised with Verilator and Icarus; tool limitations
  and original diagnostics retained in verification/repros.

Randomization signature discovery defers unsupported unused class layouts instead
of making unrelated interface class declarations fail. Add a regression for
inherited typedef and parameterized interface declarations.

CI regression validation: the release driver and unmodified official sv-tests
runner match all 2054 checked-in 2state/4state expectations with no baseline
changes. Analyzer unit tests (795), differential class tests (159), formatting,
and analyzer Clippy also pass after this fix.

Change-Id: Ia8213f0f33deda93f2a187b22504f6fbb6c3cb63
@mergify mergify Bot closed this Oct 23, 2026
@mergify
mergify Bot deleted the mergify/merge-queue/bfc4fb9178 branch October 23, 2026 13:39
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