`fold` always fails on Xcode 27.1 RC: its pose check calls `devicectl device motion hinge-angle`, which this devicectl doesn't have
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- cli, mobile-dev
調査の方向性
Start at the fold pose check, which runs devicectl device motion hinge-angle and emits the 'Unknown option' hint, and at the apple_fold_pose_dispatched logging just before it. Reproduce on an iPhone Duo simulator with iOS 27.1 using fold open, and confirm the command runs even though devicectl 651.13.5 lacks motion. Done means that a devicectl without motion either verifies the pose another way or reports a distinct 'dispatched but unverified' error code, and that fold closed behaves the same way.
索引モデルが issue の本文から書いたものです。
説明
Environment
- agent-device 0.21.13 (reproduced). The latest, 0.21.27, has the same check (
devicectl device motion hinge-angle --device <udid> --session-timeout 1 --timeout 5) and the same hint, with no other way to verify the pose. - Xcode 27.1 RC, build 27A9275. devicectl 651.13.5.
- macOS 27.0.
- Simulator: iPhone Duo (
com.apple.CoreSimulator.SimDeviceType.iPhone-Duo) on iOS 27.1 (24A94232).
Steps
- Create and boot a stock Duo simulator:
xcrun simctl create "Duo test" com.apple.CoreSimulator.SimDeviceType.iPhone-Duo com.apple.CoreSimulator.SimRuntime.iOS-27-1 xcrun simctl boot <udid> - Open Settings, then unfold:
agent-device open com.apple.Preferences --device "Duo test" agent-device fold open
Expected: fold open reports the verified pose open.
Actual: within about a second it fails:
Error (COMMAND_FAILED): CoreDevice reported no hinge angle sample: Unknown option '--device'
Hint: This Xcode/CoreDevice toolchain does not stream 'devicectl device motion hinge-angle' for this device. Foldable poses can be verified only through that stream; update Xcode to a version that ships it.
But the fold has already happened:
- The request log shows
apple_fold_pose_dispatchedwith the requested pose before the failure. agent-device screenshotnow reports the inner panel's size (951x669). Settings is shown in landscape split view.fold closedfails the same way and brings back the outer panel (466x678).
Why: devicectl 651.13.5 has no motion subcommand. xcrun devicectl help device lists appResize, capture, copy, info, install, notification, orientation, pairings, pasteboard, process, profile, reboot, rename, settings, simulate, sysdiagnose, uninstall, and xcrun devicectl device motion hinge-angle --device <udid> fails with Error: Unknown option '--device'. devicectl device info displays --device <udid> still works on this build and lists both integrated panels.
Suggestion: on a devicectl without device motion, verify the pose another way. For example, use the lit panel's size from a capture, as fold already reports it. Or report the pose as dispatched but unverified, with its own error code, so callers can tell "sent, not verified" from "failed".
- 主要言語
- TypeScript
- スター
- 5k
- フォーク
- 334
- 平均マージ
- 11時間 48分
- マージ済み PR(30日)
- 605
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
callstack/agent-device のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
callstack/agent-device#3407 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
callstack/agent-device#3353 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
callstack/agent-device#1869 ·
メンテナーはふだん 1 日以内に返信
-
iOS: fill rejects the right text as `TEXT_ENTRY_MISMATCH` when the focused field moves while typing (since 0.21.25)対応中かも @Lanchez が今日担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
callstack/agent-device#3595 ·
メンテナーはふだん 1 日以内に返信
-
ready-for-agent refactor
難易度 4/5 3〜5日 初心者へのやさしさ 22/100
callstack/agent-device#3576 ·
メンテナーはふだん 1 日以内に返信
callstack/agent-device の issue をすべて見る
似ている issue
-
Contrib indemnité de départ à la retraite : faire le pont avec le simulateur sur la page génériqueオープンP1
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
SocialGouv/code-du-travail-numerique#7561 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
kubernetes-sigs/headlamp#7950 ·
メンテナーはふだん 3 日以内に返信
-
README for cli対応中かも @Janvi-kapoor が今日担当しました。 オープンOSCI'26
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
GauravKarakoti/SecureFlow#1308 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
vitest-dev/vitest#11577 ·
メンテナーはふだん 1 日以内に返信