Skip to content

M5: CI matrix — precompiled native driver with Zend parity tests #8561

Description

@PurHur

Summary

Move the project default from Zend php bin/compile.php to the prelinked native driver (prelinked/bootstrap-gen0/bin-compile-aot, build/bin-compile-aot-inventory) while keeping Zend as the correctness oracle for tests.

Phases

Phase A — Artifact pipeline (CI)

  • Job builds and caches prelinked/bootstrap-gen0/*, vendor .o, inventory argv driver
  • Publish sidecar SHA + manifest as CI artifact / release asset

Phase B — Dual-runner test matrix

  • Zend leg (existing): php vendor/bin/phpunit, compliance PHPT, bin/compile.php lint
  • Native leg: same suites where applicable via build/bin-compile-aot-inventory + AOT binaries
  • Fail native leg only on bootstrap-tagged tests initially; expand as coverage grows

Phase C — Developer workflow

  • make bootstrap-selfhost-link produces usable local driver without vendor/
  • Document when Zend is still required (cold boot regen, allowlist bisect)

Phase D — Strict M5 close

  • north-star5-verify --strict green without Zend gen-0
  • BOOTSTRAP_M3_HELLOWORLD_STRICT=1 native emit end-to-end

Related

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