You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(id): web facade (feature web) does not compile against id-worlds since the crate split #9151
pkgs/id's web facade (src/web/, feature web) does not compile at main ec536c5 — it still calls into id-worlds items that the #4408 crate split left pub(crate) or private:
cargo check -p id --lib --features web (from pkgs/id/) fails with 5 errors, including:
WorldHandle::host_view is pub(crate) in crates/id-worlds/src/world/handle.rs (~line 1185) but is called from src/web/world_ws.rs host_view_handler.
crate::world_session::MAX_RECORDS_PAGE_BYTES is a pub(crate) alias in crates/id-worlds/src/world_session/mod.rs but is used by the host-view paging loop in src/web/world_ws.rs.
WorldService.world field is private (a world() method exists) where src/web/world_ws.rs accesses the field.
crate::world_session::encode_hex is pub(crate) in id-worlds but imported by world_ws tests.
The lib test target additionally fails (9 errors): crate::world_hub::testing::MemoryOpener is #[cfg(test)] pub(crate) inside id-worlds, so it can never be visible to the id package's tests; crate::fileops::{claim_archive_name, snapshot_provenance_tags} unresolved from src/web/routes.rs; directory_view::level_name private from src/web/explore.rs.
--all-features check fails too (same class), while default features (sandbox, world) check clean — which is why this survives: no CI job builds the web feature (id-check.yml runs default / no-default / no-world configs only).
Impact
Any change to src/web/world_ws.rs (e.g. #9104) cannot be compile- or test-verified locally in the web configuration until this is fixed; the host-view / world bridge surface is effectively unbuildable from the facade crate.
Suggested fix
Decide the intended visibility contract between the facade and id-worlds (promote the needed items to pub with docs, or move the web bridge into id-worlds), restore cargo check -p id --lib --features web and the lib test target under that feature set, and add a CI job that builds the web feature so it cannot silently rot again.
Found by lane code-c during task 15343 (#9104), 2026-11-13. All errors reproduce on clean main with the task's diff stashed.
Build check:cargo check --manifest-path pkgs/id/Cargo.toml -p id --features web completes successfully (dev profile, warnings only; no compile errors).
The specific visibility issue called out in the report appears addressed on current main (e.g. pkgs/id/crates/id-worlds/src/world/handle.rs now exposes pub async fn host_view(...)), and the web facade feature compiles again.
Closing as fixed on current main. If there are remaining web/test-target gaps not covered by -p id --features web, please reopen with the current failing command/output.
Activity
developing-today commentedon Nov 13, 2026
CODE-2851
dezren39 commentedon Nov 15, 2026
Issue sweep verification (2026-11-15)
Checked against current
mainat87e0133554.Build check:
cargo check --manifest-path pkgs/id/Cargo.toml -p id --features webcompletes successfully (dev profile, warnings only; no compile errors).The specific visibility issue called out in the report appears addressed on current main (e.g.
pkgs/id/crates/id-worlds/src/world/handle.rsnow exposespub async fn host_view(...)), and the web facade feature compiles again.Closing as fixed on current main. If there are remaining web/test-target gaps not covered by
-p id --features web, please reopen with the current failing command/output.