Skip to content

Testing: 005-SessionsWeb in examples-web-smoke + CI gate (#1887) - #1917

Merged
PurHur merged 1 commit into
masterfrom
issue-1887-sessions-web-smoke
May 25, 2026
Merged

Testing: 005-SessionsWeb in examples-web-smoke + CI gate (#1887)#1917
PurHur merged 1 commit into
masterfrom
issue-1887-sessions-web-smoke

Conversation

@PurHur

@PurHur PurHur commented May 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add SESSIONS_WEB_SMOKE_GATE=1 (default) to ci-fast.sh and ci-local.sh via ci_run_sessions_web_smoke / examples-web-smoke.sh --sessions-only.
  • Extend examples-web-smoke.sh with cookie-jar curls for POST→303→GET flash round-trip on examples/005-SessionsWeb.
  • Add ExamplesCompileTest::test005SessionsWebServeFlashRoundTrip (@group serve) and make examples-sessions-smoke.
  • Fix bin/serve.php to treat exit as a normal response and persist VM sessions (ScriptExit + VmSession::writeClose).

Test plan

  • SESSIONS_WEB_SMOKE_GATE=1 ./script/examples-web-smoke.sh --sessions-only (Docker tar harness)
  • vendor/bin/phpunit --filter 'test005SessionsWebServeFlashRoundTrip|ExamplesWebSmokeScriptTest|CiScriptsTest::testCiFastRunsSessionsWebSmokeGate'
  • ./script/ci-fast.sh on a host with stable inventory sync (harness Docker may fail doc sync gates after auto-regenerating bootstrap-inventory.md)

Closes #1887

Made with Cursor

Add SESSIONS_WEB_SMOKE_GATE (default on) with cookie-jar curls in ci-fast/ci-local,
PHPUnit serve flash round-trip, and fix bin/serve.php to persist sessions on exit.

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: 005-SessionsWeb in examples-web-smoke + ExamplesCompileTest

1 participant