fix: harden Pages, remote sync, and subscription auth - #1670
Merged
bobleer merged 3 commits intoJul 22, 2026
Conversation
Harden Pages storage, account transitions, subscription credentials, relay state, bot persistence, and mobile control-target ownership across supported platforms.
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
PPT Live is intentionally out of scope and is not changed by this PR.
Key changes
Pages
Subscription authentication
Remote and mobile experience
Shared UX
Verification
pnpm run lint:webpnpm run type-check:webpnpm --dir src/mobile-web run type-checkpnpm run build:webpnpm run build:mobile-webpnpm run i18n:contract:test(37 passed)pnpm run i18n:audit(0 warnings)pnpm run theme:color-audit:allpnpm run check:github-configpnpm run check:repo-hygienenode --test scripts/check-core-boundaries.test.mjs(16 passed)cargo test -p bitfun-page-function-runtime(5 passed)cargo test -p bitfun-relay-service(55 passed)cargo test -p bitfun-relay-server --test library_compat(1 passed)cargo test -p bitfun-ai-adapters --features subscription-auth subscription_auth(30 passed)cargo test -p bitfun-services-integrations --features remote-connect page_upload(7 passed)cargo check -p bitfun-desktop -p bitfun-clipnpm run fmt:rsgit diff --checkFollow-up
Pages under
/pstill share the relay/mobile origin. Credential stripping, scoped grants, and response-header filtering mitigate the current risk, but full isolation should move Pages to a dedicated domain or port with strict CORS. Windows and Linux cross-compilation was not available on the local macOS host; the added CI matrix covers the targeted affected services on macOS, Ubuntu, and Windows.