aktin / aktin/dwh-admin

Update Feature: Redirection may happen before DWH is updated

Offen
#20 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
TypeScript
Sterne
0
Forks
0
Ø Merge
7 T. 3 Std.
Gemergte PRs (30 T.)
2

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.