Repository navigation
docs: list all five hot-reloadable sections at every enumeration site - #1805
Merged
Merged
Conversation
…#1623) The reloadable set is observability.log_level, cache.pinned_hashes, security.*, the [content] denylist, and [load_shed]. The NodeCommand::Reload help enumerated four, the RotateKeyArgs doc three, and the runtime/reload.rs module header three — each missing sections the reload loop drives. - runtime/reload.rs module doc: add the [content] and [load_shed] bullets and mark the list as the authority. - NodeCommand::Reload help: full five-entry set plus a pointer at the authoritative list. - RotateKeyArgs doc: stop enumerating; point at runtime/reload.rs. - ReloadArgs doc: the command prints only the post-reload log_level — rate_per_mb is restart-required and left the response. Closes #1623 Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01SU9zFu3PvAyeMa8g7ezijv
There was a problem hiding this comment.
Pull request overview
This PR updates Rustdoc/CLI help text to keep the hot-reloadable configuration set consistent across the codebase (closing #1623), and corrects a couple of stale or inaccurate CLI-doc claims without changing runtime behavior.
Changes:
- Make
crates/node/src/runtime/reload.rs’s module doc enumerate the full five hot-reloadable sections (including[content]and[load_shed]) and mark it as the authority. - Update
NodeCommand::Reloadhelp text to list all five sections and point back to the authoritative module doc. - Remove/avoid duplicated enumerations elsewhere (e.g. rotate-key docs) and correct
decdn node reloadoutput documentation to match actual output (log_levelonly).
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| crates/node/src/runtime/reload.rs | Expands and clarifies the authoritative hot-reloadable-section list to include [content] and [load_shed]. |
| crates/common/src/cli/node.rs | Updates decdn node reload --help and related docs to match the full reloadable set and correct output claims. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01SU9zFu3PvAyeMa8g7ezijv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1623.
The hot-reloadable set is five sections —
observability.log_level,cache.pinned_hashes,security.*, the[content]denylist, and[load_shed](theRuntimeReloadStateiteration order). Since #1623 was filed the enumeration sites drifted again rather than staying merely two-entry stale: every site listed a different subset, and none listed all five.Docs-only; no behavior change.
crates/node/src/runtime/reload.rs(module doc)[content]and[load_shed]bullets — the header of the file that drives the reload loop listed only three of its own five sections.NodeCommand::Reload's help repeats it, so the next section addition has one place to update plus one known mirror.crates/common/src/cli/node.rsNodeCommand::Reloadhelp (decdn node reload --help): enumerate the full five-entry set and point at the authoritative list.RotateKeyArgsdoc: stop enumerating the set entirely (it had drifted to a three-entry copy); point atruntime/reload.rsinstead.ReloadArgsdoc: the command prints only the post-reloadlog_level.payment.rate_per_mbis restart-required (repricing means drain + restart) and is neither inReloadResponsenor in the plain output, so the "printsrate_per_mbandlog_level" / "two human-readable lines" claims were wrong on both counts.Validated with
cargo fmt --checkandcargo clippy -p decdn-common -p decdn-node --all-targets(clean).🤖 Generated with Claude Code
https://claude.ai/code/session_01SU9zFu3PvAyeMa8g7ezijv
Generated by Claude Code