Skip to content

fix(worker): keep openclaw config local during sync#983

Open
RerankerGuo wants to merge 1 commit into
agentscope-ai:mainfrom
RerankerGuo:fix/issue-809-openclaw-token-merge
Open

fix(worker): keep openclaw config local during sync#983
RerankerGuo wants to merge 1 commit into
agentscope-ai:mainfrom
RerankerGuo:fix/issue-809-openclaw-token-merge

Conversation

@RerankerGuo

Copy link
Copy Markdown

Summary

  • change the OpenClaw Worker hiclaw-sync script so bulk mc mirror excludes openclaw.json
  • fetch the remote openclaw.json into a temporary file and merge it into the local config afterward
  • add an integration-test assertion that the pushed file-sync skill preserves local openclaw.json during mirror

This prevents the stale Matrix access token stored in MinIO from being briefly restored over the worker-local token during file-sync.

Fixes #809.

Verification

  • bash -n manager/agent/worker-agent/skills/file-sync/scripts/hiclaw-sync.sh tests/test-17-worker-config-verify.sh
  • git diff --check
  • static check for --exclude "openclaw.json" in the file-sync script

@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

📊 CI Metrics Report

Summary

Metric Current Baseline Change
LLM Calls 78 81 -3 ↓ -3.7%
Input Tokens 1970901 2803871 -832970 ↓ -29.7%
Output Tokens 12764 16791 -4027 ↓ -24.0%
Total Tokens 1983665 2820662 -836997 ↓ -29.7%

By Role

Role Metric Current Baseline Change
🧠 Manager LLM Calls 54 68 -14 ↓ -20.6%
Input Tokens 1429330 2502214 -1072884 ↓ -42.9%
Output Tokens 8671 13725 -5054 ↓ -36.8%
Total Tokens 1438001 2515939 -1077938 ↓ -42.8%
🔧 Workers LLM Calls 24 13 +11 ↑ +84.6%
Input Tokens 541571 301657 +239914 ↑ +79.5%
Output Tokens 4093 3066 +1027 ↑ +33.5%
Total Tokens 545664 304723 +240941 ↑ +79.1%

Per-Test Breakdown

Test Mgr Calls Wkr Calls Δ Calls Mgr In Wkr In Mgr Out Wkr Out Δ Tokens Trend
02-create-worker 3 0 -9 ↓ -75.0% 81416 0 558 0 -276648 ↓ -77.1% ✅ improved
03-assign-task 11 6 +2 ↑ +13.3% 281100 136145 2083 1154 -53174 ↓ -11.2% ⚠️ regressed
04-human-intervene 13 12 +12 ↑ +92.3% 309345 264880 1458 1489 +144174 ↑ +33.3% ⚠️ regressed
05-heartbeat 6 1 0 — 0% 165773 25644 839 78 -82918 ↓ -30.1% — unchanged
06-multi-worker 21 5 -8 ↓ -23.5% 591696 114902 3733 1372 -568431 ↓ -44.4% ✅ improved

Trends

2 test(s) improved (fewer LLM calls)
⚠️ 2 test(s) regressed (more LLM calls)


Generated by HiClaw CI on 2026-07-03 02:49:54 UTC


📦 Download debug logs & test artifacts

@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

❌ Integration Tests Failed (llm-interaction / mgr=copaw / wk=copaw)

Commit: 37c091d
Workflow run: #1413

Test Results
No test output captured.
Debug Log (tail)
No debug logs available.

📦 Download full debug logs & test artifacts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment