Skip to content

Commit ba5f4bf

Browse files
author
brettheap
committed
Merge remote-tracking branch 'upstream/dev' into dev
2 parents 54e0c9f + 00fa68b commit ba5f4bf

File tree

1,255 files changed

+153765
-71601
lines changed

Some content is hidden

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

1,255 files changed

+153765
-71601
lines changed

.github/VOUCHED.td

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,22 @@
1010
adamdotdevin
1111
-agusbasari29 AI PR slop
1212
ariane-emory
13+
-atharvau AI review spamming literally every PR
14+
-borealbytes
15+
-danieljoshuanazareth
16+
-danieljoshuanazareth
1317
edemaine
1418
-florianleibert
1519
fwang
1620
iamdavidhill
1721
jayair
1822
kitlangton
1923
kommander
24+
-opencode2026
25+
-opencodeengineer bot that spams issues
2026
r44vc0rp
2127
rekram1-node
28+
-robinmordasiewicz
2229
-spider-yamet clawdbot/llm psychosis, spam pinging the team
2330
thdxr
31+
-toastythebot

.github/actions/setup-bun/action.yml

Lines changed: 26 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,6 @@ description: "Setup Bun with caching and install dependencies"
33
runs:
44
using: "composite"
55
steps:
6-
- name: Cache Bun dependencies
7-
uses: actions/cache@v4
8-
with:
9-
path: ~/.bun/install/cache
10-
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
11-
restore-keys: |
12-
${{ runner.os }}-bun-
13-
146
- name: Get baseline download URL
157
id: bun-url
168
shell: bash
@@ -31,6 +23,31 @@ runs:
3123
bun-version-file: ${{ !steps.bun-url.outputs.url && 'package.json' || '' }}
3224
bun-download-url: ${{ steps.bun-url.outputs.url }}
3325

26+
- name: Get cache directory
27+
id: cache
28+
shell: bash
29+
run: echo "dir=$(bun pm cache)" >> "$GITHUB_OUTPUT"
30+
31+
- name: Cache Bun dependencies
32+
uses: actions/cache@v4
33+
with:
34+
path: ${{ steps.cache.outputs.dir }}
35+
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
36+
restore-keys: |
37+
${{ runner.os }}-bun-
38+
39+
- name: Install setuptools for distutils compatibility
40+
run: python3 -m pip install setuptools || pip install setuptools || true
41+
shell: bash
42+
3443
- name: Install dependencies
35-
run: bun install
44+
run: |
45+
# Workaround for patched peer variants
46+
# e.g. ./patches/ for standard-openapi
47+
# https://github.com/oven-sh/bun/issues/28147
48+
if [ "$RUNNER_OS" = "Windows" ]; then
49+
bun install --linker hoisted
50+
else
51+
bun install
52+
fi
3653
shell: bash

.github/workflows/close-issues.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: close-issues
2+
3+
on:
4+
schedule:
5+
- cron: "0 2 * * *" # Daily at 2:00 AM
6+
workflow_dispatch:
7+
8+
jobs:
9+
close:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: read
13+
issues: write
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- uses: oven-sh/setup-bun@v2
18+
with:
19+
bun-version: latest
20+
21+
- name: Close stale issues
22+
env:
23+
GITHUB_TOKEN: ${{ github.token }}
24+
run: bun script/github/close-issues.ts

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}
1111

1212
jobs:
1313
deploy:
14-
runs-on: blacksmith-4vcpu-ubuntu-2404
14+
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v3
1717

.github/workflows/docs-locale-sync.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ on:
99

1010
jobs:
1111
sync-locales:
12-
if: github.actor != 'opencode-agent[bot]'
12+
if: false
13+
#if: github.actor != 'opencode-agent[bot]'
1314
runs-on: blacksmith-4vcpu-ubuntu-2404
1415
permissions:
1516
contents: write
@@ -34,7 +35,7 @@ jobs:
3435
- name: Compute changed English docs
3536
id: changes
3637
run: |
37-
FILES=$(git diff --name-only "${{ github.event.before }}" "${{ github.sha }}" -- 'packages/web/src/content/docs/*.mdx' || true)
38+
FILES=$(git diff --name-only "${{ github.event.before }}" "${{ github.sha }}" -- ':(glob)packages/web/src/content/docs/*.mdx' || true)
3839
if [ -z "$FILES" ]; then
3940
echo "has_changes=false" >> "$GITHUB_OUTPUT"
4041
echo "No English docs changed in push range"

.github/workflows/nix-hashes.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ on:
1717
- "patches/**"
1818
- ".github/workflows/nix-hashes.yml"
1919

20+
concurrency:
21+
group: ${{ github.workflow }}-${{ github.ref }}
22+
cancel-in-progress: true
23+
2024
jobs:
2125
# Native runners required: bun install cross-compilation flags (--os/--cpu)
2226
# do not produce byte-identical node_modules as native installs.
@@ -56,7 +60,7 @@ jobs:
5660
nix build ".#packages.${SYSTEM}.node_modules_updater" --no-link 2>&1 | tee "$BUILD_LOG" || true
5761
5862
# Extract hash from build log with portability
59-
HASH="$(grep -oE 'sha256-[A-Za-z0-9+/=]+' "$BUILD_LOG" | tail -n1 || true)"
63+
HASH="$(nix run --inputs-from . nixpkgs#gnugrep -- -oP 'got:\s*\Ksha256-[A-Za-z0-9+/=]+' "$BUILD_LOG" | tail -n1 || true)"
6064
6165
if [ -z "$HASH" ]; then
6266
echo "::error::Failed to compute hash for ${SYSTEM}"

0 commit comments

Comments
 (0)