Skip to content

Commit 0426ef4

Browse files
author
Zeph Gillen
committed
Merge remote-tracking branch 'upstream/main' into local/merge-upstream-3.55
# Conflicts: # src/api/providers/anthropic.ts # src/api/transform/reasoning.ts
2 parents dd675fd + 9d022d4 commit 0426ef4

534 files changed

Lines changed: 6507 additions & 45733 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.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"zoo-code": patch
3+
---
4+
5+
Terminate the running command when a task is cancelled or torn down (#245). Pressing cancel (✕) now aborts the underlying terminal process instead of leaving it running while the terminal stays stuck "busy" until a manual kill.

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ body:
6464
attributes:
6565
value: |
6666
---
67-
Optional (for contributors): You can stop here if you're just proposing the improvement.
67+
Optional: You can stop here if you're just proposing the improvement.
6868
6969
- type: textarea
7070
id: acceptance-criteria

.github/workflows/code-qa.yml

Lines changed: 48 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
branches: [main]
77
pull_request:
88
types: [opened, reopened, ready_for_review, synchronize]
9+
merge_group:
10+
types: [checks_requested]
911

1012
jobs:
1113
check-translations:
@@ -49,33 +51,73 @@ jobs:
4951
- os: ubuntu-latest
5052
name: ubuntu-latest
5153
codecov-flag: ubuntu
54+
upload-coverage: true
5255
- os: windows-latest
5356
name: windows-latest
5457
codecov-flag: windows
58+
upload-coverage: false
5559
steps:
5660
- name: Checkout code
5761
uses: actions/checkout@v4
5862
- name: Setup Node.js and pnpm
5963
uses: ./.github/actions/setup-node-pnpm
60-
- name: Cache Turbo
61-
uses: actions/cache@v4
64+
- name: Restore Turbo cache
65+
id: turbo-cache
66+
uses: actions/cache/restore@v4
6267
with:
6368
path: .turbo/cache
6469
key: ${{ runner.os }}-turbo-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ github.sha }}
6570
restore-keys: |
6671
${{ runner.os }}-turbo-${{ hashFiles('**/pnpm-lock.yaml') }}-
6772
${{ runner.os }}-turbo-
68-
- name: Run unit tests with coverage
69-
run: pnpm test:coverage
70-
- name: Upload coverage to Codecov
73+
- name: Run non-core coverage
74+
run: pnpm turbo run test:coverage --filter="!@roo-code/core" --log-order grouped --output-logs new-only
75+
- name: Run core unit coverage
76+
run: pnpm turbo run test:coverage:unit --filter="@roo-code/core" --log-order grouped --output-logs new-only
77+
- name: Run core integration coverage
78+
run: pnpm turbo run test:coverage:integration --filter="@roo-code/core" --log-order grouped --output-logs new-only
79+
- name: Save Turbo cache
80+
if: steps.turbo-cache.outputs.cache-hit != 'true'
81+
uses: actions/cache/save@v4
82+
with:
83+
path: .turbo/cache
84+
key: ${{ steps.turbo-cache.outputs.cache-primary-key }}
85+
# Only ubuntu uploads coverage. Windows still runs the same test
86+
# lanes for behavioral confidence, but duplicating coverage uploads
87+
# there mostly adds Codecov overhead without changing pass/fail
88+
# behavior.
89+
# Coverage is uploaded in three separate steps so each LCOV gets the
90+
# correct flag set. Codecov double-counts overlapping lines when a
91+
# single upload carries multiple flags whose paths overlap, so the
92+
# two core lanes (which both cover packages/core/src/**) must be
93+
# uploaded individually with their own lane flag.
94+
# See https://docs.codecov.com/docs/flags
95+
- name: Upload non-core coverage to Codecov
96+
if: matrix.upload-coverage
7197
uses: codecov/codecov-action@v4
7298
with:
7399
files: >-
74100
src/coverage/lcov.info,
75101
webview-ui/coverage/lcov.info,
76-
packages/core/coverage/lcov.info,
77102
packages/cloud/coverage/lcov.info,
78103
packages/telemetry/coverage/lcov.info,
79104
apps/cli/coverage/lcov.info
105+
disable_search: true
80106
flags: ${{ matrix.codecov-flag }}
81107
token: ${{ secrets.CODECOV_TOKEN }}
108+
- name: Upload core unit coverage to Codecov
109+
if: matrix.upload-coverage
110+
uses: codecov/codecov-action@v4
111+
with:
112+
files: packages/core/coverage/unit/lcov.info
113+
disable_search: true
114+
flags: ${{ matrix.codecov-flag }},core-unit
115+
token: ${{ secrets.CODECOV_TOKEN }}
116+
- name: Upload core integration coverage to Codecov
117+
if: matrix.upload-coverage
118+
uses: codecov/codecov-action@v4
119+
with:
120+
files: packages/core/coverage/integration/lcov.info
121+
disable_search: true
122+
flags: ${{ matrix.codecov-flag }},core-integration
123+
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/e2e.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ on:
1313
- "pnpm-lock.yaml"
1414
- "turbo.json"
1515
- ".github/actions/setup-node-pnpm/**"
16+
merge_group:
17+
types: [checks_requested]
1618

1719
jobs:
1820
e2e-mock:

.github/workflows/evals.yml

Lines changed: 0 additions & 74 deletions
This file was deleted.

.github/workflows/update-contributors.yml

Lines changed: 0 additions & 67 deletions
This file was deleted.

.github/workflows/website-deploy.yml

Lines changed: 0 additions & 59 deletions
This file was deleted.

0 commit comments

Comments
 (0)