You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#1498 defines M4 — native binary from revision N compiles sources and produces a working N+1 binary without Zend php bin/compile.php for that step. script/bootstrap-loop-probe.sh exists (dry-run opt-in) but there is no ci-local hook — regressions in the bootstrap loop are invisible until manual BOOTSTRAP_LOOP_PROBE=1 runs.
M3 strict emit (#1937) and M2 spine (#2050) must stay green before M4 promotion.
Goal
When script/bootstrap-loop-probe.sh passes on php-compiler:22.04-dev:
Add BOOTSTRAP_M4_LOOP_PROBE="${BOOTSTRAP_M4_LOOP_PROBE:-0}" to script/ci-defaults.env
ci_run_bootstrap_m4_loop_probe() in script/ci-common.sh — llvm tail only; skip when LLVM missing (exit 0)
Wire into script/ci-local.sh after M3 HelloWorld strict probes
Problem
#1498 defines M4 — native binary from revision N compiles sources and produces a working N+1 binary without Zend
php bin/compile.phpfor that step.script/bootstrap-loop-probe.shexists (dry-run opt-in) but there is no ci-local hook — regressions in the bootstrap loop are invisible until manualBOOTSTRAP_LOOP_PROBE=1runs.M3 strict emit (#1937) and M2 spine (#2050) must stay green before M4 promotion.
Goal
When
script/bootstrap-loop-probe.shpasses onphp-compiler:22.04-dev:BOOTSTRAP_M4_LOOP_PROBE="${BOOTSTRAP_M4_LOOP_PROBE:-0}"toscript/ci-defaults.envci_run_bootstrap_m4_loop_probe()inscript/ci-common.sh— llvm tail only; skip when LLVM missing (exit 0)script/ci-local.shafter M3 HelloWorld strict probesImplementation hints
script/bootstrap-loop-probe.sh--dry-runtoday; strict mode when #1937 landstest/selfhost/bootstrap_loop_smoke/BOOTSTRAP_LOOP_PROBE_GATEvsBOOTSTRAP_M4_LOOP_PROBEdocs/bootstrap-m5-fast-path.mdphpc doctor --selfhost(#2053)Acceptance criteria
BOOTSTRAP_M4_LOOP_PROBE=1 ./script/ci-local.sh --filter BootstrapLoop docker run --rm -v "$(pwd):/compiler" -w /compiler php-compiler:22.04-dev \ BOOTSTRAP_M4_LOOP_PROBE=1 ./script/ci-local.sh --filter BootstrapLoopNo GitHub Actions required.
Dependencies
Links
docs/bootstrap-m5-fast-path.md· ROADMAP 🗺️ ROADMAP: Self-host + web-capable PHP subset (living) #78 Phase 5 Self-host