Skip to content

Testing: north-star2-verify optional 007 ThrowsWeb ladder (init + VM smoke) #2177

Description

@PurHur

Problem

script/north-star2-verify.sh (#1865 ✅) covers M0–M4 self-host probes but no step for the shipped 007-ThrowsWeb integration ladder:

Presenters running make north-star2-verify must remember separate example commands from docs/GETTING-STARTED.md §5b (#2158).

Goal

Extend north-star2-verify.sh with an optional tail step (default on when example tree exists; skip when loopback bind fails — same pattern as web smokes):

  1. php script/check-init-throwsweb-parity.sh (fast; CI: INIT_THROWSWEB_PARITY_GATE default-on in ci-fast after #2086 checker #2127 default-on)
  2. make examples-throws-smoke or THROWS_WEB_SMOKE_GATE=1 ./script/examples-web-smoke.sh --throws-only
  3. Print next hints for AOT (Language: AOT throw/catch with user-defined class (007 ValidationError execute) #2157, Testing: THROWSWEB_AOT_LINK_GATE + THROWSWEB_AOT_SMOKE_GATE (007-ThrowsWeb) #2101) when LLVM ready

Add NORTH_STAR2_THROWSWEB_GATE="${...:-1}" to script/ci-defaults.env with opt-out =0 for harness hosts without TCP loopback.

Implementation hints

File Notes
script/north-star2-verify.sh New step 6 or --skip-throwsweb flag
Makefile north-star2-verify Pass through env
lib/Doctor.php List gate under NS2 section (#2053 pattern)
test/unit/NorthStar2VerifyTest.php Assert script mentions examples-throws-smoke

Acceptance criteria

make north-star2-verify
# includes throwsweb step; exit 0 when #2076 green

NORTH_STAR2_THROWSWEB_GATE=0 make north-star2-verify
# skips throwsweb step

Harness:

./script/docker-exec.sh -- bash -lc 'make north-star2-verify'

Do not require GitHub Actions (#394 ✅).

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions