Skip to content

fix(frontend): wait for redirect route replacement#771

Merged
horacioh merged 2 commits into
mainfrom
document-redirect-resilience
Jun 12, 2026
Merged

fix(frontend): wait for redirect route replacement#771
horacioh merged 2 commits into
mainfrom
document-redirect-resilience

Conversation

@horacioh

Copy link
Copy Markdown
Collaborator

Summary

  • Waits on a loading state when a redirected document resolves before the URL has been replaced, avoiding rendering the target document under the stale route.
  • Treats redirect chains that exceed the max depth as an error instead of returning a redirect resource.
  • Adds tests for redirect query caching, version handling, max-depth behavior, and route-replacement waiting.

horacioh added 2 commits June 12, 2026 16:17
Return an error when resource redirects exceed the max depth instead of
leaking a redirect resource, avoid carrying source versions onto redirect
targets, and keep redirected resource data cached under both source and
target query keys.
@horacioh horacioh merged commit 5dbe761 into main Jun 12, 2026
8 checks passed
@horacioh horacioh deleted the document-redirect-resilience branch June 12, 2026 15:50
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