slow-ios-window: clipboard isolation tests fail on main, host clipboard still syncs to device

Aperta
#1,580 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
ios, typescript
Ambito
mobile, testing

Direzione di ricerca

Start by reading the two failing cases in e2e/slow-ios-window.test.ts and the lane log at /var/folders/tb/j39z273s5kn7lb9tz1dhk8l00000gn/T//simlock-slow-e2e-20261115-180422.log. Compare how the tests set pasteboardSyncEnabled with the device clipboard behavior on Xcode 27.2, including the DeviceHub preference and cfprefsd state mentioned in the issue. Done means both cold and warm lease tests pass on main and verify clipboard isolation through recovery.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug:new

Two slow-lane tests in e2e/slow-ios-window.test.ts fail on main (6dcbd34c3) on this Mac (Xcode 27.2):

  • "isolates clipboard in both directions for a cold lease and after recovery, and deletes only its DeviceHub preference": host change did not reach device, expected 'host-…' to be 'device-…'
  • "isolates clipboard in both directions for a warm lease and after recovery, and deletes only its DeviceHub preference": the same assertion

Both runs get past the pasteboardSyncEnabled false check, but the device's clipboard still takes the host's new value. So clipboard sync is still on even though the DeviceHub preference says it is off. Nobody has found the cause yet. It may be DeviceHub or cfprefsd state, or a change in Xcode 27.2.

The cold test fails the same way on main and on #1573's branch, so it isn't from #1569. Lane log: /var/folders/tb/j39z273s5kn7lb9tz1dhk8l00000gn/T//simlock-slow-e2e-20261115-180422.log.

Found while delivering #1569 (PR #1573).

Written by an agent.

Lingua principale
TypeScript
Stelle
705
Fork
40
Merge medio
12h 9m
PR unite (30g)
376

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di callstackincubator/simlock

Tutte le issue di callstackincubator/simlock

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.