Skip to content

Fix site metadata - #37

Merged
ieQu1 merged 8 commits into
masterfrom
dev/site-metadata
Jul 18, 2026
Merged

Fix site metadata#37
ieQu1 merged 8 commits into
masterfrom
dev/site-metadata

Conversation

@ieQu1

@ieQu1 ieQu1 commented Jul 18, 2026

Copy link
Copy Markdown
Member

No description provided.

@ieQu1
ieQu1 force-pushed the dev/site-metadata branch from 2dda971 to faaea84 Compare July 18, 2026 10:02

Copilot AI left a comment

Copy link
Copy Markdown

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 improves correctness/observability around run-level handling and stabilizes metadata-related tests, while also documenting and introducing a configuration knob for random identifier size.

Changes:

  • Added a new public classy:run_level/0 API and adjusted run-level counter updates to reflect the “next” level before running run-level hooks.
  • Reduced test flakiness by replacing fixed sleeps with retries and adding assertions around run-level transitions.
  • Made random ID length configurable via rand_id_bytes and documented the new configuration option.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
test/classy_SUITE.erl Stabilizes metadata/run-level tests via retries and additional run-level hook assertions.
src/classy.erl Exposes a new run_level/0 getter API.
src/classy_rl_changer.erl Refactors counter updates and updates “current” before run-level hooks execute.
src/classy_node.erl Makes random ID byte-length configurable when initializing site/cluster IDs.
doc/classy.texi Documents the new rand_id_bytes configuration setting.

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

Comment thread src/classy.erl
Comment thread doc/classy.texi
ieQu1 added 2 commits July 18, 2026 13:08
Streamline mechanism used when node leaves the cluster (by kicking
self). Now it doesn't rely on the eventsfrom membership CRDT

Copilot AI left a comment

Copy link
Copy Markdown

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 7 out of 7 changed files in this pull request and generated 3 comments.

Comment thread src/classy_rl_changer.erl
Comment thread src/classy_node.erl Outdated
Comment thread test/classy_SUITE.erl Outdated
@ieQu1
ieQu1 merged commit a71a7e1 into master Jul 18, 2026
4 checks passed
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