Repository navigation
docs: document bridge node pruning and archival mode - #2402
Conversation
Add comprehensive documentation updates for upcoming bridge node changes: - Document new default pruning mode for bridge nodes (PR #4768) - Add --archival flag documentation for full historical data retention - Include routing exchange optimization notes (PR #4758) - Update hardware requirements to clarify pruned vs archival modes - Add migration guide for existing bridge node operators - Update custom networks docs with genesis hash requirements - Add breaking change warnings across all relevant pages Note: Version placeholders (TODO) added pending release of PR #4768 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Summary of ChangesHello @jcstein, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request updates the Celestia documentation to reflect significant changes in bridge node behavior, primarily the shift to default pruning mode and the introduction of an explicit archival mode. It provides crucial information for operators on how to manage their nodes, including a migration guide and specific considerations for private networks. The updates aim to clarify the new operational paradigms and ensure users can configure their bridge nodes appropriately for their specific needs, whether for reduced storage or full historical data access. Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
|
🚀 Preview Deployment Your preview is ready: https://celestiaorg.github.io/docs-preview/pr-2402/ |
- Fixed confusing description that incorrectly implied 0 was default for non-archival nodes - Clarified that 0 disables pruning (archival mode) - Added note about typical default window for non-archival nodes
- Removed premature migration instructions for unreleased feature - Will add proper guidance once PR #4768 is released with version info - Avoids confusion with untested migration steps
- Added tabs component to show pruned (default) vs archival mode options - Cleaner presentation that reduces repetition in documentation - Makes it clear which mode is the default behavior
…' into jcstein/review-pr-2402-relevance
Merge current main and preserve newer network and hardware guidance.
gbarros
left a comment
There was a problem hiding this comment.
Default pruning, passing --archival on every start, and Q4 trimming match celestia-node v0.33.2 and v0.34.2-mocha. Inline notes are the gaps in this diff.
Three pages this PR does not change still say a bridge needs an archival consensus node:
app/operate/consensus-validators/consensus-node/page.mdx(min-retain-blocks = 0)app/operate/networks/mocha-testnet/page.mdx(full-history core RPC, and the public endpoint)app/operate/maintenance/troubleshooting/page.mdx(<archival-consensus-endpoint>)
There was a problem hiding this comment.
Devin Review found 1 potential issue.
1 flag not posted on this PR by your GitHub settings — view it in Devin Review. (Configure)
Bridge nodes can use a consensus endpoint that keeps the storage window. Keep the measured disk figures and shared network tabs from main. Co-authored-by: Cursor <cursoragent@cursor.com>
Bridge-node setup currently tells operators that an archival consensus endpoint is required. Current celestia-node releases prune bridge nodes by default and can retrieve older header ranges and data from DA peers. This change documents those behaviours and explains when to use
--archival.--archivalon a later start converts the store to pruned mode and deletes historical data. Switching back requires a fresh store.Behaviour checked against the pinned Mainnet Beta v0.33.2 and Mocha v0.34.2-mocha sources: header defaults, archival startup, header routing, header fallback, mode conversion, archival retention, and custom-network parsing.
Validation at
a976cf53:yarn lint: passes with one existing unused eslint-disable warning inNodeAPIContent.tsx.yarn build: passes, including Markdown generation and search indexing.yarn check-links -- --all: all 178 internal links pass; seven existing audit-PDF URLs return 404 in unchangedapp/learn/audits/page.mdx.