Skip to content

Commit 642ded3

Browse files
committed
fix(ci): route changed checks through Crabbox policy
1 parent c2e5b3a commit 642ded3

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

‎scripts/check-changed.mjs‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,8 @@ export function buildChangedCheckCrabboxArgs(argv = [], options = {}) {
222222
return [
223223
"scripts/crabbox-wrapper.mjs",
224224
"run",
225-
"--provider",
226-
"blacksmith-testbox",
225+
"--workload",
226+
"ci-fast",
227227
"--blacksmith-org",
228228
"openclaw",
229229
"--blacksmith-workflow",
@@ -392,7 +392,7 @@ export function delegationFailedBeforeRunning(output) {
392392
}
393393

394394
async function runChangedCheckViaCrabbox(argv = [], env = process.env) {
395-
console.error("[check:changed] delegating to Blacksmith Testbox via the Node wrapper.");
395+
console.error("[check:changed] delegating through Crabbox workload routing.");
396396
let tail = "";
397397
const exitCode = await runManagedCommand({
398398
bin: "node",

‎test/scripts/changed-lanes.test.ts‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ describe("scripts/changed-lanes", () => {
300300
});
301301

302302
expect(result.status).toBe(0);
303-
expect(result.stderr).toContain("delegating to Blacksmith Testbox");
303+
expect(result.stderr).toContain("delegating through Crabbox workload routing");
304304
expect(result.stderr).not.toContain("ambiguous argument");
305305
});
306306

@@ -334,7 +334,7 @@ describe("scripts/changed-lanes", () => {
334334
);
335335

336336
expect(result.status).toBe(0);
337-
expect(result.stderr).toContain("delegating to Blacksmith Testbox");
337+
expect(result.stderr).toContain("delegating through Crabbox workload routing");
338338
});
339339

340340
it.each([
@@ -1140,8 +1140,8 @@ describe("scripts/changed-lanes", () => {
11401140
expect(buildChangedCheckCrabboxArgs(["--base", "origin/main", "--head", "HEAD"])).toEqual([
11411141
"scripts/crabbox-wrapper.mjs",
11421142
"run",
1143-
"--provider",
1144-
"blacksmith-testbox",
1143+
"--workload",
1144+
"ci-fast",
11451145
"--blacksmith-org",
11461146
"openclaw",
11471147
"--blacksmith-workflow",

0 commit comments

Comments
 (0)