mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2026-05-12 23:35:14 -07:00
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)
44 lines
928 B
YAML
44 lines
928 B
YAML
name: "CodeQL Security Analysis"
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
tags:
|
|
- "v*.*.*"
|
|
paths-ignore:
|
|
- "README.md"
|
|
- "docs/**"
|
|
- ".vscode"
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
paths-ignore:
|
|
- "docs/**"
|
|
- "README.md"
|
|
- ".vscode"
|
|
|
|
jobs:
|
|
analyze:
|
|
name: Analyze JavaScript/TypeScript
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
actions: read
|
|
contents: read
|
|
security-events: write
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v5
|
|
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@v4
|
|
with:
|
|
languages: javascript-typescript
|
|
config-file: ./.github/codeql/codeql-config.yml
|
|
queries: +./.github/codeql
|
|
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@v4
|
|
with:
|
|
category: "/language:javascript-typescript"
|