Commit graph

3 commits

Author SHA1 Message Date
linonetwo
566a2ea92e refactor(e2e): all timeouts derived from measurement, zero hardcoded values
Calibration now extracts actual max individual step duration from
cucumber JSON output — no multipliers, REFERENCE, caps, or floors.
The measured worst-case step IS the timeout.

- calibration.ts: getMeasuredStepTimeoutMs() returns raw maxStepMs
- preflight: cucumber --format json → parse nanosecond durations
- timeouts.ts: CUCUMBER_GLOBAL_TIMEOUT = measured max step
- calibration mode: 1h timeout, purely for measurement to finish
- No REFERENCE_CALIBRATION_MS, no CALIBRATION_PREFLIGHT_MULTIPLIER
- No BASE_STEP_TIMEOUT_MS, no multipliers
- Missing calibration → throws immediately

Also fix CI deprecations:
- github/codeql-action/*@v3 → v4
- actions/upload-artifact@v4 → v5 (test.yml + release.yml)
2026-05-05 00:06:58 +08:00
lin onetwo
69cc703b18
Add master branch to CodeQL workflow triggers 2025-10-24 17:39:18 +08:00
lin onetwo
2cbd2c8145
Rename codeql-analysis.yml to codeql.yml 2025-10-24 17:38:08 +08:00
Renamed from .github/workflows/codeql-analysis.yml (Browse further)