Repository navigation
merge queue: checking #2122 on master (6ce9181), stacked on #2116 - #2125
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
Forked processes could run concurrently but their caller could not wait for all outstanding children or cancel them. Implement wait fork across all live immediate children, including earlier forks and task calls. Implement disable fork across every descendant, including descendants of completed parents, while preserving the caller and its siblings. Remove cancelled activations from pending starts, waits, ready/inactive/reactive queues and scheduled wakeups before reusing their IDs. Preserve checkpoint replay of joins and cancellation. Function calls retain their caller's process identity for disable fork; wait fork remains forbidden in functions. Handle frameless processes and zero-time final procedures safely. Update obsolete rejection tests and document the supported behavior. Accept exactly four measured official fail-to-pass verdicts for wait_fork and disable_fork in two/four-state modes. These upstream cases exercise elaboration; portable cases exercise execution. Partially addresses #2111. State-file serialization, compound automatic-local event expressions, deferred assertions and join_none exceptions remain separate work. Validation: - P2 review follow-up: retain the kernel during wait-condition evaluation, restore the full predicate resume point after a false reevaluation, and propagate wait fork/fork through task classification. Four new cases fail in all 24 configurations before the fix and pass afterward. - Follow-up validation: 1,057 timing tests, affected frontend unit tests, runtime consumers, Clippy, debug NAPI and 28 JS tests pass. The final explicit-argument reevaluation case also passes all six backend configurations. - External follow-up: Verilator passes three of four new cases, but waits on a cached function result instead of reevaluating the effectful predicate in the fourth (expected q=1, observed q=0). Icarus passes both event-driven task cases; a no-argument wait function hits its Empty NexusSet internal error and the explicit-argument cancellation case leaves the child alive (q=99). - Twelve portable cases pass in 72 configurations across Native/parallel/image, Cranelift/parallel and WASM, including four-state behavior. - Four API tests cover Interpreter/native differential checkpoint replay, cancellation and ID reuse, final no-op behavior and frameless process wakeups. The frameless regression panics before the fix and passes afterward. - Existing fork API seven, library 946 and consumer 343 tests pass. Timing has 1,032 passing tests; the sole stale unsupported-feature expectation was updated and its focused rerun passes. - Formatting, affected-crate Clippy, debug NAPI build and 28 JS boundary tests pass. - Official pinned runner verifies both affected cases in both modes using the debug driver; full release conformance remains in CI. - Verilator 5.052 passes all eleven two-state cases; four-state is unsupported. Icarus 13.0 passes ten cases but fails to cancel descendants of completed parents and children from a function call. Expectations follow IEEE 1800-2023 9.6.1, 9.6.3 and 13.4 and are corroborated by Verilator. BREAKING CHANGE: ProcessStatus and procedural IR gain process-control variants; native image format advances to version 41. Change-Id: I9f0dd3b8a7a23a655d9b8a76f9a8a545ec1a4a22
1 task
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 impressed-thym-wsdwz5 of the
dependenciesqueue, to test #2122 before it merges intomaster. Pushing to this branch or closing this pull request removes #2122 from the queue.What this draft tests
Mergify checks that #2122 still passes CI once combined with everything queued ahead of it. CI runs on this draft's code, built in this order:
masterat6ce9181cf641f5The 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
dependenciesqueue 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 #2122. 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
dependenciesfor 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$)-label = release:holdbase ~= ^(master|develop)$head ~= ^renovate/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 5ebf147f63da40658afb1f0db40e212f["impressed-thym-wsdwz5<br/>#2122<br/>scopes: core"] 9e5e596996874a41ae8755fa73dcf9f0["thorough-cassoulet-ojlsyk<br/>#2124<br/>scopes: core"] 5ebf147f63da40658afb1f0db40e212f --> 9e5e596996874a41ae8755fa73dcf9f0 style 5ebf147f63da40658afb1f0db40e212f fill:#6366f1,color:#fff