[bug] People: hourly launchd job can never get macOS Contacts access
Los mantenedores suelen responder en 5 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 22/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- bun, macos
- Área
- cli
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- TypeScript
- Estrellas
- 19.9k
- Forks
- 2.5k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de danielmiessler/LifeOS
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
danielmiessler/LifeOS#2894 ·
Los mantenedores suelen responder en 5 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
danielmiessler/LifeOS#2891 ·
Los mantenedores suelen responder en 5 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
danielmiessler/LifeOS#2888 ·
Los mantenedores suelen responder en 5 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
danielmiessler/LifeOS#2886 ·
Los mantenedores suelen responder en 5 días
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100
danielmiessler/LifeOS#2848 ·
Los mantenedores suelen responder en 5 días
Todos los issues de danielmiessler/LifeOS
Issues similares
-
CLI OAuth login fails behind an authenticating proxy: GET /api/v1/user omits Proxy-AuthorizationAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
lightdash/lightdash#33086 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[功能请求] 设置选项语言调整Abierto功能请求
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
antithesishq/bombadil#473 ·
Los mantenedores suelen responder en 2 días
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
ardia-browser/ardia#3291 ·
Los mantenedores suelen responder en 1 día
-
The structured output reference promises null results for refusals that carry validation detailsAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día