You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#478 tracks HTTP phpc serve --aot for examples/003-MiniWebApp routes. #277 ✅ added static CSS coverage for 001-SimpleWeb in ServeAotTest, but the north-star app has no PHPUnit gate that:
Problem
#478 tracks HTTP
phpc serve --aotforexamples/003-MiniWebApproutes. #277 ✅ added static CSS coverage for 001-SimpleWeb inServeAotTest, but the north-star app has no PHPUnit gate that:phpc build --project examples/003-MiniWebAppphpc serve --aot 127.0.0.1:<port> examples/003-MiniWebAppGET /assets/style.css(Web: phpc.json assets directory served beside public docroot (003-MiniWebApp /assets/) #594 ✅)Shell smoke (
make examples-web-smoke) covers VM + curls; AOT HTTP regressions would only show up manually.Goal
Extend
test/real/ServeAotTest.php(orMiniWebAppServeAotTest.php) with@group miniwebapp+@group serve+@group llvm:GET /index.php/hello?name=DevHello DevPOST /index.php/contactThank youGET /index.php/api/status"ok":trueGET /assets/style.css200, body containsbody {Skip with link to #568 / #58 until
phpc build --projectlinks; retarget skips from closed #67 → #539 / #568.Acceptance criteria
Respect
PHP_COMPILER_SKIP_SERVE_TESTSwhen loopback bind fails (same as existingServeAotTest).No GitHub Actions.
Implementation hints
ExamplesCompileTestproject build argvphpc build --projectbin/serve.php/PhpcCli--aotpublicDevServer::resolveAssetsFileSCRIPT_NAME,PATH_INFOin curl URLDependencies
RouterLinks
examples/003-MiniWebApp/README.mdgate ladder DevEx: MiniWebApp CI gate ladder (lint → serve → AOT → web-smoke) #472