Skip to content

Conversation

@takaokouji
Copy link

@takaokouji takaokouji commented Dec 30, 2025

Updated with additional requirement: fetch existing nodes data on join using listGroupStatuses.

takaokouji and others added 2 commits December 30, 2025 18:17
…n for Mesh V2

Details:
- Added getGlobalVariables() to retrieve all global scalar variables.
- Added sendAllGlobalVariables() to send all global variables to other nodes.
- Updated createGroup() and joinGroup() to automatically synchronize variables.
- Added unit tests in test/unit/mesh_service_v2_global_vars.js.
- Added integration tests in test/integration/extensions/mesh-v2-variable-sync.test.js.

🤖 Generated with [Gemini Code](https://gemini.google.com/code)

Co-Authored-By: Gemini <noreply@google.com>
- Added fetchAllNodesData() to retrieve data from all nodes in group
- Integrated with joinGroup() to fetch existing nodes' data immediately
- Added periodic data sync every 5 minutes for consistency
- Added integration test for data fetching on join

Fixes #53 (additional requirement)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@takaokouji takaokouji merged commit 2d89850 into develop Dec 30, 2025
1 check passed
@takaokouji takaokouji deleted the feature/mesh-v2-sync-global-variables branch December 30, 2025 12:31
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.

2 participants