runtime: native-payload lifecycle — close releases, sweep finalizes, same-cell reopen, terminal events - #12036
Merged
Merged
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configuration
📒 Files selected for processing (12)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
added 5 commits
October 5, 2026 16:23
Retain current main constructors while reopening closed subclass cells in place and rejecting open or finalized installs. Initialize AsyncHook record indexes in their existing open payload so rejected replacement drops cannot retire the newly registered hook.
Record smaps, GC census, mimalloc and allocation-stack evidence. An identical-ELF control reproduces the file-backed RSS gap; prepare only the compared executable files before alternating runs. Include all distributions and the inherited main codegen failures.
proggeramlug
force-pushed
the
native-payload-lifecycle
branch
from
October 5, 2026 16:09
b49a915 to
6a0d326
Compare
proggeramlug
marked this pull request as ready for review
October 5, 2026 16:09
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.
Refs #11919. Separates CLOSED (resource released, cell alive, owner still traced) from FINALIZED (sweep/teardown). Adds same-cell reopen (attach), an OpenSerial for stale children, link_event_owner for terminal events after close, and alloc_closed; finish() returns CallEnd::{Threw, Closed}. Cell size and hot paths are unchanged. Unblocks the sqlite (reopen) and net (terminal events after destroy) conversions. Tests: runtime 5020/0, stdlib 247/0, codegen 2510/0; T1–T12 plus L4/L5/L8/L9 with 18/18 sabotages red; 200k churn created = finalized = drops.
Draft until the merged-tree check is done.