Skip to content

CI: Self-host spine count drift guard (582/586 across docs and ROADMAP) #1834

Description

@PurHur

Problem

M2 spine progress is cited in multiple places with easy drift:

Source Typical value
test/unit/BootstrapSelfhostBundleTest.php 582 (canonical)
docs/self-host-target.md, README.md, development-status.md 582/586
ROADMAP #78 / #1380 comments sometimes 578 after hygiene closes
docs/roadmap-wave3.md 582/586 (synced #1815)

Batch hygiene (#1818 ✅) closed stale m2-spine-unit issues but did not add a guard when ROADMAP issue bodies lag BootstrapSelfhostBundleTest.

Goal

  1. Add script/check-selfhost-spine-count-sync.php that reads the expected spine count from BootstrapSelfhostBundleTest (or compiler_lib_spine_smoke/main.php require_once count) and fails if key docs diverge:
  2. Gate SELFHOST_SPINE_COUNT_SYNC_GATE in ci-fast.sh (default 0; flip 1 after first sync PR)

Acceptance criteria

php script/check-selfhost-spine-count-sync.php
SELFHOST_SPINE_COUNT_SYNC_GATE=1 ./script/ci-fast.sh
BOOTSTRAP_LIB_SPINE_SMOKE=1 make bootstrap-selfhost-lib-spine-smoke   # still 582 bundle OK

Dependencies

Non-goals

  • GitHub Actions
  • Replacing php script/bootstrap-inventory.php --check (586 inventory files)

Links

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions