Skip to content

deploy-smoke.sh 003-MiniWebApp full execute E2E (#745)#1065

Merged
PurHur merged 1 commit into
masterfrom
feat/deploy-smoke-003-execute
May 23, 2026
Merged

deploy-smoke.sh 003-MiniWebApp full execute E2E (#745)#1065
PurHur merged 1 commit into
masterfrom
feat/deploy-smoke-003-execute

Conversation

@PurHur
Copy link
Copy Markdown
Owner

@PurHur PurHur commented May 23, 2026

Summary

  • Add smoke_003_execute() to script/deploy-smoke.sh: phpc build --project + phpc deploy, then run deployed bin/app under PHPC_DEPLOY_ROOT with MiniWebAppCgiEnv scenarios (home, hello, contact).
  • Gate via DEPLOY_SMOKE_003_EXECUTE=1 (default 0 in ci-defaults.env) or when MINIWEBAPP_AOT_EXECUTE_GATE=1; wire 003 into ci_run_deploy_smoke when either gate is on.
  • Add DeploySmokeScriptTest::testDeploySmokeExample003ExecuteWhenEnabled (LLVM integration) and update deploy / unskip docs.

Closes #745

Routes verified

Route Scenario Needle
Home shellQueryRouteHome MiniWebApp
Hello queryRouteHello Hello Dev
Contact postQueryRouteContact Thank you, PostDev

Test plan

  • DEPLOY_SMOKE_003_EXECUTE=1 ./script/deploy-smoke.sh --example 003 (local, exit 0)
  • ./vendor/bin/phpunit --filter DeploySmokeScriptTest
  • ./vendor/bin/phpunit --filter CiScriptsTest::testCiLocalHonorsDeploySmokeGate

Made with Cursor

Wire phpc build/deploy plus PHPC_DEPLOY_ROOT bin/app probes for home, hello,
and contact behind DEPLOY_SMOKE_003_EXECUTE or MINIWEBAPP_AOT_EXECUTE_GATE.

Closes #745

Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur PurHur merged commit a0a83d5 into master May 23, 2026
1 check passed
@PurHur PurHur deleted the feat/deploy-smoke-003-execute branch May 23, 2026 16:08
PurHur added a commit that referenced this pull request May 23, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Testing: Enable deploy-smoke.sh 003-MiniWebApp slice (#676 step 6)

1 participant