Repository navigation
Conversation
2 tasks done
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
Fresh GeoShift 1.5.2 installations can resolve pymobiledevice3 9.31.0 with pmd-pytcp 0.3.7. That backend calls PyTCP synchronously, while pmd-pytcp 0.1.0 and newer expose async methods, preventing the developer tunnel from opening and triggering a QueueFull callback flood.
Constrain pmd-pytcp to >=0.0.4,<0.1.0 in every documented installation/test command and Python CI. Add real installed-version and synchronous TCP/UDP API regression checks, a forced reinstall command for affected uv installations, and troubleshooting notes separating the callback flood from reconnect retries and misleading restore-status text.
Refs #4.
Verification
swift test: 21 tests passed.uv run, freshuv tool install, and freshpipvenv. All resolved pymobiledevice3 9.31.0 + pmd-pytcp 0.0.6.uv runresolved pmd-pytcp 0.3.7; the two new tests failed with eight version/API assertions before the install commands were corrected.pip check: no broken requirements. The pairing helper imports successfully with the corrected backend.git diff --checkand packaging-script syntax checks passed.Physical-iPhone acceptance is pending: no USB device was visible and the saved Wi-Fi connection probe timed out. Local installation/API/unit/UI checks do not prove tunnel establishment or a real location change. No release, version bump, or published build is part of this PR.
Safety impact
The constraint restores the synchronous dependency contract required by the existing tunnel implementation. Runtime safety logic for Start, Restore GPS, target identity, reconnect, heartbeat, termination, and pending clear is unchanged. Indefinite pending-clear retries remain necessary; general error deduplication and clearer device-discovery versus tunnel-failure UI are separate follow-ups.
Keep this PR in draft until an unlocked physical iPhone with Developer Mode passes tunnel connection, Start to a selected city, location verification in Maps, Restore GPS, and reconnect checks.