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
#1768 tracks M3 compile-driver symbol batches in lib/JIT.php (isM3CompileDriverRealLoweringName(), isM3CompileDriverSpineDenyName()), but the allowlist is hand-edited with no CI drift guard.
#1872 ✅ solved the same problem for M2 spine 589/593 counts via script/bootstrap-spine-count.php + check-selfhost-spine-count-sync.php. M3 batches need an analogous snapshot so PRs don’t silently shrink or duplicate allowlist entries.
Problem
#1768 tracks M3 compile-driver symbol batches in
lib/JIT.php(isM3CompileDriverRealLoweringName(),isM3CompileDriverSpineDenyName()), but the allowlist is hand-edited with no CI drift guard.#1872 ✅ solved the same problem for M2 spine 589/593 counts via
script/bootstrap-spine-count.php+check-selfhost-spine-count-sync.php. M3 batches need an analogous snapshot so PRs don’t silently shrink or duplicate allowlist entries.Goal
script/check-m3-allowlist-snapshot.php— parselib/JIT.phpallowlist/denylist names, compare to committedscript/m3-allowlist-snapshot.txt(or JSON)M3_ALLOWLIST_SYNC_GATE=1inci-fastinventory checks (default on; opt-out=0for bulk symbol PRs)Implementation hints
script/bootstrap-m3-allowlist-snapshot.phprgor PHP parse ofisM3CompileDriverRealLoweringNamearray bodiesscript/check-m3-allowlist-snapshot.phpscript/m3-allowlist-snapshot.txtscript/ci-common.shcheck-selfhost-spine-count-sync.phptest/unit/M3AllowlistSnapshotTest.phpphp script/bootstrap-m3-allowlist-snapshot.php --write ./script/check-m3-allowlist-snapshot.php M3_ALLOWLIST_SYNC_GATE=0 ./script/ci-fast.sh # bulk PR escape hatchAcceptance criteria
lib/JIT.phpand snapshot failsci-fastwith regenerate instructionsdocs/bootstrap-m5-fast-path.mdM3 sectionVerification (local / Docker only)
./script/ci-fast.sh --filter M3Allowlist docker run --rm -v "$(pwd):/compiler" -w /compiler php-compiler:22.04-dev \ ./script/ci-fast.sh --filter M3AllowlistNo GitHub Actions.
Dependencies
Links