Skip to content

merge queue: checking #1767 on master (5eea1b3) - #1827

Closed
mergify[bot] wants to merge 2 commits into
masterfrom
mergify/merge-queue/56e2c87e4a
Closed

mergify[bot] wants to merge 2 commits into
masterfrom
mergify/merge-queue/56e2c87e4a

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 master-quatrequart-dn3tzm of the changes queue, to test #1767 before it merges into master. Pushing to this branch or closing this pull request removes #1767 from the queue.

What this draft tests

Mergify checks that #1767 still passes CI on top of master. CI runs on this draft's code, built in this order:

  1. master at 5eea1b3
  2. #1767, the pull request of this batch

🎉 Where it stands: checks passed

CI passed on this draft.

Follow the changes queue in the dashboard

What happens next

  • Mergify merges #1767 into master and closes this draft.
Metadata for CI tooling, read by mergify ci
---
all_scopes: false
checking_base_sha: 5eea1b3f704bccbea675e354aa73a3f48a8c907b
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 1767
    scopes:
      - core
scopes:
  - core
...
1 scope
  • core
Required conditions of queue rule changes for merge
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • 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
Queue graph

The diagram is not laid out in queue order, so a node's position says nothing about when it merges.

graph LR
    65e15b2b4a774c2b8a6bb08eb40178d6["master-quatrequart-dn3tzm<br/>#1767<br/>scopes: core"]
    a6849ea3bc3b40eb9dea0eaca53799ac["surviving-jambon-exqn55<br/>#1787<br/>scopes: core"]
    65e15b2b4a774c2b8a6bb08eb40178d6 --> a6849ea3bc3b40eb9dea0eaca53799ac
    style 65e15b2b4a774c2b8a6bb08eb40178d6 fill:#6366f1,color:#fff
Loading

tignear and others added 2 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
@mergify mergify Bot closed this Oct 23, 2026
@mergify
mergify Bot deleted the mergify/merge-queue/56e2c87e4a branch October 23, 2026 13:38
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