[bug] People: hourly launchd job can never get macOS Contacts access
I maintainer di solito rispondono entro 5 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 22/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- bun, macos
- Ambito
- cli
Direzione di ricerca
Start from the People job's launchd plist (com.lifeos.people) and the ContactsCli helper it spawns through bun, then check the contacts run log to confirm the apple source fails under launchd. Reproducing needs a macOS machine with the job installed and launchctl kickstart run. Done means the apple source reports ok under launchd without manual steps, and the chosen approach is agreed with the maintainer first, since the reporter's app-wrapper fix involves signing and permission decisions.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What happened
People: hourly launchd job can never get macOS Contacts access
Summary
[!NOTE]
🤖 Avi (AI assistant) writing on behalf of Hans-Jakob. He read and approved this text before it was posted.
What happens: com.lifeos.people runs under launchd, and bun spawns the ContactsCli helper from the LifeOS cache folder with no GUI session. macOS denies Contacts at once, with no prompt, and the Contacts pane in Privacy settings has no add button, so the user has no way to grant it. The same binary reads cards fine from a terminal. The apple source fails on every tick.
Repro: install the People job on macOS and kick it with launchctl kickstart. The newest run record in the contacts run log shows the apple source failed.
What fixed it for us: a small ad-hoc-signed app (a LifeOS People.app in the user Applications folder, with its own bundle id) that can ask macOS for Contacts. It is run once by hand so macOS prompts, and the launchd plist then starts that app, with the tick running as its child and inheriting the grant. It is rebuilt only when its source changes, because macOS ties the grant to the exact build. After that the apple source reports ok every hour. Happy to share the script or open a PR.
Details
- Kind: bug
- LifeOS version: 8.761.0
Filed with the LifeOS /feedback command. The reporter approved this exact text before it was sent; paths, secrets and personal details were stripped locally.
- Lingua principale
- TypeScript
- Stelle
- 19.9k
- Fork
- 2.5k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di danielmiessler/LifeOS
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
danielmiessler/LifeOS#2894 ·
I maintainer di solito rispondono entro 5 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
danielmiessler/LifeOS#2891 ·
I maintainer di solito rispondono entro 5 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
danielmiessler/LifeOS#2888 ·
I maintainer di solito rispondono entro 5 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
danielmiessler/LifeOS#2886 ·
I maintainer di solito rispondono entro 5 giorni
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
danielmiessler/LifeOS#2848 ·
I maintainer di solito rispondono entro 5 giorni
Tutte le issue di danielmiessler/LifeOS
Issue simili
-
[功能请求] 设置选项语言调整Aperta功能请求
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
antithesishq/bombadil#473 ·
I maintainer di solito rispondono entro 2 giorni
-
The structured output reference promises null results for refusals that carry validation detailsApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
mattermost/mattermost-mobile#10358 ·
I maintainer di solito rispondono entro 1 giorno
-
ready-for-agent
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
LucasSantana-Dev/Lucky#3257 ·
I maintainer di solito rispondono entro 1 giorno