Skip to content

CI: default BOOTSTRAP_M3_HELLOWORLD_STRICT_GATE=1 in ci-local (#1866) - #3944

Merged
PurHur merged 1 commit into
masterfrom
agent/issue-1866-m3-strict-gate-default
May 31, 2026
Merged

PurHur merged 1 commit into
masterfrom
agent/issue-1866-m3-strict-gate-default

Conversation

@PurHur

@PurHur PurHur commented May 31, 2026

Copy link
Copy Markdown
Owner

Summary

  • Flip BOOTSTRAP_M3_HELLOWORLD_STRICT_GATE default from 0 to 1 in script/ci-defaults.env (M3 HelloWorld strict native emit runs in ci-local.sh LLVM tail by default).
  • Align ci-common.sh fallback, docs/local-ci-matrix.md, docs/bootstrap-selfhost.md, and phpc doctor --selfhost presenter text.
  • Update CiScriptsTest assertions for default-on + opt-out =0.

Closes #1866

php-src / Zend reference

CI wiring only — probe behavior unchanged (script/bootstrap-selfhost-helloworld-probe.sh, issue #1526 / #1493).

Verification

./script/docker-exec.sh -- bash -lc \
  'php vendor/bin/phpunit --filter "testCiLocalHonorsBootstrapM3StrictGate|testLocalCiMatrixDocumentsBootstrapM3StrictGate" test/unit/CiScriptsTest.php'
PHPUnit 9.6.21 by Sebastian Bergmann and contributors.
..                                                                  2 / 2 (100%)
OK (2 tests, 13 assertions)

Issue repro (probe green per #1866 harness note — strict gate now default in full CI):

./script/docker-exec.sh -- bash -lc 'make bootstrap-selfhost-helloworld'
# Expected on standard harness: bootstrap-selfhost-helloworld-probe: OK emit_path=native

Opt-out documented: BOOTSTRAP_M3_HELLOWORLD_STRICT_GATE=0 ./script/ci-local.sh

Made with Cursor

Flip M3 HelloWorld strict probe to default-on in ci-defaults.env now that
emit_path=native is stable; document opt-out and update Doctor presenter.

Closes #1866

Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur
PurHur merged commit c9148dc into master May 31, 2026
@PurHur
PurHur deleted the agent/issue-1866-m3-strict-gate-default branch May 31, 2026 19:25
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: Default BOOTSTRAP_M3_HELLOWORLD_STRICT_GATE=1 in ci-local after #1493

1 participant