惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

P
Proofpoint News Feed
Martin Fowler
Martin Fowler
The GitHub Blog
The GitHub Blog
B
Blog RSS Feed
U
Unit 42
阮一峰的网络日志
阮一峰的网络日志
量子位
GbyAI
GbyAI
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
云风的 BLOG
云风的 BLOG
小众软件
小众软件
博客园 - 三生石上(FineUI控件)
L
LangChain Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园_首页
IT之家
IT之家
V
Visual Studio Blog
Y
Y Combinator Blog
Blog — PlanetScale
Blog — PlanetScale
宝玉的分享
宝玉的分享
Apple Machine Learning Research
Apple Machine Learning Research
I
InfoQ
D
Docker
V
V2EX

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
ci: allow Slack Mantis failure evidence without screensho...
steipete · 2026-05-05 · via Recent Commits to openclaw:main

@@ -93,6 +93,79 @@ describe("scripts/mantis/publish-pr-evidence", () => {

9393

expect(body).toContain("- Overall: `true`");

9494

});

959596+

it("allows failure manifests to omit optional visual artifacts", () => {

97+

const dir = mkdtempSync(path.join(tmpdir(), "mantis-evidence-test-"));

98+

writeFileSync(path.join(dir, "summary.json"), JSON.stringify({ status: "fail" }));

99+

writeFileSync(path.join(dir, "report.md"), "bootstrap failed before screenshot");

100+

const manifestPath = path.join(dir, "mantis-evidence.json");

101+

writeFileSync(

102+

manifestPath,

103+

JSON.stringify({

104+

schemaVersion: 1,

105+

id: "slack-desktop-smoke",

106+

title: "Mantis Slack Desktop Smoke QA",

107+

summary: "Mantis could not finish VM setup.",

108+

scenario: "slack-openclaw-desktop-smoke",

109+

comparison: {

110+

candidate: {

111+

expected: "Slack QA and VM gateway setup pass",

112+

sha: "bbb",

113+

status: "fail",

114+

},

115+

pass: false,

116+

},

117+

artifacts: [

118+

{

119+

alt: "Slack Web desktop screenshot from the Mantis VM",

120+

inline: true,

121+

kind: "desktopScreenshot",

122+

label: "Slack desktop/VNC browser",

123+

lane: "candidate",

124+

path: "slack-desktop-smoke.png",

125+

required: false,

126+

targetPath: "slack-desktop.png",

127+

},

128+

{

129+

kind: "metadata",

130+

label: "Slack desktop summary",

131+

lane: "run",

132+

path: "summary.json",

133+

targetPath: "summary.json",

134+

},

135+

{

136+

kind: "report",

137+

label: "Slack desktop report",

138+

lane: "run",

139+

path: "report.md",

140+

targetPath: "report.md",

141+

},

142+

],

143+

}),

144+

);

145+146+

const manifest = loadEvidenceManifest(manifestPath);

147+

expect(manifest.artifacts.map((artifact) => artifact.targetPath)).toEqual([

148+

"summary.json",

149+

"report.md",

150+

"mantis-evidence.json",

151+

]);

152+

const body = renderEvidenceComment({

153+

artifactRoot: "mantis/slack/pr-1/run-1",

154+

artifactUrl: "https://github.com/openclaw/openclaw/actions/runs/1/artifacts/2",

155+

manifest,

156+

marker: "<!-- mantis-slack-desktop-smoke -->",

157+

rawBase:

158+

"https://raw.githubusercontent.com/openclaw/openclaw/qa-artifacts/mantis/slack/pr-1/run-1",

159+

requestSource: "workflow_dispatch",

160+

runUrl: "https://github.com/openclaw/openclaw/actions/runs/1",

161+

treeUrl: "https://github.com/openclaw/openclaw/tree/qa-artifacts/mantis/slack/pr-1/run-1",

162+

});

163+164+

expect(body).toContain("Summary: Mantis could not finish VM setup.");

165+

expect(body).toContain("- Overall: `false`");

166+

expect(body).not.toContain("<img ");

167+

});

168+96169

it("rejects artifact paths that escape the manifest directory", () => {

97170

const dir = mkdtempSync(path.join(tmpdir(), "mantis-evidence-test-"));

98171

const manifestPath = path.join(dir, "mantis-evidence.json");