fix(app-management): resolve app names against rehydrated sessions - #488
Merged
Conversation
KazuCocoa
approved these changes
Aug 15, 2026
github-actions Bot
pushed a commit
that referenced
this pull request
Aug 15, 2026
## [1.92.3](v1.92.2...v1.92.3) (2026-08-15) ### Bug Fixes * **app-management:** resolve app names against rehydrated sessions ([#488](#488)) ([f268e87](f268e87))
|
🎉 This PR is included in version 1.92.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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.
Problem
getInstalledAppslooks the driver up with the raw store getter:That skips
resolveDriver, so it never re-attaches a persisted remote session. After an MCP process recycle,appium_app_lifecycleresolved by name fails with "No active driver session" while the same action by id succeeds on the same session, because the lifecycle handlers (activate,terminate,uninstall, …) callresolveDriverthemselves but only afterresolveIdhas already run.permissions.tsdoes not hit this, since it callsresolveDriverbeforeresolveAppId.Fix
Resolve the driver through
resolveDriverso name lookups rehydrate the session like every other tool. The thrown message is unchanged when the session genuinely cannot be resolved.Test
Added
src/tests/tools/app-management/resolve-app-id.test.ts: