Output products could get "stuck" in an unexpected partially complete state when certain configured product paths are wrong
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 42/100
Direzione di ricerca
Nell’issue non sono indicati file o test. Inizia tracciando come vengono convalidati i percorsi di output configurati e come vengono sottoposti a commit i prodotti di output e il file della cronologia delle esecuzioni, quindi riproduci lo scenario del percorso errato. Il lavoro è completo quando un percorso configurato erroneamente non può lasciare i prodotti aggiornati solo parzialmente senza impedire il commit o registrare lo stato dell’esecuzione necessario per il rollback.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Because of the way MMTC's output products are written, it's possible for some products to be updated after a run when a bad/nonexistent path in the config (such as raw telemetry table) causes MMTC to abort before everything has been updated. This can result in a state where SCLK kernels and SCLKSCET files have been written but the run history file was never updated, meaning details of the run were never recorded and the run can't be rolled back. This is particularly confusing for users of the web UI as it appears that nothing was written in the "preview" view but upon refresh, the predicted correlation data become actual despite no evidence of new runs in the history widget.
Instead, MMTC should probably be adjusted to handle this sort of misconfiguration in one of two ways:
- The bad path is checked and caught before we try to commit and either prevents a preview from being generated or grays out/disables the commit button (along with an error somewhere explaining why it can't commit)
- Completes and updates all the output products it can (most importantly run history file so i can roll back if the user wants to fix and try again) but throws an error/warning that it couldn't update the relevant product. Ostensibly this would require special handling in the run history file update to account for the nonexistent product that it wasn't able to update.
The first is likely an easier/safer solution as it doesn't have to account for cases where critical output products (such as SCLK kernels) can't be written vs. non-critical products (like the raw TLM table), but will involve upfront validation of all relevant output products and/or their output paths before anything is written.
- Lingua principale
- Java
- Stelle
- 8
- Fork
- 4
- Merge medio
- 2g 11h
- PR unite (30g)
- 2
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna 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 NASA-AMMOS/MMTC
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
NASA-AMMOS/MMTC#117 ·
-
Consider alternative strategies for applying frame size validation during telemetry selectionAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 45/100
NASA-AMMOS/MMTC#113 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
NASA-AMMOS/MMTC#112 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 52/100
NASA-AMMOS/MMTC#106 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
NASA-AMMOS/MMTC#104 ·
Tutte le issue di NASA-AMMOS/MMTC
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
521xueweihan/HelloGitHub#4105 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
code-maintenance
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
krizaka/krizaka-notifications#32 ·
I maintainer di solito rispondono entro 1 giorno