Skip to content

docs: add executable code walkthrough#4929

Draft
rootulp wants to merge 2 commits intocelestiaorg:mainfrom
rootulp:rootulp/add-code-walkthrough
Draft

docs: add executable code walkthrough#4929
rootulp wants to merge 2 commits intocelestiaorg:mainfrom
rootulp:rootulp/add-code-walkthrough

Conversation

@rootulp
Copy link
Copy Markdown
Contributor

@rootulp rootulp commented Apr 9, 2026

Summary

  • Add a walkthrough.md that traces the celestia-node codebase linearly from binary entry point through startup, DI wiring, and each major subsystem (P2P, headers, core, shares, DAS, blobs, state, fraud, RPC, pruning)
  • Built with showboat -- all code blocks are executable and verifiable via uvx showboat verify walkthrough.md
  • Covers both node types (Bridge and Light) and how the module system customizes behavior for each

Test plan

  • Run uvx showboat verify walkthrough.md and confirm exit code 0

🤖 Generated with Claude Code

@rootulp rootulp self-assigned this Apr 9, 2026
Add a showboat-powered walkthrough.md that traces the celestia-node
codebase from binary entry point through startup, DI wiring, and each
major subsystem. All code blocks are executable and verifiable via
`uvx showboat verify walkthrough.md`.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@rootulp rootulp force-pushed the rootulp/add-code-walkthrough branch from daf9133 to c0d8d24 Compare April 9, 2026 20:59
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 34.91%. Comparing base (2469e7a) to head (fcc79c5).
⚠️ Report is 745 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4929      +/-   ##
==========================================
- Coverage   44.83%   34.91%   -9.93%     
==========================================
  Files         265      314      +49     
  Lines       14620    21785    +7165     
==========================================
+ Hits         6555     7606    +1051     
- Misses       7313    13170    +5857     
- Partials      752     1009     +257     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Rebuild the walkthrough from scratch against upstream/main which no
longer has Full nodes. Key corrections:
- Only Bridge and Light node types exist
- DAS module no longer takes node.Type or uses ServiceBreaker
- Header module uses FanoutOnly for Bridge subscriber
- State module uses TxClient directly, no fraud ServiceBreaker
- Core module has RoutingExchange with P2P fallback
- Share module uses bridgeGetter (not bridgeAndFullGetter)
- Pruner only has Bridge and Light cases

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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