Skip to content

Fallback cross-search table requests to legacy GET#1162

Merged
karilint merged 1 commit into
mainfrom
codex/crosssearch-post-fallback
May 21, 2026
Merged

Fallback cross-search table requests to legacy GET#1162
karilint merged 1 commit into
mainfrom
codex/crosssearch-post-fallback

Conversation

@karilint
Copy link
Copy Markdown
Collaborator

Summary

  • keep the new POST body requests as the primary cross-search table/locality path
  • retry the legacy GET routes only when the backend returns the rollout-skew HTML error Cannot POST /crosssearch/...
  • prevents the Occurrences list from hard-failing when the frontend is newer than the backend instance serving requests

Validation

  • npm run lint:frontend
  • npm run tsc:frontend
  • git diff --check
  • commit hook: npm run lint and npm run tsc

Follow-up for the reported Occurrences list error:

Cannot POST /crosssearch/all

@karilint karilint marked this pull request as ready for review May 21, 2026 11:57
@karilint karilint merged commit 300f8a9 into main May 21, 2026
3 of 4 checks passed
@karilint karilint deleted the codex/crosssearch-post-fallback branch May 21, 2026 11:57
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