Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Do not force me to specify a session if not opening a run

Aperta
#1,684 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
65/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
python

Direzione di ricerca

Look at the BlueAPI endpoint handlers that require a session parameter, likely in the route definitions. Identify which plans open a run versus those that perform actions like single moves or stop all. Modify the session validation logic to only enforce session for run-opening plans. Check the linked issue #1681 for context on the specific actions.

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

Descrizione

Currently, every plan I run through BlueAPI I need to specify a session to run it under. When I'm opening a run this makes sense as it will dictate where the data will be written to etc. but it doesn't make sense for actions such as doing a single move or doing a stop all as described in https://github.com/DiamondLightSource/blueapi/issues/1681.

This should not have any auth/auth concerns as we should be doing auth based on the user's token being authorised to use the beamline, not compared to the session that they specify (which they could easily spoof)

Acceptance Criteria

  • I only need to provide a session for plans that open a run
Lingua principale
Python
Stelle
13
Fork
14
Merge medio
4g 10h
PR unite (30g)
7

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.