ci(mantis): run telegram proof agent faster · openclaw/openclaw@b2d0464
obviyus
·
2026-05-15
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -149,6 +149,14 @@ describe("Mantis Telegram Desktop proof workflow", () => {
|
149 | 149 | expect(prompt).toContain("do not run\n `pnpm qa:telegram-user:crabbox` directly"); |
150 | 150 | }); |
151 | 151 | |
| 152 | +it("runs the Mantis Codex agent in fast medium-effort mode", () => { |
| 153 | +const agent = workflowStep("Run Codex Mantis Telegram agent"); |
| 154 | + |
| 155 | +expect(agent.uses).toContain("openai/codex-action@"); |
| 156 | +expect(agent.with?.effort).toBe("medium"); |
| 157 | +expect(agent.with?.["codex-args"]).toBe('["-c","service_tier=\\"fast\\""]'); |
| 158 | +}); |
| 159 | + |
152 | 160 | it("derives refs from the PR instead of parsing comment prose", () => { |
153 | 161 | const workflowText = readFileSync(WORKFLOW, "utf8"); |
154 | 162 | expect(workflowText).toContain('setOutput("baseline_ref", pr.base.sha)'); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。