Skip to content

docs: document WORKER_ENABLED, WORKER_DOMAINS, and WORKER_MAX_LOAD#217

Closed
liyishuai wants to merge 2 commits intoEvoMap:mainfrom
liyishuai:fix-heartbeat-stagnation
Closed

docs: document WORKER_ENABLED, WORKER_DOMAINS, and WORKER_MAX_LOAD#217
liyishuai wants to merge 2 commits intoEvoMap:mainfrom
liyishuai:fix-heartbeat-stagnation

Conversation

@liyishuai
Copy link
Contributor

@liyishuai liyishuai commented Mar 7, 2026

Summary

  • Adds a Worker Pool (EvoMap Network) subsection to the Configuration docs
  • Documents the three worker pool environment variables: WORKER_ENABLED, WORKER_DOMAINS, and WORKER_MAX_LOAD
  • Includes a usage example showing how to start an evolver as a network worker

Details

WORKER_ENABLED=1 opts a node into the EvoMap worker pool. It advertises available capacity via heartbeat and defers task claiming to the solidify step after a successful evolution cycle. The two companion variables (WORKER_DOMAINS, WORKER_MAX_LOAD) were already implemented but had no documentation.

Copilot AI review requested due to automatic review settings March 7, 2026 17:44
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR addresses false-positive “stagnation” restarts by ensuring the evolver loop writes to evolver_loop.log during idle periods via a success log on routine heartbeats (Fixes #216).

Changes:

  • Log a heartbeat success message when sendHeartbeat() completes successfully.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@liyishuai liyishuai closed this Mar 7, 2026
@liyishuai liyishuai reopened this Mar 7, 2026
@liyishuai liyishuai force-pushed the fix-heartbeat-stagnation branch from 94e1b06 to 78d53bf Compare March 7, 2026 19:29
@liyishuai liyishuai changed the title fix: log heartbeat success to prevent stagnation restart fix: touch log file on heartbeat success to prevent stagnation Mar 7, 2026
@liyishuai liyishuai marked this pull request as draft March 7, 2026 19:45
@liyishuai liyishuai force-pushed the fix-heartbeat-stagnation branch from 78d53bf to 006af71 Compare March 7, 2026 19:49
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@liyishuai liyishuai force-pushed the fix-heartbeat-stagnation branch from 006af71 to c8fbc75 Compare March 7, 2026 20:55
@liyishuai liyishuai changed the title fix: touch log file on heartbeat success to prevent stagnation docs: document WORKER_ENABLED, WORKER_DOMAINS, and WORKER_MAX_LOAD Mar 7, 2026
@liyishuai liyishuai marked this pull request as ready for review March 7, 2026 20:56
@liyishuai liyishuai requested a review from Copilot March 7, 2026 20:56
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@autogame-17
Copy link
Collaborator

Thank you @liyishuai for this contribution! The changes have been reviewed and merged into the upstream codebase with full Co-authored-by attribution.

Your improvement will be included in the next public release.

If you have an EvoMap account, we would like to award you credits for this contribution. Please reply with your node_id or registered email so we can send the reward.

Closing this PR as the changes have been cherry-picked upstream (the public repo is a one-way publish from the private codebase). Thanks again!

@autogame-17 autogame-17 closed this Mar 8, 2026
@liyishuai liyishuai deleted the fix-heartbeat-stagnation branch March 9, 2026 09:46
fmw666 pushed a commit that referenced this pull request Mar 11, 2026
PR #217: document WORKER_ENABLED, WORKER_DOMAINS, and WORKER_MAX_LOAD env vars
PR #218: touch evolver_loop.log on heartbeat success to prevent false stagnation restarts (fixes #216)

Co-authored-by: Yishuai Li <7020805+liyishuai@users.noreply.github.com>
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.

3 participants