Skip to content

fix: surface unresolved repo ref suggestions#193

Merged
jlitola merged 1 commit into
mainfrom
pollen-spectrograph
Jun 24, 2026
Merged

fix: surface unresolved repo ref suggestions#193
jlitola merged 1 commit into
mainfrom
pollen-spectrograph

Conversation

@jlitola

@jlitola jlitola commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • parse REF_NOT_FOUND available_refs from code-navigation GraphQL error extensions
  • expose repoUrl, requestedRef, and availableRefs in CLI/MCP error details
  • append did-you-mean text only when the backend message does not already include suggestions

Verification

Notes

  • github:update summary to auto openai/codex#1.2.3 currently returns REF_NOT_FOUND without availableRefs because the dev backend does not suggest refs for that case yet; the client now handles future available_refs coverage without another change.

Parse REF_NOT_FOUND available_refs from the code navigation GraphQL error extensions and expose them through CLI/MCP error details. Add fallback did-you-mean text only when the backend message does not already include suggestions.
@jlitola jlitola merged commit 67f08cb into main Jun 24, 2026
10 checks passed
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.

1 participant