Problem
script/examples-aot-smoke.sh still short-circuits the 003 block with a #568 link skip message even though #752 ✅ closed native user-class link.
Operators running make examples-aot-smoke or EXAMPLES_AOT_SMOKE_ONLY=003 get no signal about execute health (empty stdout — #764). #738 tracks full unskip when execute is green; this issue covers the intermediate behavior: attempt build + run, report accurate blocker.
Goal
When LLVM is ready:
phpc build --project examples/003-MiniWebApp — fail with stderr on link error (exit 1)
- Run
.phpc/bin/app with QUERY_STRING=route=home CGI env
- If stdout length
0: print blocked #764 (empty stdout) and skip (exit 0) or fail when MINIWEBAPP_AOT_EXECUTE_GATE=1
- If stdout contains
app_name: print 003-MiniWebApp: ok
Remove hard-coded skip (AOT link blocked #568) stub.
Scope
Implementation hints
| Piece |
Notes |
| Env |
Reuse needles from #491 / #747 (app_name) |
| Helper |
Share with #790 MiniWebAppCgiEnv when landed |
| Byte probe |
Same as #773 stage 4b2 |
make docker-build-22
EXAMPLES_AOT_SMOKE_ONLY=003 ./script/examples-aot-smoke.sh
# expect: stderr mentions #764 while execute broken, not #568
Acceptance criteria
Dependencies
Verification
docker run --rm -v "$(pwd):/compiler" -w /compiler php-compiler:22.04-dev \
EXAMPLES_AOT_SMOKE_ONLY=003 ./script/examples-aot-smoke.sh
Local/Docker only — not GitHub Actions.
Links
Problem
script/examples-aot-smoke.shstill short-circuits the 003 block with a #568 link skip message even though #752 ✅ closed native user-class link.Operators running
make examples-aot-smokeorEXAMPLES_AOT_SMOKE_ONLY=003get no signal about execute health (empty stdout — #764). #738 tracks full unskip when execute is green; this issue covers the intermediate behavior: attempt build + run, report accurate blocker.Goal
When LLVM is ready:
phpc build --project examples/003-MiniWebApp— fail with stderr on link error (exit 1).phpc/bin/appwithQUERY_STRING=route=homeCGI env0: printblocked #764 (empty stdout)and skip (exit 0) or fail whenMINIWEBAPP_AOT_EXECUTE_GATE=1app_name: print003-MiniWebApp: okRemove hard-coded
skip (AOT link blocked #568)stub.Scope
script/examples-aot-smoke.sh—smoke_003_miniwebapp()rewritetest/unit/ExamplesAotSmokeScriptTest.php— assert new messagesscript/miniwebapp-gates.shstage 4c inherits accurate pass/skip/fail (DevEx: miniwebapp-gates stage 4c — probe examples-aot-smoke 003 block #683)Implementation hints
app_name)MiniWebAppCgiEnvwhen landedmake docker-build-22 EXAMPLES_AOT_SMOKE_ONLY=003 ./script/examples-aot-smoke.sh # expect: stderr mentions #764 while execute broken, not #568Acceptance criteria
examples-aot-smoke: 003-MiniWebApp: okExamplesAotSmokeScriptTestpasses locally/DockerDependencies
Verification
docker run --rm -v "$(pwd):/compiler" -w /compiler php-compiler:22.04-dev \ EXAMPLES_AOT_SMOKE_ONLY=003 ./script/examples-aot-smoke.shLocal/Docker only — not GitHub Actions.
Links