Write HTML. Render video. Built for agents.
JavaScript aiai-agentsanimationclaude-codeffmpegframeworkgsaphtmlhtml-to-videomcpmotion-graphicspuppeteerrenderingtypescriptvideo-editor
ci: a hung Windows test run keeps its log, and commit hooks lint .mjs/.cjs files (#6023)
Miguel Ángel2e1cf69e0700
diff --git a/.github/workflows/windows-render.yml b/.github/workflows/windows-render.ymlindex c271a0960c..d0ffd62978 100644--- a/.github/workflows/windows-render.yml+++ b/.github/workflows/windows-render.yml@@ -428,7 +428,7 @@ jobs:needs: [changes, preflight]if: needs.changes.outputs.code == 'true' || github.event_name == 'workflow_dispatch'runs-on: windows-latest- timeout-minutes: 20+ timeout-minutes: 30strategy:fail-fast: falsematrix:@@ -508,17 +508,20 @@ jobs:shell: pwshrun: node --import tsx packages/cli/scripts/prepare-process-test-browser.mjs+ # Step limits stay under the job limit minus setup (~5 min), so a hung run fails its step and keeps the log.- name: Run Studio shard ${{ matrix.studio_shard }}if: matrix.studio_shardshell: pwsh- run: bun run --cwd packages/studio test -- --shard=${{ matrix.studio_shard }} --maxWorkers=2+ timeout-minutes: 16+ run: bun run --cwd packages/studio test -- --shard=${{ matrix.studio_shard }} --maxWorkers=2 --reporter=verbose- name: Run ${{ matrix.lane }} package testsif: matrix.packagesshell: pwsh+ timeout-minutes: 16# Each package starts its own Vitest pool. Bound every pool so concurrent# package scripts cannot oversubscribe the hosted Windows runner.- run: bun run ${{ matrix.packages }} test -- --maxWorkers=2+ run: bun run ${{ matrix.packages }} test -- --maxWorkers=2 --reporter=verbose- name: Verify waveform cache writes on Windowsif: matrix.lane == 'engine-cli'diff --git a/lefthook.yml b/lefthook.ymlindex 28b634fac0..8af36f84bd 100644--- a/lefthook.yml+++ b/lefthook.yml@@ -2,10 +2,10 @@ pre-commit:parallel: truecommands:lint:- glob: "*.{js,jsx,ts,tsx}"+ glob: "*.{js,jsx,ts,tsx,mjs,cjs,mts,cts}"run: bunx oxlint --no-error-on-unmatched-pattern {staged_files}format:- glob: "*.{js,jsx,ts,tsx,json,md,yaml,yml}"+ glob: "*.{js,jsx,ts,tsx,mjs,cjs,mts,cts,json,md,yaml,yml}"# Auto-format and re-stage so the committed snapshot is always formatted.# Replaces --check which only reports — that left unformatted files in# commits when the hook ran after the amend snapshot was taken.