Skip to content

CI: FILE_UPLOAD_WEB_SMOKE_GATE opt-in in ci-local after #1999 #2006

@PurHur

Description

@PurHur

Problem

#1999 will add examples/006-FileUploadWeb/ with multipart curls, but full ci-local.sh has no opt-in gate for the sixth example ladder (pattern: #1887/#1894 for 005, #1967/#1974 for deploy).

Without a gate issue, contributors may wire smoke ad-hoc or duplicate 005 gate naming.

Goal

  1. Add FILE_UPLOAD_WEB_SMOKE_GATE=0 default in script/ci-defaults.env
  2. When =1, script/ci-local.sh runs multipart curl smoke for 006 (after Examples: 006-FileUploadWeb — multipart $_FILES reference + AOT execute smoke #1999 tree exists)
  3. Follow-up issue (not here): default-on in ci-local after green — mirror CI: Default SESSIONS_WEB_DEPLOY_SMOKE_GATE=1 in ci-local after #1967 green #1974 naming

Implementation hints

Piece Path Notes
Env default script/ci-defaults.env FILE_UPLOAD_WEB_SMOKE_GATE="${FILE_UPLOAD_WEB_SMOKE_GATE:-0}"
Hook script/ci-common.sh or script/examples-web-smoke.sh --fileupload-only slice
Doctor lib/Doctor.php List gate under examples ladder (#1903 pattern)
Docs docs/local-ci-matrix.md Row + verify commands
Test test/unit/CiScriptsTest.php Assert env string present

Acceptance criteria

FILE_UPLOAD_WEB_SMOKE_GATE=1 ./script/ci-local.sh
# runs 006 multipart curl; exits 0 when #1999 green
FILE_UPLOAD_WEB_SMOKE_GATE=0 ./script/ci-fast.sh
# skips 006 (fast path unchanged)

Verification (local / Docker only)

./script/docker-ci-local.sh

Do not require GitHub Actions (#394 ✅).

Dependencies

Links

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions