Assist pipeline pickers never refresh a non-empty cache, so new pipelines are missing from CarPlay Quick Access
I maintainer di solito rispondono entro 1 giorno
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 78/100
Direzione di ricerca
Inizia con AssistPipelineAddList.fetchPipelines() e AssistPipelinePicker.fetchPipelines() nei percorsi collegati nell’issue; confronta il loro comportamento della cache con AssistViewModel, che aggiorna le pipeline a ogni sessione. Verifica che entrambi i selettori possano mostrare le pipeline memorizzate nella cache mentre richiedono quelle aggiornate al server. Il lavoro è completato quando le pipeline appena create compaiono nei selettori senza dover prima aprire la schermata Assist nell’app.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
iOS device model, version and app version
Model Name: iPhone 15 (iPhone15,4)
Software Version: iOS 26.6.2
App version: 2026.9.1 (2026.2985)
Home Assistant Core Version
2026.8.3
Describe the bug
When adding an item in the Settings Quick Access configuration for CarPlay (Add item > Assist / Assist prompt), the pipeline list shows only the pipelines that were cached the last time the app fetched them. Pipelines created in Home Assistant after that never appear, even after force-quitting the app. In my case two pipelines created weeks apart (one on 12 Sep, one today) were both missing, while the older three were listed.
Opening the in-app Assist screen once fixes it: AssistViewModel refetches pipelines on every session and saves them to the database, after which the new pipelines show up in the picker.
The cause appears to be that both pickers read the GRDB cache and only request pipelines from the server when the cache is empty:
assistConfigs = try AssistPipelines.config() ?? []
if assistConfigs.isEmpty {
requestPipelines()
}
So a non-empty but stale cache is never refreshed from these screens.
To Reproduce
- Use Assist in the app at least once so pipelines are cached.
- In Home Assistant, create a new Assist pipeline.
- Force-quit and reopen the Companion app.
- Settings > CarPlay > Quick Access > Add item > Assist (or Assist prompt).
- The new pipeline is not listed.
- Open the in-app Assist screen, close it, and repeat step 4: the pipeline now appears.
Expected behavior
The pipeline pickers show current pipelines. For example, show the cached list immediately and refresh from the server in the background (as AssistViewModel already does), or offer pull-to-refresh.
Screenshots
The Add item > Assist list showed only Preferred, Home Assistant (fully local), Home Assistant (Claude API) and Claw. The two newer pipelines (OpenClaw, Hank Car) were missing until the in-app Assist screen had been opened once.
Additional context
Found while setting up CarPlay Assist on iOS 26.4+.
- Lingua principale
- Swift
- Stelle
- 2.4k
- Fork
- 541
- Merge medio
- 23h 29m
- PR unite (30g)
- 174
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
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 home-assistant/iOS
-
The label displayed in Control Center appears to be inverted relative to the current cover state.Apertabug ios
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
home-assistant/iOS#5989 ·
I maintainer di solito rispondono entro 1 giorno
-
bug ios
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
home-assistant/iOS#5844 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
home-assistant/iOS#5570 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug ios
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
home-assistant/iOS#6127 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
bug mac
Difficoltà 4/5 1-2 giorni Idoneità per principianti 48/100
home-assistant/iOS#6117 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di home-assistant/iOS
Issue simili
-
copy design-review mac P3
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
tosunlab/hisarapp-core#510 ·
-
bug needs-triage S2: major
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
manaflow-ai/cmux#26321 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
SwiftyLab/MetaCodable#169 ·