Skip to content

fix: mobile thread jump#63

Merged
sirily11 merged 2 commits into
mainfrom
fix-mobile-thread-jump
May 28, 2026
Merged

fix: mobile thread jump#63
sirily11 merged 2 commits into
mainfrom
fix-mobile-thread-jump

Conversation

@sirily11
Copy link
Copy Markdown
Contributor

@sirily11 sirily11 commented May 28, 2026

RxCode — fix-mobile-thread-jump

  • App navigation: Fixed automatic thread navigation on Android and iOS.
  • User interaction: RxAuthSwift agent acknowledged user requests with "Hi!", and the code was updated to remove timeout-related issues.
  • Service update: Updated PermissionServer.swift to handle prompt waiting indefinitely.
  • Decision focus: Emphasized prompt waiting for user responses, ensuring consistent user experience.
  • Ongoing task: Gradle compile task bngzczst6 completed.
  • No unresolved follow-ups or issues identified.

sirily11 added 2 commits May 28, 2026 00:10
…rkspace/xcshareddata/swiftpm/Package.resolved and related files
- remove redundant activeSessionID assignment
- ensure activeSessionID is properly handled without navigation commands
- update MobileAppState+Inbound.swift to reflect changes
Copilot AI review requested due to automatic review settings May 28, 2026 06:20
@vercel
Copy link
Copy Markdown

vercel Bot commented May 28, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
rxcode Ready Ready Preview, Comment May 28, 2026 6:20am

Request Review

@autopilot-project-manager autopilot-project-manager Bot added the bug Something isn't working label May 28, 2026
@sirily11 sirily11 enabled auto-merge (squash) May 28, 2026 06:21
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates mobile snapshot handling to avoid unintended thread navigation, adjusts permission prompts to wait indefinitely, and adds responsiveness improvements for shell path prewarming, stream setup, and todo snapshot UI refreshes.

Changes:

  • Guards mobile activeSessionID adoption during snapshots to reduce thread jumps.
  • Removes PermissionServer timeout-denial behavior and lets UI prompts remain pending.
  • Adds shell PATH prewarm, concurrent pre-spawn work, and todo snapshot revision invalidation.

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
RxCodeMobile/State/MobileAppState+Inbound.swift Updates iOS snapshot active-session adoption behavior.
RxCodeAndroid/app/src/main/java/app/rxlab/rxcode/state/MobileAppState.kt Updates Android snapshot active-session adoption behavior.
RxCode/Views/Toolbar/TodoProgressToolbarItem.swift Reads todo snapshot revision to refresh SwiftData-backed todos.
RxCode/Services/PermissionServer.swift Removes permission prompt timeout tasks and denial fallback.
RxCode/Services/IDEServer/AppState+IDEToolHandling.swift Bumps todo snapshot revision after IDE todo writes.
RxCode/Services/CodexAppServer+Process.swift Adds Codex environment prewarm helper.
RxCode/Services/ClaudeService+Discovery.swift Adds Claude shell PATH prewarm helper.
RxCode/Services/ACPService+Spawn.swift Adds ACP environment prewarm helper.
RxCode/App/AppState+Stream.swift Bumps todo snapshot revision after streamed TodoWrite persistence.
RxCode/App/AppState+Lifecycle.swift Starts backend shell PATH cache prewarming during initialization.
RxCode/App/AppState+CrossProject.swift Runs pre-spawn setup concurrently and bumps revision for Codex todo snapshots.
RxCode/App/AppState.swift Adds observable todo snapshot revision counter.
RxCode.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved Updates SwiftPM origin hash only.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

active != null &&
currentActive != null &&
isDraftSessionId(currentActive) &&
nextRedirects[currentActive] == active
Comment on lines +437 to +439
/// The first requester emits to the UI stream; CLI retries — issued every time the
/// CLI's own HTTP hook timeout expires — join the same entry by appending another
/// continuation, so the eventual answer reaches whichever HTTP connection is live.
@sirily11 sirily11 merged commit 0dd4b1c into main May 28, 2026
12 checks passed
@sirily11 sirily11 deleted the fix-mobile-thread-jump branch May 28, 2026 06:33
@sirily11
Copy link
Copy Markdown
Contributor Author

🎉 This PR is included in version 1.13.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants