[api] Report the current tick in task status
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 47/100
Direzione di ricerca
Start by reading the implementation of GET /v1/tasks/{task_id} from dependent issue #209 and identify how task state is stored and returned. Then trace how OpenCDA runs the simulation and where task-directory files are managed; issue #230 defines the max_ticks limit. Done means the response includes the current tick and max_ticks (or null when unset), with OpenCDA publishing progress for the runner.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem or motivation
GET /v1/tasks/{task_id} from #209 returns only id and state. While a task is RUNNING, a client cannot tell how far the simulation has progressed. Scenario Manager shows a progress bar for each run.
Proposed solution
- Add
tickandmax_ticksto the task returned byGET /v1/tasks/{task_id}.max_ticksis the limit from #230, ornullif none is set. - Have OpenCDA publish the current tick for the runner, for example by writing it to a file in the task directory every few ticks.
Area
Scenario management
Additional context
Depends on #209.
- Lingua principale
- Python
- Stelle
- 11
- Fork
- 11
- Merge medio
- 1g 16h
- PR unite (30g)
- 12
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun 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 CAVISE/OpenCDA
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 54/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
I maintainer di solito rispondono entro 1 giorno
-
[attacks_research] Research additional service-level attacks for AttackFrameworkForse già presa @Austin610 l’ha presa 16 giorni fa. Apertaenhancement
CAVISE/OpenCDA#218 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di CAVISE/OpenCDA
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 69/100
-
frontend testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
vendrabuck/HERD#1588 ·
I maintainer di solito rispondono entro 1 giorno
-
Lessons: record the second case of L14 (security updates cover only pip)Forse già presa @vishwanathj l’ha presa oggi. Apertaarea/docs no-test-needed type/docs
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
vishwanathj/ocp_lab.ai#39 · 1 commento ·
-
enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
laaielichter/Gulliver#228 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
nyjc-computing/campus#1338 ·
I maintainer di solito rispondono entro 1 giorno