Repository navigation
merge queue: checking #1879 on master (902622f), stacked on #2121 - #2138
Closed
mergify[bot] wants to merge 4 commits into
Closed
mergify[bot] wants to merge 4 commits into
mergify[bot] wants to merge 4 commits into
Conversation
Core checkpoints now save HDL execution state independently of effects. File I/O, VPI and component handler state stays with the embedding system; taking or restoring a core checkpoint does not ask those handlers to snapshot or restore themselves. Add a replaceable Rust FileSystem boundary with the OS filesystem as its default. The host can separately capture descriptor mappings, EOF/lookahead and opaque backend state, prepare a replacement FileIo handler, and compose it with a core checkpoint. No filesystem storage strategy is imposed on Rust callers. Persist timed core checkpoints in a versioned container, including heap values, live fork activations, lexical cells, event queues and edge baselines. Event IDs are rebound to the receiving instance instead of persisting code pointers. Loading is an unsafe trusted-artifact API with compatibility, layout and corruption checks. Add passive StateFile capture to native instances and VPI sessions, including timed ReadOnly callbacks and celox_vpi_save_state. These diagnostic captures do not settle HDL or dispatch callbacks. Portable StateFile remains distinct from a host-composed system checkpoint. Validation: checkpoint roundtrips on interpreter, native, tiered, Cranelift and WASM; fork-control and file-handler regressions; CLI consumer tests; formatting and clippy. The test coverage includes explicit host/core composition, capture with the default OS handler, failed handler preparation, descriptor reuse and separate-instance restoration. BREAKING CHANGE: SimulatorOptions gains the file_system field. Update explicit options literals or use ..Default::default(). Change-Id: Icc2fc1b000bf2d3742536b5ba735d6332ad109a1
Implement sampled values for static variables using copies captured before advancing to a later timestamp (IEEE 1800-2023 16.5.1 and 16.9.3). Initialize from declarations, preserve automatic variables, and copy strided arrays through their layouts. Same-timestamp host resumptions and writes retain the Preponed baseline; untimed Simulator calls each form a slot. Resolve sampled select operands before hoisting nested calls, including calls with side effects. Cover timed host-only writes, repeated run_until calls, bounded runs, step, advance_to, and report watching. Verify that the compiled scheduler actually executes in the regression. The runtime schema gains sample_shadows; native image version is 42. Combinational $sampled and handle operands remain unsupported in this stack member. Validation: - sv_sampled: 35 passed across interpreter, native, actual Cranelift and WASM. - Celox/runtime unit tests: 309 passed. - Time, stop, state-file, runtime API, clock and image consumers: 110 passed, 2 ignored. - Formatting and affected-crate Clippy with -D warnings. Change-Id: I764da6c419a54df2ca88f784d797f22e5c8520eb
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-pomme-awbb3v of the
changesqueue, to test #1879 before it merges intomaster. Pushing to this branch or closing this pull request removes #1879 from the queue.What this draft tests
Mergify checks that #1879 still passes CI once combined with everything queued ahead of it. CI runs on this draft's code, built in this order:
masterat902622fa0d5098The 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
changesqueue in the dashboardWhat happens next
masterand closes this draft.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 #1879. 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 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 9bf61317e3f5493aa67ca302098a5549["master-pomme-awbb3v<br/>#1879<br/>scopes: core"] a1104551e6234aa1bd15a03659c86c44["peachy-escargot-4mrcad<br/>#1880 + #1881 + #1882<br/>scopes: core"] 9bf61317e3f5493aa67ca302098a5549 --> a1104551e6234aa1bd15a03659c86c44 style 9bf61317e3f5493aa67ca302098a5549 fill:#6366f1,color:#fff