Skip to content

Commit 45ceb80

Browse files
committed
Merge origin/main into chore/codeql-action-v4.39.0
Conflict in .github/workflows/scorecard.yml resolved to the main version: main already pins upload-sarif to 9b3254085494b55a0f7c4c2b3d2d52cc712ce370 (v4.39.1, DeusData#2779), which supersedes this branch's v4.39.0 pin. Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
2 parents 9bf66dd + 6c0ce23 commit 45ceb80

253 files changed

Lines changed: 34593 additions & 7018 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.claude-plugin/marketplace.json‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "codebase-memory",
3+
"description": "The codebase-memory-mcp code knowledge graph server, as a Claude Code plugin.",
4+
"owner": {
5+
"name": "DeusData",
6+
"url": "https://github.com/DeusData"
7+
},
8+
"plugins": [
9+
{
10+
"name": "codebase-memory",
11+
"source": "./plugin",
12+
"description": "Codebase knowledge graph for AI agents: sub-ms queries, 99% fewer tokens."
13+
}
14+
]
15+
}

‎.github/workflows/_build.yml‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ jobs:
4141
goarch: arm64
4242
cc: gcc
4343
cxx: g++
44-
- os: macos-14
44+
# The macOS minimum (14.0) is pinned in Makefile.cbm, not inherited
45+
# from this runner's SDK, so both darwin binaries still start on macOS 14.
46+
- os: macos-15
4547
goos: darwin
4648
goarch: arm64
4749
cc: cc
@@ -64,7 +66,8 @@ jobs:
6466

6567
- name: Install deps (Ubuntu)
6668
if: startsWith(matrix.os, 'ubuntu')
67-
run: sudo apt-get update && sudo apt-get install -y zlib1g-dev
69+
timeout-minutes: 10
70+
run: APT_RETRIES=3; [ -f /etc/apt/apt-mirrors.txt ] && APT_RETRIES=0; sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 --error-on=any update && sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 install -y zlib1g-dev
6871

6972
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
7073
with:
@@ -248,7 +251,8 @@ jobs:
248251
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
249252

250253
- name: Install deps
251-
run: sudo apt-get update && sudo apt-get install -y zlib1g-dev
254+
timeout-minutes: 10
255+
run: APT_RETRIES=3; [ -f /etc/apt/apt-mirrors.txt ] && APT_RETRIES=0; sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 --error-on=any update && sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 install -y zlib1g-dev
252256

253257
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
254258
with:

‎.github/workflows/_lint.yml‎

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,16 @@ jobs:
3737
run: bash scripts/check-no-test-skips.sh
3838

3939
- name: Install build deps
40-
run: sudo apt-get update && sudo apt-get install -y zlib1g-dev cmake
40+
timeout-minutes: 10
41+
run: APT_RETRIES=3; [ -f /etc/apt/apt-mirrors.txt ] && APT_RETRIES=0; sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 --error-on=any update && sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 install -y zlib1g-dev cmake
4142

4243
- name: Install LLVM 20
44+
timeout-minutes: 10
4345
run: |
4446
wget -qO- https://apt.llvm.org/llvm-snapshot.gpg.key | sudo tee /etc/apt/trusted.gpg.d/apt.llvm.org.asc
4547
echo "deb http://apt.llvm.org/noble/ llvm-toolchain-noble-20 main" | sudo tee /etc/apt/sources.list.d/llvm-20.list
46-
sudo apt-get update
47-
sudo apt-get install -y clang-format-20
48+
APT_RETRIES=3; [ -f /etc/apt/apt-mirrors.txt ] && APT_RETRIES=0; sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 --error-on=any update
49+
sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 install -y clang-format-20
4850
4951
- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
5052
id: cppcheck-cache
@@ -81,14 +83,16 @@ jobs:
8183
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
8284

8385
- name: Install build deps
84-
run: sudo apt-get update && sudo apt-get install -y zlib1g-dev
86+
timeout-minutes: 10
87+
run: APT_RETRIES=3; [ -f /etc/apt/apt-mirrors.txt ] && APT_RETRIES=0; sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 --error-on=any update && sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 install -y zlib1g-dev
8588

8689
- name: Install LLVM 21 (pinned analyzer toolchain)
90+
timeout-minutes: 10
8791
run: |
8892
wget -qO- https://apt.llvm.org/llvm-snapshot.gpg.key | sudo tee /etc/apt/trusted.gpg.d/apt.llvm.org.asc
8993
echo "deb http://apt.llvm.org/noble/ llvm-toolchain-noble-21 main" | sudo tee /etc/apt/sources.list.d/llvm-21.list
90-
sudo apt-get update
91-
sudo apt-get install -y clang-tidy-21
94+
APT_RETRIES=3; [ -f /etc/apt/apt-mirrors.txt ] && APT_RETRIES=0; sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 --error-on=any update
95+
sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 install -y clang-tidy-21
9296
9397
- name: Memory-analyzer gate
9498
run: scripts/ci/lint-mem.sh clang-tidy-21

‎.github/workflows/_memwaste.yml‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ jobs:
3737
steps:
3838
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3939
- name: Install deps
40-
run: sudo apt-get update && sudo apt-get install -y zlib1g-dev python3 clang llvm
40+
timeout-minutes: 10
41+
run: APT_RETRIES=3; [ -f /etc/apt/apt-mirrors.txt ] && APT_RETRIES=0; sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 --error-on=any update && sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 install -y zlib1g-dev python3 clang llvm
4142
- name: Event lane on this repository
4243
run: |
4344
# `cmd | tee` reports TEE's status: without this a failing lane
@@ -66,7 +67,8 @@ jobs:
6667
steps:
6768
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
6869
- name: Install deps
69-
run: sudo apt-get update && sudo apt-get install -y zlib1g-dev python3 clang llvm
70+
timeout-minutes: 10
71+
run: APT_RETRIES=3; [ -f /etc/apt/apt-mirrors.txt ] && APT_RETRIES=0; sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 --error-on=any update && sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 install -y zlib1g-dev python3 clang llvm
7072
- name: CPU scaling lane (src/ at 2x against 4x)
7173
# Report-only: the script exits 1 when it flags a super-linear function.
7274
continue-on-error: true
@@ -93,7 +95,8 @@ jobs:
9395
steps:
9496
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
9597
- name: Install deps
96-
run: sudo apt-get update && sudo apt-get install -y zlib1g-dev python3 clang llvm
98+
timeout-minutes: 10
99+
run: APT_RETRIES=3; [ -f /etc/apt/apt-mirrors.txt ] && APT_RETRIES=0; sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 --error-on=any update && sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 install -y zlib1g-dev python3 clang llvm
97100
- name: Access lane on this repository
98101
run: |
99102
# `cmd | tee` reports TEE's status: without this a failing lane
@@ -115,7 +118,7 @@ jobs:
115118

116119
event-macos:
117120
if: ${{ inputs.mode == 'full' }}
118-
runs-on: macos-14
121+
runs-on: macos-15
119122
timeout-minutes: 60
120123
steps:
121124
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

‎.github/workflows/_smoke.yml‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
CORE_UNIX='[
3434
{"os":"ubuntu-latest","goos":"linux","goarch":"amd64"},
3535
{"os":"ubuntu-24.04-arm","goos":"linux","goarch":"arm64"},
36-
{"os":"macos-14","goos":"darwin","goarch":"arm64"},
36+
{"os":"macos-15","goos":"darwin","goarch":"arm64"},
3737
{"os":"macos-15-intel","goos":"darwin","goarch":"amd64"}
3838
]'
3939
# Broad legs reuse existing goos/goarch artifacts on additional OS
@@ -47,9 +47,10 @@ jobs:
4747
# (ubuntu-22.04 / 22.04-arm). So the dynamic broad legs stay on
4848
# forward-compatible OSes only (macOS); running the dynamic binary on
4949
# ubuntu-22.04 would fail Phase 1 (glibc too old), not a real regression.
50-
BROAD_UNIX='[
51-
{"os":"macos-15","goos":"darwin","goarch":"arm64"}
52-
]'
50+
# Empty since the move off macos-14 (retired 2026-11-02): the darwin-arm64
51+
# artifact is now built AND smoked on macos-15, the core leg, which was
52+
# this broad leg.
53+
BROAD_UNIX='[]'
5354
CORE_WIN='[{"os":"windows-latest","arch":"amd64"}]'
5455
# windows-11-arm now runs the NATIVE arm64 binary (build-windows-arm64),
5556
# not the x86_64 binary under emulation — we smoke the artifact we ship.
@@ -143,8 +144,9 @@ jobs:
143144
144145
- name: ClamAV scan (Linux)
145146
if: startsWith(matrix.os, 'ubuntu')
147+
timeout-minutes: 10
146148
run: |
147-
sudo apt-get update -qq && sudo apt-get install -y -qq clamav > /dev/null 2>&1
149+
APT_RETRIES=3; [ -f /etc/apt/apt-mirrors.txt ] && APT_RETRIES=0; sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 --error-on=any update -qq && sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 install -y -qq clamav > /dev/null 2>&1
148150
# apt auto-starts the clamav-freshclam daemon, which holds a lock on
149151
# freshclam's log/db; stop it so the manual freshclam below can run
150152
# (else: "Failed to lock the log file ... Resource temporarily unavailable").

‎.github/workflows/_soak.yml‎

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
goarch: arm64
4545
cc: gcc
4646
cxx: g++
47-
- os: macos-14
47+
- os: macos-15
4848
goos: darwin
4949
goarch: arm64
5050
cc: cc
@@ -66,7 +66,8 @@ jobs:
6666
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
6767
- name: Install deps (Linux)
6868
if: startsWith(matrix.os, 'ubuntu')
69-
run: sudo apt-get update && sudo apt-get install -y zlib1g-dev python3 git
69+
timeout-minutes: 10
70+
run: APT_RETRIES=3; [ -f /etc/apt/apt-mirrors.txt ] && APT_RETRIES=0; sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 --error-on=any update && sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 install -y zlib1g-dev python3 git
7071
- name: Build
7172
if: ${{ !inputs.use_release_artifacts }}
7273
run: scripts/build.sh ${{ inputs.version && format('--version {0}', inputs.version) || '' }} CC=${{ matrix.cc }} CXX=${{ matrix.cxx }}
@@ -283,7 +284,8 @@ jobs:
283284
steps:
284285
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
285286
- name: Install soak dependencies
286-
run: sudo apt-get update && sudo apt-get install -y python3 git
287+
timeout-minutes: 10
288+
run: APT_RETRIES=3; [ -f /etc/apt/apt-mirrors.txt ] && APT_RETRIES=0; sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 --error-on=any update && sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 install -y python3 git
287289
- name: Download selected portable release container
288290
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
289291
with:
@@ -335,7 +337,7 @@ jobs:
335337
goarch: arm64
336338
cc: gcc
337339
cxx: g++
338-
- os: macos-14
340+
- os: macos-15
339341
goos: darwin
340342
goarch: arm64
341343
cc: cc
@@ -356,7 +358,8 @@ jobs:
356358
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
357359
- name: Install deps (Linux)
358360
if: startsWith(matrix.os, 'ubuntu')
359-
run: sudo apt-get update && sudo apt-get install -y zlib1g-dev python3 git
361+
timeout-minutes: 10
362+
run: APT_RETRIES=3; [ -f /etc/apt/apt-mirrors.txt ] && APT_RETRIES=0; sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 --error-on=any update && sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 install -y zlib1g-dev python3 git
360363
- name: Build (ASan)
361364
run: |
362365
SANITIZE="-fsanitize=address,undefined -fno-omit-frame-pointer"

‎.github/workflows/_test.yml‎

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -57,18 +57,21 @@ jobs:
5757
run: |
5858
# Every CORE leg is tagged with the lane (scripts/ci/select-lanes.sh)
5959
# it serves; the tag is what lane selection filters on below.
60+
# The lane names unix-macos14 and tsan-mac are kept as lane keys
61+
# (select-lanes.sh, ci-ok and the lane contracts key on them); both
62+
# run on macos-15 because GitHub retires the macos-14 image on 2026-11-02.
6063
CORE_UNIX='[
6164
{"os":"ubuntu-latest","cc":"gcc","cxx":"g++","lane":"unix-x86"},
6265
{"os":"ubuntu-24.04-arm","cc":"gcc","cxx":"g++","lane":"unix-arm64"},
63-
{"os":"macos-14","cc":"cc","cxx":"c++","lane":"unix-macos14"},
66+
{"os":"macos-15","cc":"cc","cxx":"c++","lane":"unix-macos14"},
6467
{"os":"macos-15-intel","cc":"cc","cxx":"c++","lane":"unix-macos-intel"}
6568
]'
6669
# Broad matrix legs are REQUIRED gates (no optional/continue-on-error
6770
# escape hatches): the release dry run must be all-green, every platform.
71+
# macos-15 is the CORE macOS arm64 leg now, so it is not repeated here.
6872
BROAD_UNIX='[
6973
{"os":"ubuntu-22.04","cc":"gcc","cxx":"g++"},
70-
{"os":"ubuntu-22.04-arm","cc":"gcc","cxx":"g++"},
71-
{"os":"macos-15","cc":"cc","cxx":"c++"}
74+
{"os":"ubuntu-22.04-arm","cc":"gcc","cxx":"g++"}
7275
]'
7376
# Each Windows leg pins the msys2 environment + package arch to the
7477
# RUNNER architecture so the build is native, never emulated:
@@ -92,7 +95,7 @@ jobs:
9295
TSAN='[
9396
{"os":"ubuntu-latest","cc":"clang","cxx":"clang++","lane":"tsan-x86"},
9497
{"os":"ubuntu-24.04-arm","cc":"clang","cxx":"clang++","lane":"tsan-arm"},
95-
{"os":"macos-14","cc":"cc","cxx":"c++","lane":"tsan-mac"}
98+
{"os":"macos-15","cc":"cc","cxx":"c++","lane":"tsan-mac"}
9699
]'
97100
# Lane selection. "all" (dry run, release) keeps every leg and drops
98101
# the tags, so those matrices -- and their job names -- stay exactly
@@ -166,7 +169,8 @@ jobs:
166169

167170
- name: Install deps (Ubuntu)
168171
if: startsWith(matrix.os, 'ubuntu')
169-
run: sudo apt-get update && sudo apt-get install -y zlib1g-dev ccache
172+
timeout-minutes: 10
173+
run: APT_RETRIES=3; [ -f /etc/apt/apt-mirrors.txt ] && APT_RETRIES=0; sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 --error-on=any update && sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 install -y zlib1g-dev ccache
170174

171175
# Ubuntu 23.10+ ships kernel.apparmor_restrict_unprivileged_userns=1, which
172176
# blocks unshare(CLONE_NEWUSER) for unprivileged users. Without this, the
@@ -367,14 +371,16 @@ jobs:
367371
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
368372

369373
- name: Install deps
370-
run: sudo apt-get update && sudo apt-get install -y zlib1g-dev ccache
374+
timeout-minutes: 10
375+
run: APT_RETRIES=3; [ -f /etc/apt/apt-mirrors.txt ] && APT_RETRIES=0; sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 --error-on=any update && sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 install -y zlib1g-dev ccache
371376

372377
- name: Install LLVM 21 (pinned diagnostic toolchain)
378+
timeout-minutes: 10
373379
run: |
374380
wget -qO- https://apt.llvm.org/llvm-snapshot.gpg.key | sudo tee /etc/apt/trusted.gpg.d/apt.llvm.org.asc
375381
echo "deb http://apt.llvm.org/noble/ llvm-toolchain-noble-21 main" | sudo tee /etc/apt/sources.list.d/llvm-21.list
376-
sudo apt-get update
377-
sudo apt-get install -y clang-21
382+
APT_RETRIES=3; [ -f /etc/apt/apt-mirrors.txt ] && APT_RETRIES=0; sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 --error-on=any update
383+
sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 install -y clang-21
378384
379385
- name: Compiler cache (content-verified, restore)
380386
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
@@ -525,7 +531,8 @@ jobs:
525531

526532
- name: Install deps (Ubuntu)
527533
if: runner.os == 'Linux'
528-
run: sudo apt-get update && sudo apt-get install -y clang zlib1g-dev ccache
534+
timeout-minutes: 10
535+
run: APT_RETRIES=3; [ -f /etc/apt/apt-mirrors.txt ] && APT_RETRIES=0; sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 --error-on=any update && sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 install -y clang zlib1g-dev ccache
529536

530537
- name: Install deps (macOS)
531538
if: runner.os == 'macOS'

‎.github/workflows/bug-repro.yml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
group: linux
4141
cc: gcc
4242
cxx: g++
43-
- os: macos-14
43+
- os: macos-15
4444
group: macos
4545
cc: cc
4646
cxx: c++
@@ -55,7 +55,8 @@ jobs:
5555

5656
- name: Install deps (Ubuntu)
5757
if: startsWith(matrix.os, 'ubuntu')
58-
run: sudo apt-get update && sudo apt-get install -y zlib1g-dev
58+
timeout-minutes: 10
59+
run: APT_RETRIES=3; [ -f /etc/apt/apt-mirrors.txt ] && APT_RETRIES=0; sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 --error-on=any update && sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 install -y zlib1g-dev
5960

6061
- name: Run bug-reproduction board
6162
if: ${{ github.event_name == 'push' || inputs.platforms == 'all' || inputs.platforms == matrix.group }}

‎.github/workflows/cache-warm.yml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
include:
2828
- { os: ubuntu-latest, cc: gcc, cxx: g++ }
2929
- { os: ubuntu-24.04-arm, cc: gcc, cxx: g++ }
30-
- { os: macos-14, cc: cc, cxx: c++ }
30+
- { os: macos-15, cc: cc, cxx: c++ }
3131
- { os: macos-15-intel, cc: cc, cxx: c++ }
3232
runs-on: ${{ matrix.os }}
3333
timeout-minutes: 60
@@ -36,7 +36,8 @@ jobs:
3636

3737
- name: Install deps (Ubuntu)
3838
if: startsWith(matrix.os, 'ubuntu')
39-
run: sudo apt-get update && sudo apt-get install -y zlib1g-dev ccache
39+
timeout-minutes: 10
40+
run: APT_RETRIES=3; [ -f /etc/apt/apt-mirrors.txt ] && APT_RETRIES=0; sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 --error-on=any update && sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 install -y zlib1g-dev ccache
4041

4142
- name: Install ccache (macOS)
4243
if: startsWith(matrix.os, 'macos')

‎.github/workflows/codeql.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ jobs:
9595

9696
- name: Install build dependencies
9797
if: ${{ matrix.language == 'c-cpp' }}
98-
run: sudo apt-get update && sudo apt-get install -y zlib1g-dev
98+
timeout-minutes: 10
99+
run: APT_RETRIES=3; [ -f /etc/apt/apt-mirrors.txt ] && APT_RETRIES=0; sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 --error-on=any update && sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 install -y zlib1g-dev
99100

100101
# PR c-cpp: compile the third-party objects (tree-sitter grammars,
101102
# sqlite, mimalloc, lz4, zstd, the tree-sitter runtime: ~1.3 GB of

0 commit comments

Comments
 (0)