Skip to content

Commit 47bb037

Browse files
authored
fix(ci): isolate performance gateway network checks (#117610)
1 parent 164c3f2 commit 47bb037

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

‎.github/workflows/openclaw-performance.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -753,6 +753,8 @@ jobs:
753753
cat > "$gateway_config" <<EOF
754754
{
755755
"browser": { "enabled": false },
756+
"models": { "catalogRefresh": { "enabled": false } },
757+
"update": { "checkOnStart": false },
756758
"gateway": {
757759
"mode": "local",
758760
"port": ${gateway_port},

‎test/scripts/openclaw-performance-workflow.test.ts‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,13 @@ describe("OpenClaw performance workflow", () => {
261261
expect(run).toContain("--case gatewayHealthJsonFirstDevice \\");
262262
});
263263

264+
it("keeps the source performance gateway fixture network-hermetic", () => {
265+
const run = findStep("Run OpenClaw source performance probes", "source_performance").run ?? "";
266+
267+
expect(run).toContain('"models": { "catalogRefresh": { "enabled": false } },');
268+
expect(run).toContain('"update": { "checkOnStart": false },');
269+
});
270+
264271
it("isolates required publication in a fresh artifact-consuming job", () => {
265272
const workflow = readWorkflow();
266273
const publisher = workflow.jobs?.publish;

0 commit comments

Comments
 (0)