Skip to content

fix(worker): avoid heartbeat sync storm#971

Open
RerankerGuo wants to merge 1 commit into
agentscope-ai:mainfrom
RerankerGuo:fix/issue-949-worker-sync-storm
Open

fix(worker): avoid heartbeat sync storm#971
RerankerGuo wants to merge 1 commit into
agentscope-ai:mainfrom
RerankerGuo:fix/issue-949-worker-sync-storm

Conversation

@RerankerGuo

Copy link
Copy Markdown

Summary

  • ignore Local->Remote-excluded paths when deciding whether the OpenClaw Worker sync loop should run
  • stop treating HEARTBEAT.md as a Worker-pushed prompt file so runtime reads/touches do not cause repeated storage uploads
  • add a static worker sync regression test and changelog entry

Fixes #949.

Tests

  • bash worker/tests/test-worker-sync-excludes.sh
  • git diff --check

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

📊 CI Metrics Report

Summary

Metric Current Baseline Change
LLM Calls 95 81 +14 ↑ +17.3%
Input Tokens 2539129 2803871 -264742 ↓ -9.4%
Output Tokens 15864 16791 -927 ↓ -5.5%
Total Tokens 2554993 2820662 -265669 ↓ -9.4%

By Role

Role Metric Current Baseline Change
🧠 Manager LLM Calls 79 68 +11 ↑ +16.2%
Input Tokens 2164802 2502214 -337412 ↓ -13.5%
Output Tokens 11911 13725 -1814 ↓ -13.2%
Total Tokens 2176713 2515939 -339226 ↓ -13.5%
🔧 Workers LLM Calls 16 13 +3 ↑ +23.1%
Input Tokens 374327 301657 +72670 ↑ +24.1%
Output Tokens 3953 3066 +887 ↑ +28.9%
Total Tokens 378280 304723 +73557 ↑ +24.1%

Per-Test Breakdown

Test Mgr Calls Wkr Calls Δ Calls Mgr In Wkr In Mgr Out Wkr Out Δ Tokens Trend
02-create-worker 5 0 -7 ↓ -58.3% 136353 0 817 0 -221452 ↓ -61.8% ✅ improved
03-assign-task 10 7 +2 ↑ +13.3% 277693 156243 1636 1255 -36829 ↓ -7.8% ⚠️ regressed
04-human-intervene 16 0 +3 ↑ +23.1% 372565 0 1996 0 -58437 ↓ -13.5% ⚠️ regressed
05-heartbeat 8 0 +1 ↑ +14.3% 256295 0 1771 0 -17186 ↓ -6.2% ⚠️ regressed
06-multi-worker 40 9 +15 ↑ +44.1% 1121896 218084 5691 2698 +68235 ↑ +5.3% ⚠️ regressed

Trends

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


Generated by HiClaw CI on 2026-07-02 08:43:46 UTC


📦 Download debug logs & test artifacts

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

work 容器假死,manager无法唤醒。 || work The container is suspended and the manager cannot wake up.

1 participant