[nu-demo] hero_os_app: island-room (and possibly others) missing from web feature — WASM 404 at runtime #14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Symptom
Clicking Rooms (under Intelligence in the dock) shows:
Root cause
hero_os/crates/hero_os_app/Cargo.toml:43defines the feature:But the
webfeature list (line 117+) does NOT includeisland-room:The dock does route to the
roomisland (registry.rs registers it under Intelligence archipelago), but the WASM bundle doesn't contain the code, so runtime dispatch 404s.Same class of bug as the earlier
island-videosregression (fixed in our rebuild by addingFEATURES="web,island-videos"). Suspect other features are also drift:island-knowledge,island-intelligence,island-servicesall appear inweb-nativebut notweb.Demo workaround (planned)
Rebuild
hero_os_appwithFEATURES="web,island-videos,island-room"(and grep the registry/dock for any other referenced islands missing fromweb). One-time ~8 min.Proper fix
registry.rsdock/archipelago entries against thewebfeature list. Any referenced island missing fromweb= incomplete build.v.push(..._metadata())call inregistry.rsis behind a#[cfg(feature = "...")]whose feature is in theweblist. Fail the build otherwise.webandweb-nativeinto a singlewebfeature with a sub-flag for native islands, so the two lists can't drift out of sync.Related: native islands use
web-native— some are already registered. Unifying would eliminate duplication.Linked
island-videosafter the fact.Filed 2026-04-23 nu-shell demo bring-up. Signed-off-by: mik-tf
Originally filed as home#123 on 2026-04-23 by mik-tf — moved to hero_demo as part of consolidating issue tracking.
webfeature — WASM 404 at runtime #123