Skip to content

chore(device): bump idevice to v0.1.68-4 and adopt ProcessControlClient::launch_with_options - #286

Merged
Derrors merged 1 commit into
mainfrom
chore/bump-idevice-v0.1.68-4
Dec 6, 2026
Merged

Derrors merged 1 commit into
mainfrom
chore/bump-idevice-v0.1.68-4

Conversation

@Derrors

@Derrors Derrors commented Dec 6, 2026

Copy link
Copy Markdown
Owner

Summary

  • Bumps [patch.crates-io].idevice in Cargo.toml and Cargo.lock (single-line lock diff) to Derrors/idevice tag v0.1.68-4 (f908ecd, PR feat(dvt): relax payload decode, expose launch_with_options, and grow large reads incrementally (F2) idevice#7).
  • Converges Tunnel::launch_in_background (crates/ictl-device/src/lib.rs) onto ProcessControlClient::launch_with_options, removing hand-rolled processcontrol make_channel / call_method / AuxValue boilerplate and manual NSCode digging.
  • Maps IdeviceError::Dvt(DvtError::LaunchFailed(NsErrorInfo)) to DeviceError::LaunchRefused(String) via format_launch_error, keeping NSError code N while surfacing decoded NSError domain/description (tested in launch_refused_formats_structured_ns_error_info).
  • Keeps ictl-ax/src/dtx.rs intentionally separate from Message::from_reader (raw wire channel without RemoteServerClient even-conversation negation, 64-way coalesced write_all, and avoiding redundant ns_keyed_archive decode on hot AX frames) and updates its stale module comment.
  • Syncs v0.1.68-4 across THIRD_PARTY.md, docs/architecture.md, docs/decisions.md, docs/licensing.md, docs/dev/wifi.md, and docs/images/arch-crate-deps-{light,dark}.svg.

Test plan

  • Rust 1.99.1 per-crate cargo fmt -p "$p" -- --check (all 16 workspace crates)
  • Rust 1.99.1 cargo clippy --workspace --all-targets --all-features --locked -- -D warnings (0 warnings in workspace crates)
  • Rust 1.99.1 RUSTDOCFLAGS="-D warnings" cargo doc --workspace --all-features --no-deps --locked (and --document-private-items)
  • Rust 1.99.1 cargo test --workspace --all-features --locked (1023 passed / 0 failed / 2 ignored)
  • Rust 1.89.0 MSRV cargo check --workspace --all-targets --all-features --locked
  • node --test tests/viewer/*.test.mjs (59/59)
  • python3 tests/check_regression_cases.py (318 cases, 567 names, 0 missing)
  • python3 -m unittest discover -s tests/device -p 'test_*.py' (21/21)
  • Real-device regression: background WDA launch (launch_in_background via ProcessControlClient::launch_with_options on iPad / WDA path) and iOS 27 native flow smoke

🤖 Generated with Claude Code

…nt::launch_with_options

Bumps `[patch.crates-io].idevice` to `Derrors/idevice` `v0.1.68-4` (`f908ecd`)
and adopts the newly exposed DVT APIs in `ictl-device`:

- Replace hand-rolled `com.apple.instruments.server.services.processcontrol`
  channel setup, `AuxValue` packing, and manual `NSCode` probing in
  `Tunnel::launch_in_background` with `ProcessControlClient::launch_with_options`.
- Handle `DvtError::LaunchFailed(NsErrorInfo)` cleanly in `DeviceError::LaunchRefused`,
  preserving the numeric `NSError code` while also surfacing decoded domain and
  localized description when present (with unit test coverage).
- Keep `ictl-ax::dtx` as a thin raw frame reader (required for raw wire channels,
  64-way coalesced batch writes, and avoiding redundant `ns_keyed_archive` decoding
  on hot `remoteAXService` frames) and refresh its stale module comment.
- Sync `v0.1.68-4` references across `THIRD_PARTY.md`, `docs/`, and crate-deps SVGs.

Co-Authored-By: Claude Code <noreply@anthropic.com>
@Derrors
Derrors merged commit cb2df41 into main Dec 6, 2026
7 checks passed
@Derrors
Derrors deleted the chore/bump-idevice-v0.1.68-4 branch December 6, 2026 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant