mirror of
https://github.com/stablyai/orca.git
synced 2026-11-03 10:37:35 +00:00
* Use incremental tsrs for local typechecks * Update pinned Bun to 1.4.4 * fix(deps): bump dompurify to 3.4.17 and docs next to 16.4.1 for security advisories dompurify 3.4.17 patches GHSA-cg2g-xh64-v4q7, GHSA-mrv2-3pqr-j5jr and GHSA-c6gr-qvv4-5v3f in the root and mobile lockfiles. next 16.4.1 patches GHSA-2464-fhr4-w9xw, GHSA-673q-mjm6-r5xr and GHSA-p3m5-59mp-jv5r in the docs site. * Prepare mobile bundle for smoke benchmarks * Give native compiler benchmarks a larger ARM runner --------- Co-authored-by: Brennan Benson <79079362+brennanb2025@users.noreply.github.com>
47 lines
1.6 KiB
YAML
47 lines
1.6 KiB
YAML
name: Preflight critical-path comparison
|
|
on:
|
|
pull_request:
|
|
types: [opened, synchronize, reopened, ready_for_review, converted_to_draft]
|
|
paths:
|
|
- .github/workflows/preflight-critical-path-benchmark.yml
|
|
- config/scripts/benchmark-ci-preflight-critical-path.mjs
|
|
workflow_dispatch:
|
|
permissions:
|
|
contents: read
|
|
concurrency:
|
|
group: preflight-critical-path-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
env:
|
|
ORCA_BACKGROUND_LAUNCH: '1'
|
|
jobs:
|
|
compare:
|
|
if: github.event_name != 'pull_request' || github.event.pull_request.draft != true
|
|
runs-on: ubuntu-24.04-arm
|
|
timeout-minutes: 20
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
comparison: [smoke, sync-spawn, typecheck]
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
persist-credentials: false
|
|
fetch-depth: 2
|
|
- uses: ./.github/actions/install-node-dependencies
|
|
with:
|
|
native-runtime: node
|
|
node-version: '24'
|
|
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
|
|
with:
|
|
bun-version-file: config/.bun-version
|
|
- uses: ./.github/actions/install-mobile-dependencies
|
|
if: matrix.comparison == 'smoke'
|
|
- name: Compare checks and verify their results
|
|
run: node config/scripts/benchmark-ci-preflight-critical-path.mjs ${{ matrix.comparison }}
|
|
- uses: actions/upload-artifact@v7
|
|
if: always()
|
|
with:
|
|
name: preflight-critical-path-${{ matrix.comparison }}
|
|
path: .build/preflight-benchmark/
|
|
retention-days: 30
|