mirror of
https://github.com/stablyai/orca.git
synced 2026-10-31 17:17:38 +00:00
* perf(ci): skip unnecessary alias scans and compare preflight compilers * perf(ci): overlap measured Bun typechecking with static checks * perf(ci): use measured Bun lint runtime and strengthen compiler parity checks
61 lines
1.9 KiB
YAML
61 lines
1.9 KiB
YAML
name: Preflight comparison
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- .github/workflows/preflight-benchmark.yml
|
|
- config/scripts/benchmark-preflight-*.mjs
|
|
- config/scripts/preflight-benchmark-command.mjs
|
|
workflow_dispatch:
|
|
permissions:
|
|
contents: read
|
|
concurrency:
|
|
group: preflight-comparison-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
env:
|
|
ORCA_BACKGROUND_LAUNCH: '1'
|
|
jobs:
|
|
compilers:
|
|
runs-on: ubuntu-24.04-arm
|
|
timeout-minutes: 25
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
persist-credentials: false
|
|
- uses: ./.github/actions/install-node-dependencies
|
|
with:
|
|
native-runtime: none
|
|
node-version: '24'
|
|
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
|
|
with:
|
|
bun-version: 1.4.3
|
|
- name: Compare native and Bun typechecking
|
|
run: node config/scripts/benchmark-preflight-compilers.mjs
|
|
- uses: actions/upload-artifact@v7
|
|
if: always()
|
|
with:
|
|
name: preflight-compilers
|
|
path: .build/preflight-benchmark/
|
|
retention-days: 30
|
|
static-analysis:
|
|
runs-on: ubuntu-24.04-arm
|
|
timeout-minutes: 25
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
persist-credentials: false
|
|
- uses: ./.github/actions/install-node-dependencies
|
|
with:
|
|
native-runtime: none
|
|
node-version: '24'
|
|
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
|
|
with:
|
|
bun-version: 1.4.3
|
|
- name: Compare anti-slop patch and script runtimes
|
|
run: node config/scripts/benchmark-preflight-static-analysis.mjs
|
|
- uses: actions/upload-artifact@v7
|
|
if: always()
|
|
with:
|
|
name: preflight-static-analysis
|
|
path: .build/preflight-benchmark/
|
|
retention-days: 30
|