galaxyproject / galaxy

Data intensive science for everyone.
https://galaxyproject.org
Other
1.38k stars 992 forks source link

tool version loading loop in the toolform #18848

Open martenson opened 1 week ago

martenson commented 1 week ago

Animation of the disturbing version switching I see on tool kegalign, this is without any interaction from the user. I cannot reproduce this on other tools I tried. It can happen either on load or after you switch the version manually.

The tool kegalign has been updated in the last hour (with its second version, so it did not have version switching before) -- so there may be a connection.

kegalign-version


logs

Screenshot 2024-09-19 at 11 24 10 AM

logs


Galaxy Version and/or server at which you observed the bug Galaxy version 24.1.2.dev0, commit f9703e1d4aca18a4a4462dd4a7a2c05596dd8358

Browser and Operating System macos chrome

mvdbeek commented 1 week ago

The tool kegalign has been updated in the last hour

Indeed. The safe way to fix this is to restart the instance. Most of the time curl -X 'PUT' https://usegalaxy.org/api/configuration/toolbox -H "x-api-key: $your_admin_key" is gonna work.

mvdbeek commented 1 week ago

I guess we shouldn't load the tool form that often though, that would be something to fix.

dannon commented 4 days ago

xref meeting/ The quick reloading may be due to the differing response received, calling an update as soon as the form loads the new (or old) version over top.

Should make sure we can't submit an incorrect job configuration for run -- job might just fail. Hopefully we record the tool version during hte job submission process and run the exact version submitted.