Skip to content

Conversation

@djstrong
Copy link
Contributor

@djstrong djstrong commented Sep 17, 2025

Deduplication of terms as part of issue #932

@changeset-bot
Copy link

changeset-bot bot commented Sep 17, 2025

🦋 Changeset detected

Latest commit: 1abee90

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

This PR includes changesets to release 17 packages
Name Type
ensindexer Patch
ensrainbow Patch
@docs/ensnode Patch
@ensnode/ensnode-sdk Patch
@ensnode/ensrainbow-sdk Patch
ensadmin Patch
ensapi Patch
fallback-ensapi Patch
@ensnode/ensnode-react Patch
@ensnode/ponder-metadata Patch
@namehash/namehash-ui Patch
@ensnode/datasources Patch
@ensnode/ensnode-schema Patch
@ensnode/ponder-subgraph Patch
@ensnode/shared-configs Patch
@docs/ensrainbow Patch
@namehash/ens-referrals 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

@vercel
Copy link

vercel bot commented Sep 17, 2025

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

Project Deployment Review Updated (UTC)
admin.ensnode.io Ready Ready Preview, Comment Jan 9, 2026 1:14pm
ensnode.io Ready Ready Preview, Comment Jan 9, 2026 1:14pm
ensrainbow.io Ready Ready Preview, Comment Jan 9, 2026 1:14pm

Copy link
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.

@djstrong Here's some quick feedback on enhanced patterns we could use.

@djstrong djstrong marked this pull request as ready for review September 27, 2025 21:44
@djstrong djstrong requested a review from a team as a code owner September 27, 2025 21:44
@lightwalker-eth lightwalker-eth linked an issue Jan 5, 2026 that may be closed by this pull request
7 tasks
Base automatically changed from csv-conversion-tool to main January 8, 2026 11:21
Copy link
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

This pull request refines ENSRainbow documentation by deduplicating term definitions and replacing inline explanations with centralized glossary links, as part of addressing issue #932.

Key changes include:

  • Expanded the glossary from a table format to detailed individual sections for each term
  • Replaced verbose inline documentation with links to the centralized glossary throughout the codebase
  • Updated documentation to reflect the availability of the searchlight label set (version 0)

Reviewed changes

Copilot reviewed 26 out of 27 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
terraform/variables.tf Updated variable descriptions to link to glossary definitions
pnpm-lock.yaml Added bloom-filters package and dependencies
packages/ensrainbow-sdk/src/client.ts Added glossary link for "heal" definition in JSDoc
packages/ensnode-sdk/src/ensrainbow/types.ts Replaced inline label set definition with glossary link
packages/ensnode-sdk/src/ens/types.ts Added glossary reference for labelhash definition
docs/ensnode.io/src/content/docs/ensrainbow/usage/configuration.mdx Replaced verbose descriptions with glossary links
docs/ensnode.io/src/content/docs/ensrainbow/usage/available-label-sets.mdx Added searchlight dataset and updated its availability status
docs/ensnode.io/src/content/docs/ensrainbow/index.mdx Added glossary links for heal terminology
docs/ensnode.io/src/content/docs/ensrainbow/faq.mdx Updated searchlight description and improved code formatting
docs/ensnode.io/src/content/docs/ensrainbow/contributing/index.mdx Simplified environment variable documentation with glossary links
docs/ensnode.io/src/content/docs/ensrainbow/concepts/typescript-interfaces.mdx Added glossary link for label set terminology
docs/ensnode.io/src/content/docs/ensrainbow/concepts/performance.mdx Updated searchlight dataset metrics
docs/ensnode.io/src/content/docs/ensrainbow/concepts/label-sets-and-versioning.mdx Added glossary links to key terms
docs/ensnode.io/src/content/docs/ensrainbow/concepts/glossary.mdx Expanded from table to detailed sections with environment variables
docs/ensnode.io/src/content/docs/ensrainbow/concepts/data-model.mdx Added glossary links and rainbow record documentation
docs/ensnode.io/src/content/docs/ensrainbow/concepts/creating-files.mdx Renamed section and improved formatting
docs/ensnode.io/src/content/docs/docs/reference/terminology.mdx Added glossary cross-reference for labelhash
apps/ensrainbow/src/utils/rainbow-record.ts Added glossary link in interface documentation
apps/ensrainbow/src/lib/rainbow-record.ts Added glossary link in interface documentation
apps/ensrainbow/src/lib/database.ts Added data model documentation reference
apps/ensrainbow/src/commands/convert-csv-command.test.ts Updated comment for accuracy
apps/ensrainbow/scripts/download-prebuilt-database.sh Simplified comments with glossary link
apps/ensrainbow/scripts/download-ensrainbow-files.sh Simplified comments with glossary link
apps/ensrainbow/package.json Added bloom-filters dependency
apps/ensrainbow/.env.local.example Replaced verbose comments with documentation links
apps/ensindexer/.env.local.example Simplified configuration comments with glossary links
.changeset/fifty-spies-call.md Added changeset for patch releases
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

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

variable "ensindexer_label_set_id" {
type = string
description = "The label set ID that ENSIndexer will request from ENSRainbow for deterministic label healing (e.g., 'subgraph', 'ens-test-env')"
description = "The label set ID that ENSIndexer will request from ENSRainbow for deterministic label healing. See https://ensnode.io/ensrainbow/concepts/glossary/#label_set_id for definition."
Copy link

Copilot AI Jan 8, 2026

Choose a reason for hiding this comment

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

The anchor in the URL should use hyphens instead of underscores. Markdown heading "Label Set ID" generates the anchor "#label-set-id", not "#label_set_id". The correct URL should be: https://ensnode.io/ensrainbow/concepts/glossary/#label-set-id

Copilot uses AI. Check for mistakes.
variable "ensindexer_label_set_version" {
type = string
description = "The label set version that ENSIndexer will request from ENSRainbow for deterministic label healing (e.g., '0', '1')"
description = "The label set version that ENSIndexer will request from ENSRainbow for deterministic label healing. See https://ensnode.io/ensrainbow/concepts/glossary/#label_set_version for definition."
Copy link

Copilot AI Jan 8, 2026

Choose a reason for hiding this comment

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

The anchor in the URL should use hyphens instead of underscores. Markdown heading "Label Set Version" generates the anchor "#label-set-version", not "#label_set_version". The correct URL should be: https://ensnode.io/ensrainbow/concepts/glossary/#label-set-version

Copilot uses AI. Check for mistakes.
variable "ensrainbow_label_set_id" {
type = string
description = "The label set ID that ENSRainbow will offer to its clients (e.g., 'subgraph', 'ens-test-env')"
description = "The label set ID that ENSRainbow will offer to its clients. See https://ensnode.io/ensrainbow/concepts/glossary/#label_set_id for definition."
Copy link

Copilot AI Jan 8, 2026

Choose a reason for hiding this comment

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

The anchor in the URL should use hyphens instead of underscores. Markdown heading "Label Set ID" generates the anchor "#label-set-id", not "#label_set_id". The correct URL should be: https://ensnode.io/ensrainbow/concepts/glossary/#label-set-id

Copilot uses AI. Check for mistakes.
variable "ensrainbow_label_set_version" {
type = string
description = "The highest label set version that ENSRainbow will offer to its clients (e.g., '0', '1')"
description = "The highest label set version that ENSRainbow will offer to its clients. See https://ensnode.io/ensrainbow/concepts/glossary/#label_set_version for definition."
Copy link

Copilot AI Jan 8, 2026

Choose a reason for hiding this comment

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

The anchor in the URL should use hyphens instead of underscores. Markdown heading "Label Set Version" generates the anchor "#label-set-version", not "#label_set_version". The correct URL should be: https://ensnode.io/ensrainbow/concepts/glossary/#label-set-version

Copilot uses AI. Check for mistakes.
Comment on lines 462 to 464


Copy link

Copilot AI Jan 8, 2026

Choose a reason for hiding this comment

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

There's a malformed markdown code block structure. Line 462 closes a code block with triple backticks, but there's an extra empty line (463) followed by another empty line (464) and then a new bash code block starts on line 465. The structure should be cleaned up - the empty lines 463-464 between the closing backticks and the opening bash block appear to be unintentional formatting errors.

Suggested change

Copilot uses AI. Check for mistakes.
The `.ensrainbow` file format uses two main message types:

```protobuf
// Protobuf serialization format for [rainbow records](/docs/ensrainbow/concepts/glossary#rainbow-record)
Copy link

Copilot AI Jan 8, 2026

Choose a reason for hiding this comment

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

Markdown link syntax in a protobuf code block won't render as a clickable link. Inside code blocks, markdown formatting is not processed. Consider moving this comment outside the code block or using plain text within the code block.

Suggested change
// Protobuf serialization format for [rainbow records](/docs/ensrainbow/concepts/glossary#rainbow-record)
// Protobuf serialization format for rainbow records (see /docs/ensrainbow/concepts/glossary#rainbow-record)

Copilot uses AI. Check for mistakes.
Copy link
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.

@djstrong Thanks for updates. Shared a few small comments and it looks like there's a few interesting comments added by GitHub's AI.

Please take the lead to merge when ready 👍

@djstrong djstrong removed a link to an issue Jan 9, 2026
7 tasks
Copy link
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

Copilot reviewed 26 out of 27 changed files in this pull request and generated 2 comments.

Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

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

"@ensnode/ensrainbow-sdk": "workspace:*",
"@ensnode/ensnode-sdk": "workspace:*",
"@hono/node-server": "^1.4.1",
"bloom-filters": "^3.0.4",
Copy link

Copilot AI Jan 9, 2026

Choose a reason for hiding this comment

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

The bloom-filters package is added as a dependency but is not imported or used anywhere in the codebase. If this is intended for future use, consider adding a comment in the code or documentation explaining its purpose. Otherwise, this dependency should be removed to avoid bloating the package.

Suggested change
"bloom-filters": "^3.0.4",

Copilot uses AI. Check for mistakes.
---
title: What is ENSRainbow?
description: ENSRainbow is an open-source service that heals unknown ENS names by converting encoded labelhashes back to human-readable labels.
description: ENSRainbow is an open-source service that [heals](/docs/ensrainbow/concepts/glossary#heal) unknown ENS names by converting encoded labelhashes back to human-readable labels.
Copy link

Copilot AI Jan 9, 2026

Choose a reason for hiding this comment

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

Markdown link syntax in YAML frontmatter description will not be rendered as a link. The description field is typically used for meta tags and OpenGraph tags where markdown is not processed. It will appear as plain text: "heals". Consider using plain text without the link, e.g., "ENSRainbow is an open-source service that heals unknown ENS names by converting encoded labelhashes back to human-readable labels."

Suggested change
description: ENSRainbow is an open-source service that [heals](/docs/ensrainbow/concepts/glossary#heal) unknown ENS names by converting encoded labelhashes back to human-readable labels.
description: ENSRainbow is an open-source service that heals unknown ENS names by converting encoded labelhashes back to human-readable labels.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Docs related ensrainbow ENSRainbow related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants