Skip to content

feat(node): add global-config page#1901

Merged
aigerimu merged 8 commits intorust-node-structurefrom
global-config
Mar 6, 2026
Merged

feat(node): add global-config page#1901
aigerimu merged 8 commits intorust-node-structurefrom
global-config

Conversation

@aigerimu
Copy link
Contributor

@aigerimu aigerimu commented Mar 5, 2026

closes #1817

@github-actions

This comment has been minimized.

@aigerimu
Copy link
Contributor Author

aigerimu commented Mar 5, 2026

/review

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Thanks for the improvements to ecosystem/nodes/rust/global-config.mdx: I’ve left a couple of suggestions around safety guidance and runnable examples, please apply the inline suggestions.

1. Running a private network with custom DHT nodes and overlays.
1. The bundled config is outdated. The official config may change over time, for example, updated DHT nodes or init blocks. Fetching a fresh copy periodically is recommended.

## How to override
Copy link

Choose a reason for hiding this comment

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

[HIGH] Missing safety callout for validator configuration changes

The “How to override” section at this location describes how to replace the node’s global.config.json (including validator parameters and networking configuration) via Helm and chart values, but it does not include a Caution/Warning <Aside> explaining risk, scope, environment, or rollback. Overriding globalConfig directly affects validator behavior and network connectivity; incorrect values can halt or desync validator nodes. The extended style guide requires safety callouts and explicit mitigation guidance for safety-critical actions such as modifying validator configuration (see https://github.com/ton-org/docs/blob/main/contribute/style-guide-extended.mdx?plain=1#L640-L667). A safety aside is needed here to set expectations about using testnet first and how to recover from misconfiguration.

Please leave a reaction 👍/👎 to this suggestion to improve future reviews for everyone!

@aigerimu aigerimu marked this pull request as draft March 5, 2026 14:44
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Thanks for the update—I've left a couple of suggestions in ecosystem/nodes/rust/global-config.mdx: please apply the inline suggestions.

Comment on lines +156 to +157
## How to override

Copy link

Choose a reason for hiding this comment

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

[HIGH] Missing safety callout for validator configuration changes

The “How to override” section introduces commands that download and pass a custom global.config.json to the node, which directly affects validator configuration and network parameters, but there is no nearby safety <Aside> callout. The extended style guide requires a Caution or Warning callout on any page or step that changes validator configuration, networking, or other consensus‑affecting settings, and it specifies that readers must be informed of risk, scope, mitigation/rollback, and testnet vs mainnet behavior. Without such a callout, users may apply mainnet configuration changes without clearly understanding the potential impact or how to recover from misconfiguration.

Please leave a reaction 👍/👎 to this suggestion to improve future reviews for everyone!

@aigerimu aigerimu changed the base branch from main to rust-node-structure March 6, 2026 18:35
@aigerimu aigerimu merged commit 19540d0 into rust-node-structure Mar 6, 2026
9 of 10 checks passed
@aigerimu aigerimu deleted the global-config branch March 6, 2026 18:42
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.

[Ecosystem > Blockchain nodes > Rust node] add how-to global config page

2 participants