aktin / aktin/dwh-admin

Update Feature: Redirection may happen before DWH is updated

Aperta
#20 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
TypeScript
Stelle
0
Fork
0
Merge medio
7g 3h
PR unite (30g)
2

Descrizione

The DWH update process via the admin UI can lead to misleading failure messages when the [I2B2 Debian Package](https://github.com/aktin/debian-i2b2-pkg) is updated along side the [DWH Debian Package](https://github.com/aktin/debian-dwh-pkg). During the update sequence:

- The I2B2 package update triggers a WildFly restart
- The DWH EAR briefly becomes available before the DWH update even started
- The Frontend (using `admin-gui/src/main/webapp/app/updater` and `admin-gui/src/main/webapp/plain/update.html`) recognizes this availability and redirects the user to the UI of the DWH
- The UI incorrectly reports an update failure even though the update continues in the background

Recommendation: Implement more robust update status checking by monitoring package installation state rather than EAR availability.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.