Skip to content

M2 spine: complete Phase A coverage (716/717) (#2652)#2658

Merged
PurHur merged 1 commit into
masterfrom
agent/issue-2652-spine-complete
May 27, 2026
Merged

M2 spine: complete Phase A coverage (716/717) (#2652)#2658
PurHur merged 1 commit into
masterfrom
agent/issue-2652-spine-complete

Conversation

@PurHur
Copy link
Copy Markdown
Owner

@PurHur PurHur commented May 27, 2026

Summary

  • Adds the final 46 require_once units to compiler_lib_spine_smoke (string/HTML ext + reflection JIT batch), reaching 716/717 Phase A coverage with lib/VM/HashTable.php ratio-deferred.
  • Extends php-types-union-type.patch so TypeReconstructor handles Op\Type\Union_ (unblocks spine lint for str_word_countVmString::int|array).

Test plan

  • php bin/compile.php -l test/selfhost/compiler_lib_spine_smoke/main.php
  • ./script/bootstrap-selfhost-lib-spine-smoke-link.sh (Docker)
  • php script/check-selfhost-spine-coverage-sync.php
  • php script/check-selfhost-spine-count-sync.php
  • php script/check-selfhost-spine-deferred-sync.php

Closes #2652

Made with Cursor

Add the final 46 vm.php-path units (string/HTML builtins, reflection JIT
helpers, emit-TU natives) to compiler_lib_spine_smoke. Extend
php-types-union-type.patch so TypeReconstructor resolves Op\Type\Union_
(required for str_word_count / VmString::int|array return types). Restore
lib/VM/HashTable.php as the single ratio-deferred spine path (#2543).

Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur PurHur merged commit 19b4b5a into master May 27, 2026
@PurHur PurHur deleted the agent/issue-2652-spine-complete branch May 27, 2026 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Self-host M2: spine +1 batch — first link failure after next-includes

1 participant