mirror of
https://github.com/stablyai/orca.git
synced 2026-11-02 18:17:36 +00:00
Speed up daemon smoke checks and keep compiler slots busy (#28106)
* Remove repeated daemon smoke builds and idle compiler slots * Test compiler scheduling through its process interface * Keep preview component below the existing line limit with a type-only split
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
name: Preflight critical-path comparison
|
||||
on:
|
||||
pull_request:
|
||||
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:
|
||||
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: 1.4.3
|
||||
- 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
|
||||
Reference in New Issue
Block a user