Repository navigation
Conversation
…iness endpoint The `/lighthouse/database/info` example in the book still showed the schema v22 `StoreConfig`: it listed `hdiff_buffer_cache_size`, which has since been split into `cold_hdiff_buffer_cache_size` and `hot_hdiff_buffer_cache_size`, and it lacked `state_cache_headroom` and `backend`. Refresh the example with the fields serialized by the current `StoreConfig` (default values) and the current schema version (32). The `/lighthouse/merge_readiness` endpoint was removed together with the merge transition code (sigp#8761), so requests to it no longer match any route. Remove its section from the book. Co-authored-by: Claude <noreply@anthropic.com>
|
This pull request is closed, so it cannot be queued. Reopen it to get the box back. |
Member
|
We don't accept trivial doc change PRs from external contributors. Please check our contribution guides for more details |
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.
Issue Addressed
The Lighthouse API page of the book is out of date in two places.
Proposed Changes
/lighthouse/database/info: the example dates from an older version. It shows schema version 22 (the code is at 32), listshdiff_buffer_cache_size(now split intocold_hdiff_buffer_cache_sizeandhot_hdiff_buffer_cache_size), missesstate_cache_headroomandbackend, and two defaults have changed (block_cache_sizeand thehierarchy_configexponents). The example now shows what the code returns today./lighthouse/merge_readiness: the endpoint was removed in February 2026 (Remove merge transition code #8761) and no longer matches any route, so its section is removed.Additional Info
I checked the fields by serializing the default config. The
"LevelDb"value ofbackendcomes from the code, not from a run. I used an AI assistant to find the mismatch and prepare the change, and I reviewed it.🤖 Generated with Claude Code
https://claude.ai/code/session_014cRzwuyJe8BGwXowsQ3kpw