Skip to content

Commit 0c85aae

Browse files
authored
fix: include command helper in repair sparse checkouts
Include src/command.ts in repair sparse checkouts so build:repair can compile codex-spawn and repair helpers, and restore the missing readFileSync import exposed by CI.
1 parent 5bdf6f3 commit 0c85aae

5 files changed

Lines changed: 13 additions & 1 deletion

File tree

‎.github/workflows/assist.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ jobs:
7373
sparse-checkout: |
7474
.github/actions/setup-pnpm
7575
config
76+
src/command.ts
7677
src
7778
package.json
7879
pnpm-lock.yaml

‎.github/workflows/repair-comment-router.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ jobs:
9595
schema/clawsweeper-pr-close-coverage-proof.schema.json
9696
scripts/hydrate-state.ts
9797
src/clawsweeper-text.ts
98+
src/command.ts
9899
src/codex-env.ts
99100
src/codex-output-capture.ts
100101
src/codex-spawn.ts

‎.github/workflows/spam-comment-intake.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ jobs:
5656
prompts/pr-close-coverage-proof.md
5757
schema/clawsweeper-pr-close-coverage-proof.schema.json
5858
src/clawsweeper-text.ts
59+
src/command.ts
5960
src/codex-env.ts
6061
src/codex-output-capture.ts
6162
src/codex-process-worker.ts

‎.github/workflows/spam-scanner.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ jobs:
7979
schema/clawsweeper-pr-close-coverage-proof.schema.json
8080
scripts/hydrate-state.ts
8181
src/clawsweeper-text.ts
82+
src/command.ts
8283
src/codex-env.ts
8384
src/codex-output-capture.ts
8485
src/codex-process-worker.ts

‎test/sweep-workflow.test.ts‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
import assert from "node:assert/strict";
2-
import { chmodSync, mkdirSync, mkdtempSync, rmSync, statSync, writeFileSync } from "node:fs";
2+
import {
3+
chmodSync,
4+
mkdirSync,
5+
mkdtempSync,
6+
readFileSync,
7+
rmSync,
8+
statSync,
9+
writeFileSync,
10+
} from "node:fs";
311
import { join } from "node:path";
412
import test from "node:test";
513

0 commit comments

Comments
 (0)