From 39761753314e678062b2cc2ad8eca49e542fb126 Mon Sep 17 00:00:00 2001 From: Gergo Magyar Date: Tue, 9 Jun 2026 12:57:39 +0000 Subject: [PATCH] chore(ci): drop package-lock.json from the prebuild paths filter; widen build timeout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `gitnexus/package-lock.json` changes on nearly every dependency PR, so it fired the prebuild workflow's guard job on unrelated churn (the matrix stayed correctly skipped — `gitnexus/package.json` already covers the transition-window pin, so removing the lock only drops guard noise). Also bump the native build job timeout 30 -> 45 min for headroom compiling the 23 MB kotlin / 18 MB swift parser.c, especially under arm emulation. --- .github/workflows/build-tree-sitter-prebuilds.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-tree-sitter-prebuilds.yml b/.github/workflows/build-tree-sitter-prebuilds.yml index 1269b0c4f..c84ef027b 100644 --- a/.github/workflows/build-tree-sitter-prebuilds.yml +++ b/.github/workflows/build-tree-sitter-prebuilds.yml @@ -76,7 +76,6 @@ on: - 'gitnexus/vendor/tree-sitter-swift/package.json' # Transition window: kotlin's pin still lives here until it is vendored. - 'gitnexus/package.json' - - 'gitnexus/package-lock.json' # Self-test: re-run the guard (normally a no-op) when the recipe changes. - '.github/workflows/build-tree-sitter-prebuilds.yml' @@ -267,7 +266,9 @@ jobs: fail-fast: false matrix: ${{ fromJSON(needs.guard.outputs.matrix) }} runs-on: ${{ matrix.os }} - timeout-minutes: 30 + # 45 (not 30) for headroom: the kotlin parser.c is ~23 MB and swift's ~18 MB, + # and compiling them under emulation on the arm runners is slow. + timeout-minutes: 45 steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: