`GET /api/v1/experiments/{id}/results` holds up other requests on the same API process while it computes

Aperta
#1,738 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@amarkanday ci sta già lavorando.

Dal 5/11/2026.

  • #1763 di @amarkanday — aperta

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
api, backend

Direzione di ricerca

Start by tracing the /api/v1/experiments/{id}/results route and how it computes experiment results; the payload does not name the files or tests. Compare it with GET /api/v1/results/{id}, which computes the same results. Done when the experiment results request no longer blocks other requests on the same API process, including flag evaluations.

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

Descrizione

bug

What happens

While the API computes an answer to GET /api/v1/experiments/{id}/results, other requests to the same API process wait until it has
finished, including flag evaluations. On a deployment with one API worker, a results request for a large experiment holds up every other
request for as long as the computation takes.

What should happen

Computing an experiment's results does not hold up other requests on the process.

Notes

  • Priority: medium, before launch (D213: on a one-worker deployment it delays flag evaluation, use cases 1 and 2).
  • GET /api/v1/results/{id} computes the same results; this issue is about the /experiments/{id}/results route.
Lingua principale
Python
Stelle
0
Fork
4
Merge medio
5h 19m
PR unite (30g)
503

Preparare l'ambiente

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 Controlvar/controlvar

Tutte le issue di Controlvar/controlvar

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.