diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-09-28 12:29:20 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-09-28 12:29:20 +0200 |
| commit | 34576a1ccda1ee192e8efbc653cb436111a9c5e8 (patch) | |
| tree | 261a6956bf139f4ea28353501a3ada84e3f32f03 /docs/MESHBAY_DESIGN.md | |
| parent | 694a3832f4b57d007b79b3b21dd47b55e6ef3c42 (diff) | |
| download | meshbay-34576a1ccda1ee192e8efbc653cb436111a9c5e8.tar.gz | |
fix(hub): say so when a lazily loaded view cannot be fetched0.16
A tab opened before a hub deploy got 404 for every module it had not
loaded yet, and lazy.js kept its spinner for good. It now shows a notice
with a Reload button and logs the failure.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/MESHBAY_DESIGN.md')
| -rw-r--r-- | docs/MESHBAY_DESIGN.md | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/MESHBAY_DESIGN.md b/docs/MESHBAY_DESIGN.md index e6bcece..78376a3 100644 --- a/docs/MESHBAY_DESIGN.md +++ b/docs/MESHBAY_DESIGN.md @@ -2518,7 +2518,12 @@ There is no folder-browsing protocol and this does not add one. 6. **Nothing to register for caching.** Every file under `static/` feeds the `/a/<hash>/` fingerprint, subdirectories included, so a new or changed module moves the URL by itself — which matters for a module reached through the - registry, since nothing imports it by name. + registry, since nothing imports it by name. The other side of that: the hub + serves the current hash only, so **a tab opened before a deploy gets 404 for + every module it had not loaded yet**. `lazy.js` says so and offers a reload + rather than keeping its spinner — it used to swallow the rejection, and a + stale tab then spun for ever on every lazily loaded view with an empty + console. 7. **Add the file to the test file-set lists** — hook ordering, sticky headers, transport contracts. A file missing from those lists is never checked, which fails silently rather than loudly. |