Skip to content

Testing: THROWSWEB_WEB_SMOKE_GATE + examples-web-smoke 007 slice #2093

@PurHur

Description

@PurHur

Problem

#2076 ✅ landed examples/007-ThrowsWeb/. The VM web-smoke ladder is mostly green via THROWS_WEB_SMOKE_GATE=1 (default-on #2125) in script/examples-web-smoke.sh and make examples-throws-smoke (#2141 ✅).

Remaining gap: polish items not covered by the default gate — especially #2200 uncaught HTTP 500 negative path (THROWSWEB_UNCAUGHT_500_GATE=0 opt-in) and doc/doctor alignment when gate names drift (THROWSWEB_WEB_SMOKE_GATE was never shipped; canonical env is THROWS_WEB_SMOKE_GATE).

Status (2026-05-26)

Piece Status Notes
script/examples-web-smoke.sh 007 slice --throws-only, EXAMPLES_WEB_SMOKE_ONLY=007
make examples-throws-smoke #2141 THROWS_WEB_SMOKE_GATE=1
ci-fast.sh default gate #2125 THROWS_WEB_SMOKE_GATE=1 in ci-defaults.env
Caught invalid POST curl ExamplesCompileTest + smoke script
Uncaught 500 curl 🚧 #2200 Opt-in THROWSWEB_UNCAUGHT_500_GATE=1
phpc doctor --gates #2102 Verify rows mention THROWS_WEB_SMOKE_GATE
AOT link/execute #2101 / #2157 THROWSWEB_AOT_*_GATE=1 default #2135

Remaining scope

  1. Close this issue when Testing: ThrowsWeb uncaught HTTP 500 serve smoke (presenter negative path) #2200 lands OR document explicit wont-fix for uncaught demo in examples/007-ThrowsWeb/README.md
  2. Ensure script/check-development-status-sync.php and check-root-readme-sync.php never resurrect stale THROWSWEB_WEB_SMOKE_GATE spelling
  3. Optional: ExamplesWebSmokeTest asserts --throws-only wiring (if not already covered)

Implementation hints (remaining)

Piece Path Notes
Uncaught slice script/examples-web-smoke.sh Guard with THROWSWEB_UNCAUGHT_500_GATE (#2200)
README examples/007-ThrowsWeb/README.md Gate ladder table — canonical env names
Checker script/check-capabilities-throws-sync.php Already requires THROWS_WEB_SMOKE_GATE in footer
THROWS_WEB_SMOKE_GATE=1 ./script/examples-web-smoke.sh --throws-only
THROWSWEB_UNCAUGHT_500_GATE=1 ./script/examples-web-smoke.sh --throws-only  # after #2200
make examples-throws-smoke

Harness:

./script/docker-exec.sh -- bash -lc 'source script/php-env.sh && make examples-throws-smoke'

Acceptance criteria (close when)

Dependencies

Links

Verification

Local/Docker only — ./script/ci-fast.sh / make test-harness; not GitHub Actions (#394 ✅).

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:webWeb / CGI / superglobalsenhancementNew feature or requestphase-5:reference-appPhase 5 – reference web application

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions