Skip to content

Self-host: bootstrap compile probe script (Fixes #816)#823

Merged
PurHur merged 2 commits into
masterfrom
issue-816-selfhost-compile-probe
May 23, 2026
Merged

Self-host: bootstrap compile probe script (Fixes #816)#823
PurHur merged 2 commits into
masterfrom
issue-816-selfhost-compile-probe

Conversation

@PurHur
Copy link
Copy Markdown
Owner

@PurHur PurHur commented May 23, 2026

Summary

  • Add script/bootstrap-selfhost-compile-probe.php to bundle test/selfhost/compiler_minimal/main.php via bin/compile.php (same path as compile.php / bootstrap-selfhost-lint.sh).
  • Run -l then -o build/selfhost, printing NEXT_LOWER: <message> from the first fatal or LogicException for inventory triage.
  • Optional --update-inventory appends the live probe message under docs/bootstrap-inventory.md compiler gaps.
  • Document the gate in docs/bootstrap-selfhost.md and add a unit test.

Fixes #816

Test plan

  • php script/bootstrap-selfhost-compile-probe.php prints NEXT_LOWER: when -o fails
  • php vendor/bin/phpunit test/unit/BootstrapSelfhostCompileProbeTest.php

Made with Cursor

PurHur and others added 2 commits May 23, 2026 07:16
Runs bin/compile.php -l then -o on compiler_minimal, prints NEXT_LOWER
from the first fatal or LogicException for bootstrap inventory triage.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur PurHur merged commit 6782c19 into master May 23, 2026
@PurHur PurHur deleted the issue-816-selfhost-compile-probe branch May 23, 2026 05:16
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: bootstrap compile probe script + inventory gaps

1 participant