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
#585 ✅ rewrites template __DIR__ includes to phpc_deploy_path() in bundled sources. DeployRootTest proves a minimal temp project. There is no end-to-end gate that:
Problem
#585 ✅ rewrites template
__DIR__includes tophpc_deploy_path()in bundled sources.DeployRootTestproves a minimal temp project. There is no end-to-end gate that:examples/003-MiniWebAppinto a dist directory (AOT: phpc deploy bundles binary, public/, assets/, and phpc.json into dist/ #609 ✅)PHPC_DEPLOY_ROOTto that disttemplates/layout.phpWithout this, production deploy regressions slip past VM
phpc serveand unit tests.Goal
test/aot/MiniWebAppDeployLayoutTest.php(@group llvm,@group aot-link,@group miniwebapp):PATH_INFO variant:
PATH_INFO=/hello+QUERY_STRING=name=Deploy.While blocked:
markTestSkipped→ #568.Implementation hints
test/aot/MiniWebAppDeployLayoutTest.phpDeployRootTestlib/Web/ProjectDeploy.phptemplates/,public/,assets/copiedphpc_deploy_path()for templatesscript/ci-local.sh@group aot-linkphase afterExamplesCompileTestcgi-wrapperin distHarness
docker run --rm -v "$(pwd):/compiler" -w /compiler php-compiler:22.04-dev \ ./script/ci-local.sh --filter MiniWebAppDeployLayoutTestAcceptance criteria
phpc deploydist containsbin/app,templates/,README.deployDependencies
phpc deployRouterVerification
Local/Docker only — not GitHub Actions.
Links
docs/deploy-web-aot.md(Docs: deploy-web-aot.md quickstart (phpc deploy + PHPC_DEPLOY_ROOT + nginx CGI) #635 ✅)