diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e23990f..54e56af 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,5 +27,10 @@ jobs: - name: Lint run: npm run lint + - name: Configure git identity + run: | + git config --global user.name "Bobby CI" + git config --global user.email "ci@bobby.dev" + - name: Test run: npm test diff --git a/test/lib/dashboard/orchestrator-fsm.test.js b/test/lib/dashboard/orchestrator-fsm.test.js index 76fce18..176969d 100644 --- a/test/lib/dashboard/orchestrator-fsm.test.js +++ b/test/lib/dashboard/orchestrator-fsm.test.js @@ -551,5 +551,10 @@ describe('dashboard.max_concurrent caps agents in flight (TKT-015)', () => { } finally { await new Promise(r => server.close(r)); } - }); + // This case lands within a few milliseconds of Jest's 5s default on every + // Node version we test (~5.05s locally on both 18 and 22), so which CI leg + // fails is a coin flip rather than a real difference. The assertion itself is + // instant; the time goes on the HTTP round trip and teardown. Give it an + // explicit budget so the result is deterministic instead of marginal. + }, 20000); });