Repository navigation
fix(browser): restore remote HTML site routes and navigation - #3595
Merged
bobleer merged 1 commit intoOct 29, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Opening a nested website build such as
website/dist/index.htmlexposed the workspace path to its client router, producing the website's own 404. Navigating or refreshing/evaluationthen failed withPreview resource not foundbecause the HTTP gateway only served literal files.Open selected
index.html/index.htmdocuments at/and use that entry for missing extensionless document navigations. SSH workspaces and Desktop/CLI Peer Device previews share this controller-side behavior.Type and Areas
Type: bug fix
Areas: Desktop HTML preview gateway, encrypted Relay regression, native browser acceptance, owning guides
Motivation / Impact
Verification
Passed locally:
Reproduced both reported 404s in the native macOS browser against the actual Linux SSH workspace and its deployed website build before the fix.
cargo test --locked -p openbitfun-desktop --lib site_index_opens_at_root_and_document_routes_reuse_the_entryfailed on the original gateway because bootstrap exposed the workspace-prefixed entry URL.cargo test --locked -p openbitfun-desktop --lib html_preview— 14 passed, 1 opt-in benchmark ignored; includes encrypted Relay and unchanged v1 target compatibility.pnpm run fmt:rs,pnpm run build:web,cargo build --locked -p openbitfun-desktop,node --check tests/e2e/scripts/run-html-preview.mjs, andgit diff --checkpassed.node tests/e2e/scripts/run-html-preview.mjspassed on the native macOS browser, including visible-view image animation, initial site route, link navigation, reload, query-bearing deep link and missing-image 404.A separate native acceptance run against the actual Linux SSH workspace passed first open, all image decodes, evaluation-page navigation/reload and direct docs navigation. The visible-view screenshot confirms the homepage hero image paints correctly; the initial hidden test view had frozen its CSS entrance animation at opacity zero.
Final head
912c5f8ad4346f9a5a3a410b904d81081f504482passed all executed CI checks, including all three Rust/CLI platforms, frontend build/tests and aggregate validation in CI run 40803497160. The two impact-selected jobs were skipped by existing workflow rules.Reviewer Notes
AI-assisted change. Remote SSH workspace and encrypted Peer Device paths are tested separately. The peer fixture is an encrypted loopback Relay integration, not a physical two-device account test. Mobile/IM Remote Control and Detached Dispatch are unchanged and unexercised.
Index previews follow normal site-root URL resolution; ordinary named HTML documents retain workspace-relative
./and../behavior. Existing preview-capable CLI/Desktop targets need no protocol upgrade. No persisted shape changes.The reported homepage image files exist on the Linux host. The native SSH baseline successfully decoded both the hero image and the image loaded after scrolling. Post-fix visible-view acceptance also confirms image painting; no independent image-transfer failure was established.
Checklist