Skip to content

Commit 8b87b7f

Browse files
committed
fix(workflows): drop retained model dispatch arguments alongside the deleted inputs
1 parent f299478 commit 8b87b7f

2 files changed

Lines changed: 17 additions & 2 deletions

File tree

‎.github/workflows/sweep.yml‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4776,8 +4776,7 @@ jobs:
47764776
-f candidate_kind=viable \
47774777
-f report_repo=openclaw/clawsweeper-state \
47784778
-f report_path="$report_path" \
4779-
-f report_url="$report_url" \
4780-
-f model=internal
4779+
-f report_url="$report_url"
47814780
done < /tmp/viable-implementation-candidates.tsv
47824781
47834782
- name: Dispatch background review comment sync

‎test/sweep-workflow.test.ts‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,22 @@ test("automatic OpenClaw bug dispatch uses one gate across direct and deferred p
103103
}
104104
});
105105

106+
test("issue implementation dispatches omit the deleted model input", () => {
107+
const workflow = YAML.parse(readText(".github/workflows/sweep.yml")) as {
108+
jobs: Record<string, { steps?: Array<{ name?: string; run?: string }> }>;
109+
};
110+
const dispatches = Object.entries(workflow.jobs).flatMap(([jobName, job]) =>
111+
(job.steps ?? [])
112+
.filter((step) => step.run?.includes("repair-issue-implementation-intake.yml"))
113+
.map((step) => ({ jobName, step })),
114+
);
115+
116+
assert.ok(dispatches.length > 0);
117+
for (const { jobName, step } of dispatches) {
118+
assert.doesNotMatch(step.run ?? "", /-f\s+model=/, `${jobName}: ${step.name}`);
119+
}
120+
});
121+
106122
test("automatic bug backfill runs independently of queue-fed scheduled sweeps", () => {
107123
const workflow = YAML.parse(
108124
readText(".github/workflows/repair-issue-implementation-backfill.yml"),

0 commit comments

Comments
 (0)