2025-11-10 19:42:42 +09:00
|
|
|
|
Smokes v2 — Quick vs Optional
|
|
|
|
|
|
|
|
|
|
|
|
Purpose
|
|
|
|
|
|
- Keep an always‑on, fast “quick” subset to sanity‑check core paths every time.
|
|
|
|
|
|
- Keep broader/experimental/host‑dependent reps as optional, SKIP‑guarded.
|
|
|
|
|
|
|
|
|
|
|
|
Always‑on (quick)
|
|
|
|
|
|
- Runner: `tools/smokes/v2/run_quick.sh`
|
|
|
|
|
|
- Includes:
|
|
|
|
|
|
- Core crate/native reps (phase2100/run_all.sh) — SKIP when unavailable
|
|
|
|
|
|
- Stage‑B Program(JSON) shape (phase2160: stageb_* canaries)
|
|
|
|
|
|
- loop_scan minimal canaries (!=' + else Break/Continue)
|
|
|
|
|
|
|
|
|
|
|
|
Optional (per‑phase)
|
|
|
|
|
|
- Richer/experimental reps remain under `profiles/quick/core/phase*/run_all.sh` and individual canaries.
|
|
|
|
|
|
- Examples:
|
|
|
|
|
|
- registry_* tag observation canaries (structure only)
|
|
|
|
|
|
- program_to_mir_exe_* (host/tooling dependent, SKIP‑guarded)
|
|
|
|
|
|
|
|
|
|
|
|
Conventions
|
|
|
|
|
|
- 3‑state outcomes: PASS / SKIP / FAIL(FAIL should be rare and intentional)
|
|
|
|
|
|
- SKIP guards are preferred over brittle environment assumptions.
|
|
|
|
|
|
- Add light canaries first; escalate to run_all only when stable and fast.
|
|
|
|
|
|
|
|
|
|
|
|
Usage
|
|
|
|
|
|
- Run quick set: `bash tools/smokes/v2/run_quick.sh`
|
|
|
|
|
|
- Run a phase: `bash tools/smokes/v2/profiles/quick/core/<phase>/run_all.sh`
|
|
|
|
|
|
- Run a single canary: `bash tools/smokes/v2/profiles/quick/core/<phase>/<name>_canary_vm.sh`
|
2025-09-24 09:30:42 +09:00
|
|
|
|
|