Skip to content

Add "Startup sequence" sub-page to ENSIndexer docs#2012

Merged
tk-o merged 7 commits intomainfrom
docs/1233-ensindexer-startup-sequence
Apr 30, 2026
Merged

Add "Startup sequence" sub-page to ENSIndexer docs#2012
tk-o merged 7 commits intomainfrom
docs/1233-ensindexer-startup-sequence

Conversation

@tk-o
Copy link
Copy Markdown
Member

@tk-o tk-o commented Apr 29, 2026

Lite PR

Tip: Review docs on the ENSNode PR process

Summary

  • ENSIndexer docs got a new "Startup sequence" page documenting what happens during ENSIndexer instance startup.

Why

  • We needed to know exactly what are all steps that Ponder is doing internally when ENSIndexer starts so we could implement a custom step to execute logic which can initialize ENSNode Schema for ENSApi instances to use.

Testing

  • I ran the docs server locally and tested correctness of all relevant links.

Notes for Reviewer (Optional)

  • Anything non-obvious or worth a heads-up.

Pre-Review Checklist (Blocking)

  • This PR does not introduce significant changes and is low-risk to review quickly.
  • Relevant changesets are included (or are not required)

Copilot AI review requested due to automatic review settings April 29, 2026 15:18
@tk-o tk-o requested a review from a team as a code owner April 29, 2026 15:18
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Apr 29, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
admin.ensnode.io Ready Ready Preview, Comment Apr 30, 2026 9:06am
ensnode.io Ready Ready Preview, Comment Apr 30, 2026 9:06am
ensrainbow.io Ready Ready Preview, Comment Apr 30, 2026 9:06am

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 29, 2026

🦋 Changeset detected

Latest commit: df03282

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 24 packages
Name Type
@docs/ensnode Major
ensindexer Major
ensadmin Major
ensrainbow Major
ensapi Major
fallback-ensapi Major
enssdk Major
enscli Major
enskit Major
ensskills Major
@ensnode/datasources Major
@ensnode/ensrainbow-sdk Major
@ensnode/ensdb-sdk Major
@ensnode/ensnode-react Major
@ensnode/ensnode-sdk Major
@ensnode/integration-test-env Major
@ensnode/ponder-sdk Major
@ensnode/ponder-subgraph Major
@ensnode/shared-configs Major
@docs/ensrainbow Major
@namehash/ens-referrals Major
@namehash/namehash-ui Major
@ensnode/ensindexer-perf-testing Major
@ensnode/enskit-react-example Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 29, 2026

Warning

Rate limit exceeded

@tk-o has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 50 minutes and 10 seconds before requesting another review.

To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 717d1d64-1fe8-45ec-b630-f2607c8af373

📥 Commits

Reviewing files that changed from the base of the PR and between c6d8654 and df03282.

📒 Files selected for processing (2)
  • docs/ensnode.io/src/assets/ensindexer-startup-sequence.excalidraw
  • docs/ensnode.io/src/content/docs/ensindexer/concepts/startup-sequence.mdx
📝 Walkthrough

Walkthrough

This PR adds documentation for the ENSIndexer startup sequence: a changeset, a Starlight sidebar update to add an ENSIndexer "Concepts" group, and a new docs page describing initialization, schema migrations, preconditions, and architecture diagrams.

Changes

Cohort / File(s) Summary
Changeset Metadata
\.changeset/huge-weeks-dance.md
New changeset recording a minor docs update to @docs/ensnode for the added startup sequence page.
Sidebar Configuration
docs/ensnode.io/config/integrations/starlight.ts
Adds an ENSIndexer "Concepts" sidebar group configured to autogenerate entries from ensindexer/concepts.
Documentation Content
docs/ensnode.io/src/content/docs/ensindexer/concepts/startup-sequence.mdx
Adds the "ENSIndexer Startup Sequence" page describing schema migrations, omnichain indexing startup, preconditions for ENSNode migrations and metadata population, plus four embedded architecture diagrams under /ensindexer/startup-sequence/*.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Suggested labels

docs

Poem

🐰 Hopping through pages, I peek and prance,

Schemas migrate and diagrams dance.
Startup steps clear in a tidy line,
ENSIndexer wakes, all systems align.
Cheers from the burrow—docs look fine! 🎉

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title directly describes the main change: adding a new documentation page about startup sequence to ENSIndexer docs.
Description check ✅ Passed The description follows the required template structure with all main sections completed: Summary, Why, Testing, Pre-Review Checklist, and notes placeholder.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/1233-ensindexer-startup-sequence

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
Review rate limit: 0/1 reviews remaining, refill in 50 minutes and 10 seconds.

Comment @coderabbitai help to get the list of available commands and usage tips.

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented Apr 29, 2026

Greptile Summary

This PR adds a new "Startup Sequence" concepts page to the ENSIndexer documentation, covering the Ponder app lifecycle, schema migrations, omnichain indexing strategy, and the injected onchain event handler preconditions step. It also registers a new "Concepts" sidebar group in the Starlight config to surface this and future concept pages.

Confidence Score: 5/5

Safe to merge — documentation-only change with no logic or runtime impact.

All changes are documentation (MDX, images, Excalidraw source) and sidebar config. Image paths correctly omit the /public/ prefix per Astro conventions. No code logic is affected.

No files require special attention.

Important Files Changed

Filename Overview
docs/ensnode.io/src/content/docs/ensindexer/concepts/startup-sequence.mdx New documentation page for ENSIndexer startup sequence; image paths correctly omit the /public/ prefix, matching Astro's static asset conventions.
docs/ensnode.io/config/integrations/starlight.ts Adds a "Concepts" sidebar group for ENSIndexer using autogenerate, correctly placed before "Using ENSIndexer".
.changeset/huge-weeks-dance.md Standard minor changeset entry for the new docs page.
docs/ensnode.io/src/assets/ensindexer-startup-sequence.excalidraw Excalidraw source file for the startup sequence diagrams, stored in src/assets as expected.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[ENSIndexer starts] --> B[Ponder app lifecycle begins]
    B --> C[Execute migrations for ENSIndexer Schema\ne.g. prod_0]
    C --> D[Run omnichain indexing strategy]
    D --> E[Execute onchain event handlers preconditions\nspecial injected step]
    E --> F[Execute ENSNode Schema migrations]
    F --> G[Populate ENSNode Metadata table]
    G --> H[Onchain event handlers execute\nwriting to Ponder Schema + ENSIndexer Schema]
Loading

Reviews (5): Last reviewed commit: "Merge remote-tracking branch 'origin/mai..." | Re-trigger Greptile

Comment thread docs/ensnode.io/src/content/docs/ensindexer/concepts/startup-sequence.mdx Outdated
Comment thread docs/ensnode.io/src/content/docs/ensindexer/concepts/startup-sequence.mdx Outdated
Comment thread docs/ensnode.io/src/content/docs/ensindexer/concepts/startup-sequence.mdx Outdated
Comment thread docs/ensnode.io/src/content/docs/ensindexer/concepts/startup-sequence.mdx Outdated
Comment thread docs/ensnode.io/src/content/docs/ensindexer/concepts/startup-sequence.mdx Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a new ENSIndexer documentation page describing the Ponder/ENSIndexer startup lifecycle, and exposes it in the docs sidebar so it’s discoverable.

Changes:

  • Added new “Startup Sequence” concept page under the ENSIndexer docs.
  • Updated Starlight sidebar config to include an auto-generated “Concepts” section for ENSIndexer.
  • Added a changeset bumping @docs/ensnode for the docs update.

Reviewed changes

Copilot reviewed 3 out of 7 changed files in this pull request and generated 4 comments.

File Description
docs/ensnode.io/src/content/docs/ensindexer/concepts/startup-sequence.mdx New MDX page documenting ENSIndexer/Ponder startup steps with diagrams.
docs/ensnode.io/config/integrations/starlight.ts Adds “Concepts” autogenerate section to the ENSIndexer sidebar.
.changeset/huge-weeks-dance.md Changeset entry describing the docs addition.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/ensnode.io/src/content/docs/ensindexer/concepts/startup-sequence.mdx Outdated
@vercel vercel Bot temporarily deployed to Preview – ensrainbow.io April 29, 2026 15:27 Inactive
@vercel vercel Bot temporarily deployed to Preview – admin.ensnode.io April 29, 2026 15:27 Inactive
@tk-o
Copy link
Copy Markdown
Member Author

tk-o commented Apr 29, 2026

@greptile review

Copy link
Copy Markdown
Member

@lightwalker-eth lightwalker-eth left a comment

Choose a reason for hiding this comment

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

@tk-o This is so awesome! Love it! Shared some very small suggestions please merge when ready 👍

Comment thread docs/ensnode.io/src/content/docs/ensindexer/concepts/startup-sequence.mdx Outdated
Here is the top-level view on the ENSIndexer start sequence. It's really the overview of the Ponder app lifecycle running inside the ENSIndexer instance. The example assumes that the ENSIndexer was started with the `ENSINDEXER_SCHEMA_NAME` environment variable set to `prod_0`, but the same sequence applies to any ENSIndexer Schema.

<figure>
[![Ponder app lifecycle](/ensindexer/startup-sequence/0-overview.png)](/ensindexer/startup-sequence/0-overview.png)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is it also possible to commit the file(s) that were used to generate these diagrams? That would be awesome!

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Sure, will add it at docs/ensnode.io/src/assets/ensindexer-startup-sequence.excalidraw

Comment thread docs/ensnode.io/src/content/docs/ensindexer/concepts/startup-sequence.mdx Outdated
Comment thread docs/ensnode.io/src/content/docs/ensindexer/concepts/startup-sequence.mdx Outdated
Comment thread docs/ensnode.io/src/content/docs/ensindexer/concepts/startup-sequence.mdx Outdated
Comment thread docs/ensnode.io/src/content/docs/ensindexer/concepts/startup-sequence.mdx Outdated
Comment thread docs/ensnode.io/src/content/docs/ensindexer/concepts/startup-sequence.mdx Outdated
Comment thread docs/ensnode.io/src/content/docs/ensindexer/concepts/startup-sequence.mdx Outdated
Co-authored-by: lightwalker.eth <126201998+lightwalker-eth@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 30, 2026 08:54
@vercel vercel Bot temporarily deployed to Preview – admin.ensnode.io April 30, 2026 08:54 Inactive
@vercel vercel Bot temporarily deployed to Preview – ensrainbow.io April 30, 2026 08:54 Inactive
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a new “Startup Sequence” concepts page under the ENSIndexer docs, intended to document Ponder’s lifecycle and the ENSNode-specific preconditions step during startup.

Changes:

  • Added new MDX doc page describing the ENSIndexer/Ponder startup lifecycle with diagrams.
  • Exposed a new “Concepts” group in the ENSIndexer sidebar via Starlight autogeneration.
  • Added a Changesets entry to version the docs package.

Reviewed changes

Copilot reviewed 3 out of 7 changed files in this pull request and generated 5 comments.

File Description
docs/ensnode.io/src/content/docs/ensindexer/concepts/startup-sequence.mdx New “Startup Sequence” concepts documentation page with diagram embeds.
docs/ensnode.io/config/integrations/starlight.ts Adds an ensindexer/concepts autogen section to the sidebar.
.changeset/huge-weeks-dance.md Bumps @docs/ensnode to publish the docs update.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/ensnode.io/src/content/docs/ensindexer/concepts/startup-sequence.mdx Outdated
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@docs/ensnode.io/src/content/docs/ensindexer/concepts/startup-sequence.mdx`:
- Line 30: Fix the double-space typo in the sentence that reads 'to the Ponder
Schema (caching RPC calls) and  the ENSIndexer Schema' by removing the extra
space so it becomes 'to the Ponder Schema (caching RPC calls) and the ENSIndexer
Schema'; update the corresponding text in the startup-sequence content (the
sentence referencing "Run omnichain indexing strategy" and "Execute onchain
event handlers preconditions") to use a single space after "and".
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 3c176cab-fd54-4d78-ab4f-4d333937fa4c

📥 Commits

Reviewing files that changed from the base of the PR and between b2b9da5 and c6d8654.

📒 Files selected for processing (1)
  • docs/ensnode.io/src/content/docs/ensindexer/concepts/startup-sequence.mdx

Comment thread docs/ensnode.io/src/content/docs/ensindexer/concepts/startup-sequence.mdx Outdated
@vercel vercel Bot temporarily deployed to Preview – ensrainbow.io April 30, 2026 09:00 Inactive
@vercel vercel Bot temporarily deployed to Preview – admin.ensnode.io April 30, 2026 09:00 Inactive
Copilot AI review requested due to automatic review settings April 30, 2026 09:01
@vercel vercel Bot temporarily deployed to Preview – admin.ensnode.io April 30, 2026 09:01 Inactive
@vercel vercel Bot temporarily deployed to Preview – ensrainbow.io April 30, 2026 09:01 Inactive
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a new ENSIndexer documentation page describing the Ponder-based startup lifecycle, and exposes it in the docs sidebar so it’s discoverable under ENSIndexer.

Changes:

  • Added a new “Startup Sequence” concepts page for ENSIndexer with lifecycle diagrams.
  • Updated Starlight sidebar config to include an auto-generated “Concepts” section for ENSIndexer.
  • Added a changeset bump for @docs/ensnode.

Reviewed changes

Copilot reviewed 3 out of 8 changed files in this pull request and generated 2 comments.

File Description
docs/ensnode.io/src/content/docs/ensindexer/concepts/startup-sequence.mdx New docs page describing ENSIndexer startup sequence with diagrams
docs/ensnode.io/config/integrations/starlight.ts Adds “Concepts” section under ENSIndexer in the sidebar via autogenerate
.changeset/huge-weeks-dance.md Changeset for publishing the docs update

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@tk-o tk-o merged commit c4a39bb into main Apr 30, 2026
20 checks passed
@tk-o tk-o deleted the docs/1233-ensindexer-startup-sequence branch April 30, 2026 09:15
@github-actions github-actions Bot mentioned this pull request Apr 30, 2026
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.

Document ENSIndexer startup sequence

3 participants