TidGi-Desktop/scripts
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
..
afterPack.ts chore: upgrade Electron 39->41 + forge 7.10->7.11 + fix native ABI (#692) 2026-04-02 21:45:47 +08:00
beforeAsar.ts
compilePlugins.mjs
developmentMkdir.ts
end-to-end-calibration-preflight.ts refactor(e2e): all timeouts derived from measurement, zero hardcoded values 2026-05-05 00:06:58 +08:00
start-e2e-app.ts
startMockOpenAI.ts
trimDugite.ts