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: 9d7b12b

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

This PR includes changesets to release 14 packages
Name Type
ensrainbow Patch
ensindexer Patch
@docs/ensnode Patch
@ensnode/ensnode-sdk Patch
@ensnode/ensrainbow-sdk Patch
ensadmin Patch
ensapi Patch
@ensnode/ensnode-react Patch
@ensnode/ponder-metadata Patch
@ensnode/datasources Patch
@ensnode/ensnode-schema Patch
@ensnode/ponder-subgraph Patch
@ensnode/shared-configs Patch
@docs/ensrainbow 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 Dec 17, 2025 11:02am
ensnode.io Ready Ready Preview, Comment Dec 17, 2025 11:02am
ensrainbow.io Ready Ready Preview, Comment Dec 17, 2025 11:02am

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
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

Choose a reason for hiding this comment

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

The anchor fragments in the glossary URLs use underscores instead of hyphens, causing broken links to the documentation.

View Details
📝 Patch Details
diff --git a/terraform/variables.tf b/terraform/variables.tf
index 173d2b8..f690d77 100644
--- a/terraform/variables.tf
+++ b/terraform/variables.tf
@@ -85,21 +85,21 @@ variable "ethereum_holesky_rpc_url" {
 # The "fully pinned" label set reference that ENSIndexer will request ENSRainbow use for deterministic label healing across time. This label set reference is "fully pinned" as it requires both the labelSetId and labelSetVersion fields to be defined.
 variable "ensindexer_label_set_id" {
   type        = string
-  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."
+  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."
 }
 
 variable "ensindexer_label_set_version" {
   type        = string
-  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."
+  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."
 }
 
 # Label set that ENSRainbow will offer to its clients
 variable "ensrainbow_label_set_id" {
   type        = string
-  description = "The label set ID that ENSRainbow will offer to its clients. See https://ensnode.io/ensrainbow/concepts/glossary/#label_set_id for definition."
+  description = "The label set ID that ENSRainbow will offer to its clients. See https://ensnode.io/ensrainbow/concepts/glossary/#label-set-id for definition."
 }
 
 variable "ensrainbow_label_set_version" {
   type        = string
-  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."
+  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."
 }

Analysis

Incorrect anchor fragments in terraform glossary URLs break documentation links

What fails: terraform/variables.tf uses underscores in glossary anchor links (#label_set_id, #label_set_version) instead of hyphens, causing broken links to documentation

How to reproduce:

  • Navigate to any URL like https://ensnode.io/ensrainbow/concepts/glossary/#label_set_id
  • Link returns 404/anchor not found since actual anchors use hyphens

Result: Broken documentation links in terraform variable descriptions on lines 88, 93, 99, and 104

Expected: Working links using #label-set-id and #label-set-version per GitHub slugger rules (spaces become hyphens in anchors) and Astro documentation (uses github-slugger for heading IDs)

…s, adding references to the glossary for clarity. Update environment variable descriptions in `.env.local.example` files and improve comments in scripts to ensure consistent understanding of label set concepts.
…ipts to enhance clarity on label sets and versions. Add glossary references for better understanding across multiple files.
…criptions in Terraform variables for clarity on label sets and versions. Add references to the glossary for improved understanding.
…sh and add references to the ENSRainbow Glossary for comprehensive understanding.
…l" in the ENSRainbow overview and API client comments, improving clarity and user understanding.
…rd" in multiple files, improving clarity and user understanding of the data model and related concepts.
…VERSION references and enhancing clarity in environment variable definitions. Update examples for consistency and improve overall readability.
…set reference links, ensuring consistency and clarity in documentation. Enhance user understanding of environment variables related to label sets.
Updated the URL for the labelhash glossary reference.
…creating `.ensrainbow` files from both SQL and CSV sources. Update the description of the `searchlight` label set to reflect its availability and improved dataset features. Revise performance metrics for the `searchlight` dataset and include usage examples for downloading the extended discovery dataset.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation ensrainbow ENSRainbow related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants