Noisy Blueapi Client

Aperta
#1,814 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
58/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python

Direzione di ricerca

Start by tracing how the Python client handles OIDCConfig.well_known_url and reports server/client version mismatches when connecting and during later operations. Reproduce the repeated warnings using the client against a beamline or a suitable local setup. Done when each connection error is shown once and subsequent client interactions do not repeat it.

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

Descrizione

bug ready
Description

The current iteration of the blueapi client is quite noisy with respect to the OIDCConfig.well_known_url, see it's output in a local python environment, and in the evolving console on the new webUI.

For bonus points, the "Blueapi server and client version mismatch" also occurs repeatedly (if you have a mismatch).

image
Steps to reproduce
  1. Use the blueapi client to connect to a beamline (such as p48)
  2. Use the client (move motors, run plans, get devices, etc.)
  3. See repeated warnings
Logs and tracebacks

blueapi version

blueapi, version 1.21.1

Where are you running blueapi?

Beamline deployment (Kubernetes/Helm)

Impact on operations

Minor or cosmetic

Acceptance criteria

If an error needs to be shown, it is shown once on connection, and not repeatedly as the user interacts.

Lingua principale
Python
Stelle
14
Fork
15
Merge medio
3g 2h
PR unite (30g)
35

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

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 DiamondLightSource/blueapi

Tutte le issue di DiamondLightSource/blueapi

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.