fix: surface delegated Testbox proof status · openclaw/openclaw@c53dbca
shakkernerd
·
2026-06-28
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -619,6 +619,17 @@ describe.concurrent("scripts/crabbox-wrapper", () => {
|
619 | 619 | expect(parseFakeCrabboxOutput(result).args).toContain("blacksmith-testbox"); |
620 | 620 | }); |
621 | 621 | |
| 622 | +it("tells operators how to read delegated Testbox proof status", () => { |
| 623 | +const result = runWrapper( |
| 624 | +"provider: hetzner, aws, local-container, blacksmith-testbox, or cloudflare\n", |
| 625 | +["run", "--provider", "blacksmith-testbox", "--", "echo ok"], |
| 626 | +); |
| 627 | + |
| 628 | +expect(result.status).toBe(0); |
| 629 | +expect(result.stderr).toContain("delegated Testbox proof uses the wrapper exitCode"); |
| 630 | +expect(result.stderr).toContain("Actions run can show cancelled during external lease cleanup"); |
| 631 | +}); |
| 632 | + |
622 | 633 | it("rejects reused Blacksmith Testboxes that were not created by Crabbox", () => { |
623 | 634 | const home = mkdtempSync(path.join(tmpdir(), "openclaw-crabbox-home-")); |
624 | 635 | tempDirs.push(home); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。