Explain and recover from a quarantined ScreenCaptureKit gate
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 25/100
Piste de recherche
Start with ScreenCaptureKitCaptureGate and the per-user lock at $TMPDIR/boo.peekaboo.sckit-capture.lock, then the code path where desktop_inspect falls back to the CGWindowList capture. Check how the quarantine error and the refusal message are produced, and how the 1 s apps budget is enforced. Done means the refusal explains a temporary conflict with a retry hint, inspection falls back to CGWindowList when ScreenCaptureKit is quarantined, and the lock design is settled with maintainers.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Found in the Ace desktop tools study (githubnext/ace#427), D3c on Canary 0.0.46+684262d, 2026-10-15 at about 14:55 EDT.
Observed: in the middle of a run, after a desktop_menu File → New, every desktop_inspect failed with DESKTOP_ERROR: Capture failed: ScreenCaptureKit is quarantined after an abandoned SCShareableContent.fetchWindowForWindowID call. desktop_apps timed out against its 1.00 s observation budget, and another call returned The operation couldn't be completed. Operation timed out. The agent stopped safely and typed nothing. A few minutes later, inspect worked again through the CGWindowList engine (capture.window 770 ms), and apps took 955 ms, close to its 1 s budget.
Likely cause: Peekaboo coordinates ScreenCaptureKit across processes with a per-user lock at $TMPDIR/boo.peekaboo.sckit-capture.lock (ScreenCaptureKitCaptureGate). At the same time, a separate process on the Mac was running Peekaboo's AutomationKit tests (the patch test run for the pin bump), which do real captures. Any two Peekaboo users on one Mac share that gate and can starve or quarantine each other: Ace dev and Canary, Ace and a Peekaboo CLI, or tests.
Asks:
- The refusal should say the problem is temporary and caused by another capture, and give a wait-and-retry hint. Today it reads like a broken desktop.
- When ScreenCaptureKit is quarantined, inspection should fall back to the CGWindowList capture it already uses afterwards, rather than failing.
- Consider giving the gate a host-specific lock, or one keyed to the host's identity, so separate embedding apps don't block each other. Possibly upstream.
- The 1 s apps inventory budget leaves no headroom when the Mac is loaded (955 ms when healthy).
- Langage dominant
- Swift
- Étoiles
- 0
- Forks
- 0
- Merge moyen
- 19 min
- PR mergées (30 j)
- 107
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de githubnext/desktop-tools
-
Ace: adopt desktopToolRules()Ouverteace documentation
Difficulté 2/5 1-3 heures Accessibilité débutants 79/100
githubnext/desktop-tools#104 ·
Les mainteneurs répondent en général sous 1 jour
-
Linux support (meta)Ouverte
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
githubnext/desktop-tools#136 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Select text in a PDFOuverte
Difficulté 3/5 1-2 jours Accessibilité débutants 52/100
githubnext/desktop-tools#130 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 4/5 3-5 jours Accessibilité débutants 42/100
githubnext/desktop-tools#129 ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
githubnext/desktop-tools#117 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de githubnext/desktop-tools
Issues similaires
-
Review backlog (style): Test helper still reads stdout after waitUntilExitPeut-être pris @hivecommons-hive l’a pris aujourd’hui. Ouverteagent/reviewer help wanted hive/claimed-by-scanner stage/030-pr-in-progress
Difficulté 2/5 1-3 heures Accessibilité débutants 77/100
hivecommons/hotshot#243 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Ctrl+C while pictures are drawing also kills the image worker (traceback, story ends partial/failed)Ouvertelow-priority
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
jessvb/tiny-talk-adventures#92 ·
Les mainteneurs répondent en général sous 1 jour
-
good first issue
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 67/100
Les mainteneurs répondent en général sous 1 jour
-
bug tests
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
jonathanong/no-mistakes#2261 ·
Les mainteneurs répondent en général sous 1 jour