FHIR package loading falls back to public registries and fails silently (vscode-cql#106)
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Ambito
- backend, documentation, networking
Direzione di ricerca
Start with IgContextManager and the FHIR package loading path, then read the linked vscode-cql#106 reproduction details and HAPI 6.9.12 behavior. The proposed work spans client error reporting, registry fallback rules, authenticated proxy downloads, and ADR-0001 in docs/adr/. Done means package-load failures reach the client, configured mirror-only behavior is respected, proxy credentials work for downloads, and the ADR documents the approach.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Supports cqframework/vscode-cql#106.
When the language server loads an IG's FHIR package dependencies, HAPI (org.hl7.fhir.utilities
6.9.12 in LS 5.0.0) falls back to build.fhir.org and the package's canonical site whenever no
server configured in ~/.fhir/fhir-settings.json can supply a package. It does this even with
ignoreDefaultPackageServers: true. If that fails too, IgContextManager logs one WARN and
skips the dependencies, so validation reports success with no diagnostics and the user never
sees the failure.
Reproduced against 5.0.0. The details are in
https://github.com/cqframework/vscode-cql/issues/106#issuecomment-6768501546. Two common
triggers:
- the registry doesn't host a package the LS needs. The LS loads
hl7.fhir.r4.corefirst, so a
registry with only private packages fails straight away. - the registry's
dist.tarballURL is outside the configured serverurlpath, so HAPI doesn't
send the token and the download gets a 401.
Proposed work. An ADR describing the approach will come with the PR for this issue.
- Report package-load failures to the client, for example as a diagnostic or notification,
instead of only logging a WARN. - Mirror-only behaviour when
ignoreDefaultPackageServersis set, either with an LS-side
guard or an upstream HAPI change. - Install a proxy
java.net.Authenticatorthat useshttp.proxyUser/http.proxyPassword,
so authenticated proxies work for package downloads. - Add
docs/adr/with ADR-0001, "Runtime network access (FHIR packages, proxies, TLS)".
- Lingua principale
- Kotlin
- Stelle
- 2
- Fork
- 4
- Merge medio
- 1g 16h
- PR unite (30g)
- 3
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 cqframework/cql-language-server
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
multiple IG project fhir/package cache stubsForse di nuovo libera @raleigh-g-thompson l’ha presa 145 giorni fa e non c’è nessuna pull request aperta. Apertaenhancement
cqframework/cql-language-server#155 · 1 assegnatario ·
-
debugger isn't working with muti-project setupsForse di nuovo libera @raleigh-g-thompson l’ha presa 146 giorni fa e non c’è nessuna pull request aperta. Apertabug
cqframework/cql-language-server#154 · 1 assegnatario ·
-
Need smaller jar buildForse di nuovo libera @raleigh-g-thompson l’ha presa 157 giorni fa e non c’è nessuna pull request aperta. Apertaenhancement
cqframework/cql-language-server#146 · 1 assegnatario ·
-
Update master branch protection required checks after CI workflow rewriteForse di nuovo libera @brynrhodes l’ha presa 169 giorni fa e non c’è nessuna pull request aperta. Apertaenhancement
cqframework/cql-language-server#142 · 1 assegnatario ·
Tutte le issue di cqframework/cql-language-server
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
The engine's "loaded, but had errors" message leaves out which library and line each error is inAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
cqframework/clinical_quality_language#1980 ·
I maintainer di solito rispondono entro 3 giorni
-
Fun requireFragmentManager has been renamed to getParentFragmentManagerForse già presa @xuenhua l’ha presa oggi. Apertaunconfirmed
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
thunderbird/thunderbird-android#11984 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Droid-Deck/DroidDeck#3496 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
AChep/keyguard-app#1709 · 1 commento ·
I maintainer di solito rispondono entro 11 giorni