fix(remote-connect): register session revert port and streamline mobile message actions - #3245
Open
BingCHuanJ wants to merge 17 commits into
Open
BingCHuanJ wants to merge 17 commits into
BingCHuanJ wants to merge 17 commits into
Conversation
… safe workspace gate
…idate base64 image data urls
…pt and normalize whitespace data urls
…aths in browser test fixtures
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
This PR fixes the issue where rolling back or editing messages in remote control sessions fails with
agent session revert port is not registered. It also refines the message action menus and confirmation dialogs inmobile-webfor a cleaner user experience.Problem
CoreRemoteSessionRuntimeHostdid not inject the global scheduler when setting up the agent runtime host, leaving thesession_revertport unregistered on remote session instances.Changes
service_agent_runtime.rs):get_global_scheduler()during runtime host construction and registered.with_session_revert_port(session_revert).mobile-web):ChatMessageActions.tsx).zh-CN,zh-TW, anden-US(messages.ts).Symbollock to prevent rapid clicks and isolate responses across session switches./@fs/paths in browser test fixtures.Verification
All automated tests pass cleanly:
openbitfun-core: 35 tests passed (service_agent_runtime,rollback,staged_revert).openbitfun-services-integrations: 25 tests passed (remote_connect_contracts).mobile-web: 136 tests passed (including UI components, workspace identity, and all browser end-to-end suites).