Skip to content

php-in-php: drop init-phase from StreamIo M3 defer bag (#20576) - #20581

Merged
PurHur merged 2 commits into
masterfrom
agent/runtime-php-streamio-defer-20576
Jul 18, 2026
Merged

PurHur merged 2 commits into
masterfrom
agent/runtime-php-streamio-defer-20576

Conversation

@PurHur

@PurHur PurHur commented Jul 18, 2026

Copy link
Copy Markdown
Owner

Summary

Closes #20576

Test plan

  • vendor/bin/phpunit test/unit/StreamIoRuntimeShrinkTest.php (+ Context/HelloWorld StreamIo asserts)
  • Related stream shrink tests (Read/Lifecycle/Bucket/Filter)
  • make bootstrap-selfhost-vm-driver-execute-probe
  • php script/bootstrap-inventory.php --check → OK 5679/5679
  • ./script/ci-fast.sh (in progress on branch)

Verification transcript

OK (5 tests, 38 assertions)  # StreamIoRuntimeShrinkTest + ContextStandalone
OK (1 test, 9 assertions)    # testStreamIoDefersNestedJitForUserScriptAot
bootstrap-selfhost-vm-driver-execute-probe: OK
OK 5679/5679

C/runtime shrink: −153 lines PHP LLVM inventory path in JitStreamIoKernel.php (dead dispatch); no new C.

Made with Cursor

PurHur and others added 2 commits July 18, 2026 15:18
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>
@PurHur

PurHur commented Jul 18, 2026

Copy link
Copy Markdown
Owner Author

Rebased onto origin/master (post-#20577–#20582). Re-verified:

OK (5 tests) StreamIo + ContextStandalone shrink
OK (1 test)  testStreamIoDefersNestedJitForUserScriptAot
OK 5702/5702 inventory
bootstrap-selfhost-vm-driver-execute-probe: OK

AOT build smoke was green on pre-rebase run; miniwebapp template comment sync included. Merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant