Skip to content

Conversation

@dslovinsky
Copy link
Collaborator

@dslovinsky dslovinsky commented Jan 23, 2026

Description

After content-indexer runs in main, this will call the new revalidate index endpoint to ensure the newly indexed content is now fetched by the frontend. This ensures that sidebar navs for example update in tandem: so its not possible for different pages in the same tab to have different sidebar navs (because one is out of date).

Related Issues

Changes Made

  • Trigger new revalidate index endpoint after all indexer runs

Testing

  • I have tested these changes locally
  • I have run the validation scripts (pnpm run validate)
  • I have checked that the documentation builds correctly

@dslovinsky dslovinsky self-assigned this Jan 23, 2026
Copilot AI review requested due to automatic review settings January 23, 2026 23:29
@dslovinsky dslovinsky requested a review from a team as a code owner January 23, 2026 23:29
@github-actions
Copy link

github-actions bot commented Jan 23, 2026

🌿 Documentation Preview

Name Status Preview Updated (UTC)
Alchemy Docs ✅ Ready 🔗 Visit Preview Jan 23, 2026, 11:31 PM

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 PR adds automatic cache revalidation after content indexing to ensure frontend data stays synchronized. When content indexers complete, they now trigger the revalidation endpoint to update cached indices and navigation trees, preventing stale sidebar navigation issues across different pages.

Changes:

  • Added revalidation API calls to all three content indexing workflows
  • Implemented error handling and logging for revalidation responses
  • Configured dynamic navigation tree detection for main content workflow

Reviewed changes

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

File Description
.github/workflows/index-sdk-references.yml Adds revalidation step for SDK index and wallets navigation tree after SDK reference indexing
.github/workflows/index-main-content.yml Adds revalidation step with dynamic nav tree extraction from docs.yml after main content indexing
.github/workflows/index-changelog.yml Adds revalidation step for changelog index after changelog indexing

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

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b5ada521f8

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@dslovinsky dslovinsky merged commit a921026 into main Jan 24, 2026
8 of 9 checks passed
@dslovinsky dslovinsky deleted the ds/revalidate-index branch January 24, 2026 00:11
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