Repository navigation
php-in-php: drop init-phase from StreamIo M3 defer bag (#20576) - #20581
Merged
Merged
Conversation
Gate Context standalone init via isStandaloneInitPhase in StreamIoJit, keep shouldDeferHeavyStreamIoEmitters M3-env-only, and delete the dead JitStreamIoKernel::implement inventory path (~153 LOC). Co-authored-by: Cursor <cursoragent@cursor.com>
Unblocks INIT_MINIWEBAPP_PARITY_GATE (comment-only drift already on master). Co-authored-by: Cursor <cursoragent@cursor.com>
Owner
Author
|
Rebased onto AOT build smoke was green on pre-rebase run; miniwebapp template comment sync included. Merging. |
PurHur
force-pushed
the
agent/runtime-php-streamio-defer-20576
branch
from
July 18, 2026 15:19
81b4bcc to
09f02b0
Compare
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.
Summary
StreamIoJitgates Context standalone init viaisStandaloneInitPhase()explicitly (peer php-in-php: gate Context::ensureFullStandaloneBodies string helpers on isThinStandaloneAotMain / isStandaloneInitPhase (#1492) #20571 / php-in-php: drop shouldDeferHeavyStreamIoEmitters from StreamRead/Lifecycle/Bucket/Filter — thin via isThinStandaloneAotMain (#1492) #20553).shouldDeferHeavyStreamIoEmittersis M3 env flags only — no longer folds$standaloneInitPhase.JitStreamIoKernel::implement+ inventory stub emitters + localshouldDefer(−153 LOC inext/standard/JitStreamIoKernel.php; onlyimplementForUserScriptLoweringwas live).docs/bootstrap-inventory.mdmethod counts.Closes #20576
Test plan
vendor/bin/phpunit test/unit/StreamIoRuntimeShrinkTest.php(+ Context/HelloWorld StreamIo asserts)make bootstrap-selfhost-vm-driver-execute-probephp script/bootstrap-inventory.php --check→ OK 5679/5679./script/ci-fast.sh(in progress on branch)Verification transcript
C/runtime shrink: −153 lines PHP LLVM inventory path in
JitStreamIoKernel.php(dead dispatch); no new C.Made with Cursor