M2 spine wave 2 batch 5: math/type ext/standard units (#1497) - #1517
M2 spine wave 2 batch 5: math/type ext/standard units (#1497)#1517PurHur wants to merge 1 commit into
Conversation
Grow compiler_lib_spine_smoke to 373 require_once units with boolval, ceil, trig/deconversion, and is_finite family wrappers that pass AOT lint; skip array_pop/shift/search, preg wrappers, and Vm* union-return paths. Co-authored-by: Cursor <cursoragent@cursor.com>
PM triage (2026-05-24) — blocked on rebaseStatus: OPEN > 60min · mergeable: CONFLICTING · parent: #1497 (closed on master at 358 units) Conflict summaryRebase onto current
Keep 586 inventory count from master; take spine 373 from this branch after rebase. Verify after rebasephp bin/compile.php -l test/selfhost/compiler_lib_spine_smoke/main.php
BOOTSTRAP_LIB_SPINE_SMOKE=1 ./script/bootstrap-selfhost-lib-spine-smoke-link.sh
vendor/bin/phpunit test/unit/BootstrapSelfhostBundleTest.php --filter CompilerLibSpinePer-file tracking213 Action: rebase |
PM triage (2026-05-24 batch 64) — still blocked on rebaseStatus: OPEN ~2h · mergeable: CONFLICTING · master spine: 411/586 (not 358) Master moved past this PR's baseSince batch 63 triage, master landed:
This PR's 15 math/type units are still missing on master ( Rebase target (post-#1756)
Verify after rebasephp bin/compile.php -l test/selfhost/compiler_lib_spine_smoke/main.php
BOOTSTRAP_LIB_SPINE_SMOKE=1 ./script/bootstrap-selfhost-lib-spine-smoke-link.sh
vendor/bin/phpunit test/unit/BootstrapSelfhostBundleTest.php --filter CompilerLibSpineAction: rebase Cannot auto-merge: conflict resolution required (implementation task). |
|
PM close (batch 64): Cannot merge — CONFLICTING rebase required after master moved to 411/586 (#1748, #1749, #1754, #1756). The 15 math/type units in this branch are still needed but must be rebased onto current Per-file issues #1553–#1567 stay open until rebased PR lands. |
Summary
compiler_lib_spine_smokefrom 358 → 373require_onceunits (+15 math/type conversionext/standardwrappers).BootstrapSelfhostBundleTest,docs/self-host-target.md, anddocs/pages/development-status.mdwith new spine count (~64% of 584 inventory).Files added
ext/standard/boolval.phpext/standard/ceil.phpext/standard/cos.phpext/standard/decbin.phpext/standard/dechex.phpext/standard/decoct.phpext/standard/deg2rad.phpext/standard/exp.phpext/standard/floor.phpext/standard/fmod.phpext/standard/gettype.phpext/standard/intval.phpext/standard/is_finite.phpext/standard/is_infinite.phpext/standard/is_nan.phpSkipped (unchanged deferrals)
array_pop.php,array_shift.php,array_search.phparray_combine.phppreg_*.phpwrappersJitPreg*docblock failuresext/standard/Vm*(11 leaves)array_filter.php,array_reduce.php,array_walk.php,array_multisort.php,in_array.phpTest plan
script/apply-patches.shphp bin/compile.php -l test/selfhost/compiler_lib_spine_smoke/main.phpBOOTSTRAP_LIB_SPINE_SMOKE=1 ./script/bootstrap-selfhost-lib-spine-smoke-link.shvendor/bin/phpunit test/unit/BootstrapSelfhostBundleTest.php --filter CompilerLibSpineCloses #1497 (incremental batch).
Made with Cursor