Skip to content

Testing: examples-aot-smoke 007 slice (EXAMPLES_AOT_SMOKE_ONLY=007) - #2154

Merged
PurHur merged 1 commit into
masterfrom
issue-2104-examples-aot-smoke-007
May 25, 2026
Merged

PurHur merged 1 commit into
masterfrom
issue-2104-examples-aot-smoke-007

Conversation

@PurHur

@PurHur PurHur commented May 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add smoke_007_throwsweb to script/examples-aot-smoke.sh for 007-ThrowsWeb AOT build + CGI POST probe (caught invalid email), gated by THROWSWEB_AOT_SMOKE_GATE=1 (opt-in, same as ThrowsWebAotExecuteTest).
  • Wire EXAMPLES_AOT_SMOKE_ONLY=007 slice entry point and document in Makefile / ExamplesAotSmokeScriptTest.

Closes #2104.

Verify (Runforge / Docker)

# Slice skips by default (gate off) — exit 0
EXAMPLES_AOT_SMOKE_ONLY=007 ./script/examples-aot-smoke.sh

# Opt-in execute (requires #2101 AOT throw/catch green)
THROWSWEB_AOT_SMOKE_GATE=1 EXAMPLES_AOT_SMOKE_ONLY=007 ./script/examples-aot-smoke.sh

vendor/bin/phpunit test/unit/ExamplesAotSmokeScriptTest.php --filter testExamplesAotSmokeScriptDocumentsMiniWebAppProbe

Note: With THROWSWEB_AOT_SMOKE_GATE=1, native execute currently exits 134 on harness (same as ThrowsWebAotExecuteTest::testInvalidPostShowsCaughtError) until #2101 AOT try/catch is green. Link step succeeds; slice wiring is complete per acceptance.

Test plan

Made with Cursor

Add smoke_007_throwsweb mirroring 006 CGI multipart flow for caught
invalid POST when THROWSWEB_AOT_SMOKE_GATE=1. Closes #2104.

Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur
PurHur merged commit 6ed9276 into master May 25, 2026
@PurHur
PurHur deleted the issue-2104-examples-aot-smoke-007 branch May 25, 2026 20:02
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: examples-aot-smoke.sh 007 slice (EXAMPLES_AOT_SMOKE_ONLY=007)

1 participant