Repository navigation
merge queue: checking #1767 on master (5eea1b3) - #1827
Closed
mergify[bot] wants to merge 2 commits into
Closed
mergify[bot] wants to merge 2 commits into
mergify[bot] wants to merge 2 commits into
Conversation
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
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 master-quatrequart-dn3tzm of the
changesqueue, to test #1767 before it merges intomaster. 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:masterat5eea1b3🎉 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 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