Skip to content

M2 wave 2: Grow compiler_lib_spine_smoke toward full vm.php inventory #1497

Description

@PurHur

Parent

Epic: #1492

Related batch tracker: #1419

Goal

Grow test/selfhost/compiler_lib_spine_smoke/main.php toward the full 586-file bin/vm.php inventory until the honest bundle covers the full compiler tree (or documented honest closure).

Current (master, batch 71): 569/586 units (~97%); 17 inventory files remain.

Gate: BOOTSTRAP_LIB_SPINE_SMOKE=1build/selfhost-lib-spine-smoke prints compiler_lib_spine_smoke bundle OK.

Definition of done

Approach

  1. Run php script/bootstrap-selfhost-next-includes.php for next 10–20 units
  2. Add to compiler_lib_spine_smoke/main.php literal closure
  3. Fix JIT/VM lowering blockers per file (prefer real lowering over new stubs)
  4. Optional entry shim: M2 spine: bundle src/cli.php entry shim (#1432 follow-up) #1467 (src/cli.php)

Hygiene note

146 open m2-spine-unit issues vs 17 remaining inventory files — many issues were pre-filed before batch merges landed. Bulk-close tracked on #1808.

Out of scope

Verify

php 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
grep -c require_once test/selfhost/compiler_lib_spine_smoke/main.php  # expect 569

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions