Skip to content

[pull] main from remix-run:main - #339

Merged
pull[bot] merged 4 commits into
code:mainfrom
remix-run:main
Aug 27, 2026
Merged

[pull] main from remix-run:main#339
pull[bot] merged 4 commits into
code:mainfrom
remix-run:main

Conversation

@pull

@pull pull Bot commented Aug 27, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

brophdawg11 and others added 4 commits August 27, 2026 16:01
Assisted-By: devx/aaadeb35-56c3-489a-a810-9ba5c4bbf995
…ered (#15399)

* fix: don't cache aborted lazy route discoveries as discovered

fetchAndApplyManifestPatches mutated manifest.routes and added the path to
the module-singleton discoveredPaths FIFO unconditionally once the
/__manifest response body settled, while the router's patch callback no-ops
when the triggering navigation/fetcher signal has aborted in the meantime.
An abort landing in that window cached the path as "discovered" for the
rest of the session while the route tree was never patched, so every
subsequent visit matched an ambiguous route (e.g. a catch-all) instead of
the real one - or 404ed when nothing matched. Only a hard reload cleared it.

Bail out before any cache/manifest mutation when the signal has already
aborted so the next visit to the path re-runs discovery.

Fixes #15327

* chore: sign CLA

---------

Co-authored-by: Matt Brophy <matt@brophy.org>
@pull pull Bot locked and limited conversation to collaborators Aug 27, 2026
@pull pull Bot added the ⤵️ pull label Aug 27, 2026
@pull
pull Bot merged commit 917e6fd into code:main Aug 27, 2026
7 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants