Skip to content

Fix examples-web-smoke serve startup and header() after stmt ?? (#10380)#10389

Merged
PurHur merged 1 commit into
masterfrom
agent/examples-web-smoke-serve-ready
Jun 21, 2026
Merged

Fix examples-web-smoke serve startup and header() after stmt ?? (#10380)#10389
PurHur merged 1 commit into
masterfrom
agent/examples-web-smoke-serve-ready

Conversation

@PurHur

@PurHur PurHur commented Jun 20, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add apply-patches.sh --verify-only and use it from ci_ensure_vendor_patches so phpc serve / web smoke no longer pay ~17s vendor patch apply on every php-local.sh invocation.
  • Raise examples-web-smoke.sh serve readiness wait to 25s as headroom on cold trees.
  • Fix compiler call-arg lowering: stmt-level ?? must not supply the header(..., true, 303) replace slot when the CFG arg is unrelated (005-SessionsWeb POST redirect).

Test plan

  • ./script/php-local.sh vendor/bin/phpunit test/unit/ApplyPatchesTest.php
  • ./script/php-local.sh vendor/bin/phpunit test/compliance/JITTest.php --filter header_after_post_coalesce
  • ./script/examples-web-smoke.sh (001–007, 009 pass; 003 contact POST name still empty — pre-existing PATH_INFO POST parsing issue, tracked separately)
  • ./script/release-readiness.sh --full --json (blocked on 003-MiniWebApp contact needle until POST/name issue is fixed)

Made with Cursor

…).

Skip full apply-patches on php-local when markers verify (~17s), raise serve wait timeout, and stop stmt-level coalesce from hijacking unrelated header() replace args after POST ?? assignments.

Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur

PurHur commented Jun 21, 2026

Copy link
Copy Markdown
Owner Author

Maintainer verification (2026-06-21):

  • `header_after_post_coalesce*.phpt` via `bin/jit.php`: pass (303 redirect)
  • `make bootstrap-selfhost-link`: green on this branch
  • `ApplyPatchesTest`: 11 failures — same pre-existing count on `master` (patch overlay env), not introduced here

Compiler call-arg lowering fix looks good; merging on repro + bootstrap link.

@PurHur PurHur merged commit 0c4e861 into master Jun 21, 2026
PurHur added a commit that referenced this pull request Jun 21, 2026
…-guard

Fix MiniWebApp POST contact empty name after static guard (#10389 follow-up)
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.

1 participant