fix(qa): omit local temp roots from gateway artifacts · openclaw/openclaw@603b250
vincentkoc
·
2026-06-23
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1231,6 +1231,9 @@ describe("buildQaRuntimeEnv", () => {
|
1231 | 1231 | await expect(readFile(path.join(artifactDir, "README.txt"), "utf8")).resolves.toContain( |
1232 | 1232 | "was not copied because it may contain credentials or auth tokens", |
1233 | 1233 | ); |
| 1234 | +await expect(readFile(path.join(artifactDir, "README.txt"), "utf8")).resolves.not.toContain( |
| 1235 | +tempRoot, |
| 1236 | +); |
1234 | 1237 | }); |
1235 | 1238 | |
1236 | 1239 | it("rejects preserved gateway artifacts outside the repo root", async () => { |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -162,7 +162,7 @@ async function preserveQaGatewayDebugArtifacts(params: {
|
162 | 162 | [ |
163 | 163 | "Only sanitized gateway debug artifacts are preserved here.", |
164 | 164 | "The full QA gateway runtime was not copied because it may contain credentials or auth tokens.", |
165 | | -`Original runtime temp root: ${params.tempRoot}`, |
| 165 | +"Original runtime temp root omitted because local temp paths can identify the runner.", |
166 | 166 | "", |
167 | 167 | ].join("\n"), |
168 | 168 | "utf8", |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。