Skip to content

CI: FILE_UPLOAD_WEB_DEPLOY_SMOKE_GATE opt-in in ci-local after #2028 #2038

Description

@PurHur

Problem

#2028 adds deploy-smoke.sh --example 006 for multipart CGI behind PHPC_DEPLOY_ROOT. There is no ci-local hook yet — same gap #1967 had for 005 before #1974 default-on flip.

Goal

When #2028 is green on php-compiler:22.04-dev:

  1. FILE_UPLOAD_WEB_DEPLOY_SMOKE_GATE="${FILE_UPLOAD_WEB_DEPLOY_SMOKE_GATE:-0}" in script/ci-defaults.env
  2. ci_run_file_upload_web_deploy_smoke() in script/ci-common.sh (llvm tail only; skip exit 0 when LLVM missing)
  3. Wire into script/ci-local.sh after deploy-smoke / examples smokes
  4. Document in docs/local-ci-matrix.md and lib/Doctor.php (DevEx: phpc doctor --gates lists 006-FileUploadWeb ladder (#1999–#2012) #2010 ladder)

Follow-up (separate issue): default =1 in ci-local after stable (mirror #1974 for sessions).

Implementation hints

Mirror SESSIONS_WEB_DEPLOY_SMOKE_GATE wiring:

Piece Path Notes
Smoke script/deploy-smoke.sh smoke_006_fileuploadweb() from #2028
Hook script/ci-common.sh Call only when gate 1 and LLVM ready
Test test/unit/CiScriptsTest.php Assert env var + hook string

Acceptance criteria

FILE_UPLOAD_WEB_DEPLOY_SMOKE_GATE=1 ./script/ci-local.sh
docker run --rm -v "$(pwd):/compiler" -w /compiler php-compiler:22.04-dev \
  FILE_UPLOAD_WEB_DEPLOY_SMOKE_GATE=1 ./script/deploy-smoke.sh --example 006

Dependencies

Links

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:toolingTooling / CI / docsenhancementNew feature or requestimplementation-readySpec complete: repro, php-src ref, done-when — safe for workers to claimphase-5:reference-appPhase 5 – reference web application

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions