From 5e9c2f276810c4f9d34853e5fa64728b179ce0c5 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 15 Jan 2026 03:45:06 +0000 Subject: [PATCH 1/3] Initial plan From 18d4db791209fe4ef80817cc7e726ed1bfaf2983 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 15 Jan 2026 03:48:13 +0000 Subject: [PATCH 2/3] Optimize all GitHub Actions workflow timeouts for faster execution Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com> --- .github/workflows/ci.yml | 10 +++++----- .github/workflows/codeql.yml | 2 +- .github/workflows/dependency-review.yml | 2 +- .github/workflows/deploy-docs.yml | 8 ++++---- .github/workflows/release.yml | 6 +++--- .github/workflows/stale.yml | 2 +- .github/workflows/typecheck.yml | 6 +++--- .github/workflows/validate-metadata.yml | 6 +++--- 8 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8c024e39..dcc2b6d8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ on: jobs: build: runs-on: ubuntu-latest - timeout-minutes: 15 + timeout-minutes: 10 services: redis: image: redis @@ -47,7 +47,7 @@ jobs: - name: Install dependencies run: pnpm install --frozen-lockfile - timeout-minutes: 5 + timeout-minutes: 3 - name: Setup MongoDB Memory Server run: | @@ -55,13 +55,13 @@ jobs: # This allows integration tests to run without network access during tests cd packages/drivers/mongo npx mongodb-memory-server preinstall || echo "MongoDB binary download failed, tests will skip gracefully" - timeout-minutes: 3 + timeout-minutes: 2 continue-on-error: true - name: Build packages run: pnpm run build - timeout-minutes: 10 + timeout-minutes: 5 - name: Run tests run: pnpm run test - timeout-minutes: 10 + timeout-minutes: 8 diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index c10bdb49..42f0e93f 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -13,7 +13,7 @@ jobs: analyze: name: Analyze Code runs-on: ubuntu-latest - timeout-minutes: 15 + timeout-minutes: 10 permissions: actions: read contents: read diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index 50c5a1ba..846437ba 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -11,7 +11,7 @@ permissions: jobs: dependency-review: runs-on: ubuntu-latest - timeout-minutes: 10 + timeout-minutes: 5 steps: - name: Checkout Repository uses: actions/checkout@v4 diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 67aa4614..cd4ef77f 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -29,7 +29,7 @@ jobs: # Build job build: runs-on: ubuntu-latest - timeout-minutes: 10 + timeout-minutes: 8 steps: - name: Checkout uses: actions/checkout@v4 @@ -51,11 +51,11 @@ jobs: - name: Install dependencies run: pnpm install - timeout-minutes: 5 + timeout-minutes: 3 - name: Build with VitePress run: pnpm run docs:build - timeout-minutes: 5 + timeout-minutes: 4 - name: Upload artifact uses: actions/upload-pages-artifact@v3 @@ -69,7 +69,7 @@ jobs: url: ${{ steps.deployment.outputs.page_url }} needs: build runs-on: ubuntu-latest - timeout-minutes: 5 + timeout-minutes: 3 name: Deploy steps: - name: Deploy to GitHub Pages diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6f20c4e5..2ab0cd1a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: release: name: Release runs-on: ubuntu-latest - timeout-minutes: 20 + timeout-minutes: 15 steps: - name: Checkout Repo uses: actions/checkout@v3 @@ -48,12 +48,12 @@ jobs: - name: Install Dependencies run: pnpm install - timeout-minutes: 5 + timeout-minutes: 3 - name: Create Release Pull Request or Publish to npm id: changesets uses: changesets/action@v1 - timeout-minutes: 10 + timeout-minutes: 8 with: # This executes the release script defined in package.json publish: pnpm release diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index adf9c32a..076d4750 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -13,7 +13,7 @@ permissions: jobs: stale: runs-on: ubuntu-latest - timeout-minutes: 10 + timeout-minutes: 5 steps: - name: Mark/Close Stale Issues and PRs uses: actions/stale@v9 diff --git a/.github/workflows/typecheck.yml b/.github/workflows/typecheck.yml index 1ec30737..d72814de 100644 --- a/.github/workflows/typecheck.yml +++ b/.github/workflows/typecheck.yml @@ -10,7 +10,7 @@ jobs: typecheck: name: TypeScript Type Check runs-on: ubuntu-latest - timeout-minutes: 10 + timeout-minutes: 5 steps: - uses: actions/checkout@v4 @@ -27,10 +27,10 @@ jobs: - name: Install dependencies run: pnpm install --frozen-lockfile - timeout-minutes: 5 + timeout-minutes: 3 - name: Run TypeScript type check run: | echo "Running TypeScript compiler in build mode for type checking..." pnpm tsc -b - timeout-minutes: 5 + timeout-minutes: 3 diff --git a/.github/workflows/validate-metadata.yml b/.github/workflows/validate-metadata.yml index b31fa0b3..4f0ffa82 100644 --- a/.github/workflows/validate-metadata.yml +++ b/.github/workflows/validate-metadata.yml @@ -26,7 +26,7 @@ jobs: validate: name: Validate YAML Metadata runs-on: ubuntu-latest - timeout-minutes: 10 + timeout-minutes: 5 steps: - uses: actions/checkout@v4 @@ -43,10 +43,10 @@ jobs: - name: Install dependencies run: pnpm install --frozen-lockfile - timeout-minutes: 5 + timeout-minutes: 3 - name: Validate YAML syntax run: | echo "Checking YAML syntax for metadata files..." pnpm exec node scripts/validate-yaml.js - timeout-minutes: 5 + timeout-minutes: 2 From 84f6f7f244e61274e3676eb8fb9f0cb2ab870b09 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 15 Jan 2026 03:55:26 +0000 Subject: [PATCH 3/3] Drastically reduce workflow timeouts by 60% for much faster execution Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com> --- .github/workflows/ci.yml | 10 +++++----- .github/workflows/codeql.yml | 2 +- .github/workflows/dependency-review.yml | 2 +- .github/workflows/deploy-docs.yml | 8 ++++---- .github/workflows/labeler.yml | 2 +- .github/workflows/release.yml | 6 +++--- .github/workflows/stale.yml | 2 +- .github/workflows/typecheck.yml | 6 +++--- .github/workflows/validate-metadata.yml | 6 +++--- 9 files changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dcc2b6d8..acad95e0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ on: jobs: build: runs-on: ubuntu-latest - timeout-minutes: 10 + timeout-minutes: 6 services: redis: image: redis @@ -47,7 +47,7 @@ jobs: - name: Install dependencies run: pnpm install --frozen-lockfile - timeout-minutes: 3 + timeout-minutes: 2 - name: Setup MongoDB Memory Server run: | @@ -55,13 +55,13 @@ jobs: # This allows integration tests to run without network access during tests cd packages/drivers/mongo npx mongodb-memory-server preinstall || echo "MongoDB binary download failed, tests will skip gracefully" - timeout-minutes: 2 + timeout-minutes: 1 continue-on-error: true - name: Build packages run: pnpm run build - timeout-minutes: 5 + timeout-minutes: 3 - name: Run tests run: pnpm run test - timeout-minutes: 8 + timeout-minutes: 5 diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 42f0e93f..9e3f2549 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -13,7 +13,7 @@ jobs: analyze: name: Analyze Code runs-on: ubuntu-latest - timeout-minutes: 10 + timeout-minutes: 6 permissions: actions: read contents: read diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index 846437ba..2510b64a 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -11,7 +11,7 @@ permissions: jobs: dependency-review: runs-on: ubuntu-latest - timeout-minutes: 5 + timeout-minutes: 3 steps: - name: Checkout Repository uses: actions/checkout@v4 diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index cd4ef77f..b036688a 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -29,7 +29,7 @@ jobs: # Build job build: runs-on: ubuntu-latest - timeout-minutes: 8 + timeout-minutes: 5 steps: - name: Checkout uses: actions/checkout@v4 @@ -51,11 +51,11 @@ jobs: - name: Install dependencies run: pnpm install - timeout-minutes: 3 + timeout-minutes: 2 - name: Build with VitePress run: pnpm run docs:build - timeout-minutes: 4 + timeout-minutes: 2 - name: Upload artifact uses: actions/upload-pages-artifact@v3 @@ -69,7 +69,7 @@ jobs: url: ${{ steps.deployment.outputs.page_url }} needs: build runs-on: ubuntu-latest - timeout-minutes: 3 + timeout-minutes: 2 name: Deploy steps: - name: Deploy to GitHub Pages diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index d581832b..8f2c2868 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -11,7 +11,7 @@ permissions: jobs: labeler: runs-on: ubuntu-latest - timeout-minutes: 5 + timeout-minutes: 3 steps: - name: Checkout Repository uses: actions/checkout@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2ab0cd1a..7de09c48 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: release: name: Release runs-on: ubuntu-latest - timeout-minutes: 15 + timeout-minutes: 10 steps: - name: Checkout Repo uses: actions/checkout@v3 @@ -48,12 +48,12 @@ jobs: - name: Install Dependencies run: pnpm install - timeout-minutes: 3 + timeout-minutes: 2 - name: Create Release Pull Request or Publish to npm id: changesets uses: changesets/action@v1 - timeout-minutes: 8 + timeout-minutes: 5 with: # This executes the release script defined in package.json publish: pnpm release diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 076d4750..ad5102c4 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -13,7 +13,7 @@ permissions: jobs: stale: runs-on: ubuntu-latest - timeout-minutes: 5 + timeout-minutes: 3 steps: - name: Mark/Close Stale Issues and PRs uses: actions/stale@v9 diff --git a/.github/workflows/typecheck.yml b/.github/workflows/typecheck.yml index d72814de..a71a2675 100644 --- a/.github/workflows/typecheck.yml +++ b/.github/workflows/typecheck.yml @@ -10,7 +10,7 @@ jobs: typecheck: name: TypeScript Type Check runs-on: ubuntu-latest - timeout-minutes: 5 + timeout-minutes: 3 steps: - uses: actions/checkout@v4 @@ -27,10 +27,10 @@ jobs: - name: Install dependencies run: pnpm install --frozen-lockfile - timeout-minutes: 3 + timeout-minutes: 2 - name: Run TypeScript type check run: | echo "Running TypeScript compiler in build mode for type checking..." pnpm tsc -b - timeout-minutes: 3 + timeout-minutes: 2 diff --git a/.github/workflows/validate-metadata.yml b/.github/workflows/validate-metadata.yml index 4f0ffa82..0c519dfc 100644 --- a/.github/workflows/validate-metadata.yml +++ b/.github/workflows/validate-metadata.yml @@ -26,7 +26,7 @@ jobs: validate: name: Validate YAML Metadata runs-on: ubuntu-latest - timeout-minutes: 5 + timeout-minutes: 3 steps: - uses: actions/checkout@v4 @@ -43,10 +43,10 @@ jobs: - name: Install dependencies run: pnpm install --frozen-lockfile - timeout-minutes: 3 + timeout-minutes: 2 - name: Validate YAML syntax run: | echo "Checking YAML syntax for metadata files..." pnpm exec node scripts/validate-yaml.js - timeout-minutes: 2 + timeout-minutes: 1