Skip to content

Commit 2cf6751

Browse files
committed
ci(diff): run the diff suite on Claude Code 2.1.284 and 2.1.286
Each push is now tested on two clients: 2.1.284, which the F1-F3 runs used, and 2.1.286, the latest release. fail-fast is off, so one client's failure still reports the other's result. The install step stops unless the claude on PATH is the matrix's version. Co-authored with a harness running Claude and Codex teams. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: 16cb7844-98c6-4af7-b67a-3e9d16705e7f
1 parent efc8e64 commit 2cf6751

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

‎.github/workflows/diff-race-ci.yml‎

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,29 @@ jobs:
1818
diff-regression:
1919
name: Diff tests and mod typecheck
2020
runs-on: ubuntu-latest
21+
strategy:
22+
fail-fast: false
23+
matrix:
24+
claude-code: ["2.1.284", "2.1.286"]
2125
steps:
2226
- name: Checkout repository
2327
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2428
with:
2529
persist-credentials: false
2630

2731
- name: Install pinned Claude Code and TypeScript
32+
shell: bash
2833
run: |
29-
npm install -g @anthropic-ai/[email protected] [email protected]
30-
claude --version
34+
npm install -g "@anthropic-ai/claude-code@${CLAUDE_CODE_VERSION}" [email protected]
35+
installed=$(claude --version)
36+
echo "$installed"
37+
if [[ "$installed" != "$CLAUDE_CODE_VERSION "* ]]; then
38+
echo "Expected Claude Code $CLAUDE_CODE_VERSION on PATH; refusing to test another version" >&2
39+
exit 1
40+
fi
3141
tsc --version
42+
env:
43+
CLAUDE_CODE_VERSION: ${{ matrix.claude-code }}
3244

3345
- name: Typecheck every mod's hooks and tests
3446
run: tsc -p mods/tsconfig.json

0 commit comments

Comments
 (0)