Skip to content

DevEx: MINIWEBAPP_VM_CLI_GATE runs MiniWebApp VM CLI tests in ci-fast #597

@PurHur

Description

@PurHur

Problem

#586 / #590 will add fast PHPUnit gates for MiniWebApp routes without TCP. Today script/ci-fast.sh does not document or enforce running them by default — contributors may land PATH_INFO regressions while full ci-local.sh is expensive.

#570 added PhpcLintProjectTest to ci-fast; VM route matrix should be the next progressive gate.

Goal

  1. After Testing: MiniWebApp VM CLI route matrix (phpc run, no TCP) #586/Stdlib: strspn() and strcspn() (VM + LLVM JIT/AOT) #590 land, register tests in phpunit.xml.dist (no @group llvm).
  2. script/ci-fast.sh runs MiniWebApp VM CLI filters when MINIWEBAPP_VM_CLI_GATE=1 (default on once green, or always-on after flip).
  3. script/miniwebapp-gates.sh prints stage for VM CLI gate.
  4. Document env in examples/003-MiniWebApp/README.md and DevEx: MiniWebApp CI gate ladder (lint → serve → AOT → web-smoke) #472 ladder.

Acceptance criteria

MINIWEBAPP_VM_CLI_GATE=1 ./script/ci-fast.sh

Docker:

docker run --rm -v "$(pwd):/compiler" -w /compiler php-compiler:22.04-dev \
  MINIWEBAPP_VM_CLI_GATE=1 ./script/ci-fast.sh --filter 'MiniWebApp.*VmCli'

Dependencies

Links

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions