Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto refresh job page #72

Closed
sverhoeven opened this issue Feb 2, 2024 · 2 comments · Fixed by #110
Closed

Auto refresh job page #72

sverhoeven opened this issue Feb 2, 2024 · 2 comments · Fixed by #110
Assignees

Comments

@sverhoeven
Copy link
Member

Is your feature request related to a problem? Please describe.
As a researcher and after submitting a workflow, I have to refresh the job page until the job is completed. Which is cumbersome.

Describe the solution you'd like
It would be nice the page would refresh itself every x seconds until the job is completed.

Describe alternatives you've considered

  • Get a notification or email once job is complete.

Additional context
Jobs can take 1 minutes to hours.
Doings a lots of page refreshes could put unwanted load on web server.

@sverhoeven
Copy link
Member Author

The route https://github.com/i-VRESSE/haddock3-webapp/blob/main/app/routes/jobs.%24id._index.tsx should be made to refresh.

@sverhoeven
Copy link
Member Author

To test without actually running haddock3 you could replace the command https://github.com/i-VRESSE/haddock3-webapp/blob/main/deploy/arq/bartender-config.yaml#L7 with a sleep 300 command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants