Write HTML. Render video. Built for agents.
JavaScript aiai-agentsanimationclaude-codeffmpegframeworkgsaphtmlhtml-to-videomcpmotion-graphicspuppeteerrenderingtypescriptvideo-editor
ci: fast-fail regression matrix + preflight gate before expensive jobs
James18e49cb69ca7
diff --git a/.github/workflows/catalog-previews.yml b/.github/workflows/catalog-previews.ymlindex ec57ae4200..df6321be61 100644--- a/.github/workflows/catalog-previews.yml+++ b/.github/workflows/catalog-previews.yml@@ -17,8 +17,23 @@ concurrency:cancel-in-progress: truejobs:+ preflight:+ name: Preflight (lint + format)+ runs-on: ubuntu-latest+ timeout-minutes: 5+ steps:+ - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4+ - uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2+ - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4+ with:+ node-version: 22+ - run: bun install --frozen-lockfile+ - run: bun run lint+ - run: bun run format:check+render-previews:name: Render catalog previews+ needs: preflightruns-on: ubuntu-latesttimeout-minutes: 30steps:diff --git a/.github/workflows/player-perf.yml b/.github/workflows/player-perf.ymlindex 9c4e0532a5..360f525467 100644--- a/.github/workflows/player-perf.yml+++ b/.github/workflows/player-perf.yml@@ -37,14 +37,30 @@ jobs:- "bun.lock"- ".github/workflows/player-perf.yml"+ preflight:+ name: Preflight (lint + format)+ needs: changes+ if: needs.changes.outputs.perf == 'true'+ runs-on: ubuntu-latest+ timeout-minutes: 5+ steps:+ - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4+ - uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2+ - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4+ with:+ node-version: 22+ - run: bun install --frozen-lockfile+ - run: bun run lint+ - run: bun run format:check+perf-shards:name: "Perf: ${{ matrix.shard }}"- needs: changes+ needs: [changes, preflight]if: needs.changes.outputs.perf == 'true'runs-on: ubuntu-latesttimeout-minutes: 20strategy:- fail-fast: false+ fail-fast: truematrix:include:- shard: loaddiff --git a/.github/workflows/preview-regression.yml b/.github/workflows/preview-regression.ymlindex 9049992a97..e2466678dc 100644--- a/.github/workflows/preview-regression.yml+++ b/.github/workflows/preview-regression.yml@@ -41,9 +41,25 @@ jobs:- "bun.lock"- ".github/workflows/preview-regression.yml"+ preflight:+ name: Preflight (lint + format)+ needs: changes+ if: needs.changes.outputs.preview == 'true'+ runs-on: ubuntu-latest+ timeout-minutes: 5+ steps:+ - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4+ - uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2+ - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4+ with:+ node-version: 22+ - run: bun install --frozen-lockfile+ - run: bun run lint+ - run: bun run format:check+preview-parity:name: Preview parity- needs: changes+ needs: [changes, preflight]if: needs.changes.outputs.preview == 'true'runs-on: ubuntu-latesttimeout-minutes: 20diff --git a/.github/workflows/regression.yml b/.github/workflows/regression.ymlindex fba8167717..c0cd1f9999 100644--- a/.github/workflows/regression.yml+++ b/.github/workflows/regression.yml@@ -34,13 +34,29 @@ jobs:- "packages/engine/**"- "Dockerfile*"- regression-shards:+ preflight:+ name: Preflight (lint + format)needs: changesif: needs.changes.outputs.code == 'true'runs-on: ubuntu-latest+ timeout-minutes: 5+ steps:+ - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4+ - uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2+ - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4+ with:+ node-version: 22+ - run: bun install --frozen-lockfile+ - run: bun run lint+ - run: bun run format:check++ regression-shards:+ needs: [changes, preflight]+ if: needs.changes.outputs.code == 'true'+ runs-on: ubuntu-latesttimeout-minutes: 60strategy:- fail-fast: false+ fail-fast: truematrix:# Shards are bin-packed by measured per-test duration (LPT heuristic on# CI run 25893372795) so each row carries ~15-16 min of work. When adiff --git a/.github/workflows/windows-render.yml b/.github/workflows/windows-render.ymlindex 1490a97f2d..5476053fb0 100644--- a/.github/workflows/windows-render.yml+++ b/.github/workflows/windows-render.yml@@ -57,9 +57,27 @@ jobs:- "bun.lock"- ".github/workflows/windows-render.yml"+ preflight:+ name: Preflight (lint + format)+ needs: changes+ if: needs.changes.outputs.code == 'true' || github.event_name == 'workflow_dispatch'+ runs-on: ubuntu-latest+ timeout-minutes: 5+ steps:+ - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4+ with:+ ref: ${{ github.event.inputs.ref }}+ - uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2+ - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4+ with:+ node-version: 22+ - run: bun install --frozen-lockfile+ - run: bun run lint+ - run: bun run format:check+render-windows:name: Render on windows-latest- needs: changes+ needs: [changes, preflight]if: needs.changes.outputs.code == 'true' || github.event_name == 'workflow_dispatch'runs-on: windows-latesttimeout-minutes: 30@@ -344,7 +362,7 @@ jobs:# -------------------------------------------------------------------test-windows:name: Tests on windows-latest- needs: changes+ needs: [changes, preflight]if: needs.changes.outputs.code == 'true' || github.event_name == 'workflow_dispatch'runs-on: windows-latesttimeout-minutes: 20