Skip to content

CI: BOOTSTRAP_M4_LOOP_PROBE opt-in in ci-local (#2058) - #2171

Merged
PurHur merged 1 commit into
masterfrom
issue-2058-bootstrap-m4-loop-probe
May 25, 2026
Merged

CI: BOOTSTRAP_M4_LOOP_PROBE opt-in in ci-local (#2058)#2171
PurHur merged 1 commit into
masterfrom
issue-2058-bootstrap-m4-loop-probe

Conversation

@PurHur

@PurHur PurHur commented May 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add BOOTSTRAP_M4_LOOP_PROBE (default 0) to script/ci-defaults.env and ci_run_bootstrap_m4_loop_probe() in script/ci-common.sh.
  • Wire the M4 bootstrap-loop --dry-run probe into script/ci-local.sh after M3 HelloWorld/compile-smoke strict gates (LLVM tail only; skips when LLVM missing).
  • Keep BOOTSTRAP_LOOP_PROBE_GATE for ci-fast.sh; document both gates in docs/local-ci-matrix.md, docs/bootstrap-selfhost.md, and phpc doctor --selfhost.

Test plan

  • vendor/bin/phpunit test/unit/CiScriptsTest.php --filter testCiLocalHonorsBootstrapLoopProbeGate
  • vendor/bin/phpunit test/unit/PhpcDoctorTest.php --filter testDoctorSelfhostPrintsBootstrapGates
  • ./script/bootstrap-loop-probe.sh --dry-run green in php-compiler:22.04-dev (with patches)
  • Follow-up: default-on flip (mirror CI: Default BOOTSTRAP_M3_HELLOWORLD_STRICT_GATE=1 in ci-local after #1493 #1866 pattern) when M3 strict is stable in Docker CI

Closes #2058

Made with Cursor

Wire M4 bootstrap-loop dry-run probe after M3 strict gates in the LLVM
tail, with ci-fast keeping BOOTSTRAP_LOOP_PROBE_GATE. Document gates in
local-ci-matrix, bootstrap-selfhost, and phpc doctor --selfhost.

Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur
PurHur merged commit 85d9544 into master May 25, 2026
@PurHur
PurHur deleted the issue-2058-bootstrap-m4-loop-probe branch May 25, 2026 20:51
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.

CI: BOOTSTRAP_M4_LOOP_PROBE opt-in in ci-local after #1498 probe green

1 participant