Literal insert intermittently fails: the native window ID could not be read
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
The payload names only the desktop_insert tool, the LITERAL_INSERT_FAILED error, and the message "The native window ID could not be read", so start by finding where that error is raised and where the window ID is read before any input is posted. Decide first whether the read is transient; that decision picks the fix, either a retry before delivery or an outcome of refused instead of unknown. Done means the failure path reports the correct outcome and a test covers it, which likely needs a TextEdit window and maintainer input on the design.
索引モデルが issue の本文から書いたものです。
説明
Found in the Ace desktop tools study (githubnext/ace#427). It happened twice in about 70 inserts into a TextEdit document, with no other interference.
Observed: desktop_insert returned outcome: unknown, consumption: unverified, LITERAL_INSERT_FAILED: "Background keyboard preparation did not finish; observe before another input." The cause was "The native window ID could not be read." The hint: "Observe the exact window again; no foreground fallback or guessed click is permitted." Nothing had been inserted either time, and the clipboard was restored. Each agent re-inspected and inserted once more, which worked.
- D3c, Canary 0.0.46+684262d, line 9 of 15, window 11145. This was after the channel worker restarted, but several inserts had succeeded since.
- D4, Canary 0.0.46+8fbfcc3, line 7 of 12, window 11314. Another channel's agent was working in a second TextEdit window at the same time.
Why it matters: each failure costs a re-inspect and a retry, and the outcome is unknown even though nothing was delivered. If the window ID read is transient, retrying it before any input unit is posted would keep the outcome exact. If it isn't transient, the refusal should say it happened before delivery (refused, not unknown).
- 主要言語
- Swift
- スター
- 0
- フォーク
- 0
- 平均マージ
- 31分
- マージ済み PR(30日)
- 14
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
githubnext/desktop-tools のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
githubnext/desktop-tools#25 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
githubnext/desktop-tools#30 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
githubnext/desktop-tools#27 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 8/100
githubnext/desktop-tools#24 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
githubnext/desktop-tools#23 ·
メンテナーはふだん 1 日以内に返信
githubnext/desktop-tools の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
type: cleanup
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
googleapis/google-cloud-swift#1477 ·
メンテナーはふだん 1 日以内に返信
-
product / auth product / console product / databases product / messaging product / self-hosted product / sites product / storage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
P1 status: first-line-handled status: needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
a2ui-project/a2ui#3282 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
element-hq/element-x-ios#6357 ·
メンテナーはふだん 1 日以内に返信