Skip to content

Improve diagnostics when Codex cross-link index fetch fails - #3894

Open
reakaleek wants to merge 2 commits into
mainfrom
cursor/cross-link-fetch-errors
Open

Improve diagnostics when Codex cross-link index fetch fails#3894
reakaleek wants to merge 2 commits into
mainfrom
cursor/cross-link-fetch-errors

Conversation

@reakaleek

Copy link
Copy Markdown
Member

Why

  • When the Elastic Internal Docs link index cannot be fetched, builds emit many per-link errors that do not explain the root cause.
  • Fork pull request jobs often fail because GitHub does not provide an OIDC token to clone elastic/codex-link-index.

What

  • Record cross-link fetch failures and emit one summary diagnostic from the docset configuration file.
  • Suppress per-link validation errors when the link index for that repository was not loaded.
  • Improve git clone failure messages for CI fork jobs and local development.

Notes

Made with Cursor

Co-authored-by: Cursor <cursoragent@cursor.com>
Tests of fetch-failure diagnostics already go through public APIs.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants