-
Notifications
You must be signed in to change notification settings - Fork 51
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
Reactivate dashboard CI #952
Reactivate dashboard CI #952
Conversation
Is there a way for this to only run when a change has been made to the dashboard? |
Hi @lebrice yes, it should be possible ! |
999ec1b
to
0c034be
Compare
Hi @bouthilx ! Thanks to your suggestion to use After further investigations, my current hypothesis is that timeout in frontend is (at least) based on timeout configuration for gunicorn in backend side, which seems to be 30 seconds by default: https://docs.gunicorn.org/en/stable/settings.html#timeout . When running with
Backend terminates the worker due to I don't yet know why this happens, but I decide to just increase timeout in backend. To do that, I modified your branch What do you think ? |
Thank you for the detailed explanation! I think increasing the timeout on the backend is a good solution. I did experience timeouts on the backend too when I was playing with large benchmarks. We'll need to improve the efficiency of the backend/API latter, but for now increasing the timeout is good. |
It's a bit late for me to say this but you could have removed all tests except for test-dashboard-build and make it run 10 times. This would have make it easier to automate the 10 runs and would have saved a lot of compute time. Sorry for saying this only after 7 reruns 😅 |
(for record/reminder) I am finally to get orion backend output when errors occur, using Github artifacts. I fortunately got an error with last commit, and artifact for corresponding error (with node 14.x) is available at bottom of this page: /~https://github.com/Epistimio/orion/actions/runs/2593818816 There is indeed an error reported in log, and then worker is restarted:
Some remarks:
|
1d6925f
to
d289e3e
Compare
d289e3e
to
e38b9b5
Compare
046990c
to
b29ae87
Compare
This reverts commit 7dfaed5.
Move Axios and HTTP implementations in separate files. Still use Axios implementations.
…ark_webapi_rebased for orion backend - [dashboard/src] Get back to Axios only
…ion/runs/7097242640?check_suite_focus=true Trigger CI again, with backend branch updated to use only 1 worker as in default
CI passed. Trigger again bis. Ci passed. Trigger again (x3)
…e updated here. - add timeout 300 - set workers to 1 and threads to 1 as it is by default: https://docs.gunicorn.org/en/stable/settings.html
CI passed (2). Retry CI passed (3). Retry. CI passed (4). Retry. CI passed (5). Retry. CI passed (6). Retry. CI passed (7). Retry.
…onfig timeout to 300 seconds.
Try to kill backend process on end, to make sure log files are saved on disk
gunicorn: set worker_tmp_dir to a local directory to try preventing workers block testing: - update testing libraries - update tests according to new versions of testing libraries src: - move DndProvier closest to drag-and-drop use to prevent warnings in tests - revert queryServer code back to previous code, so that backend queries run asynchronously again
b29ae87
to
e395cdc
Compare
Rebased |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!! :)
Description
Re-add CI tests for dashboard src.
Changes
Checklist
Tests
$ tox -e py38
; replace38
by your Python version if necessary)Documentation
Quality
$ tox -e lint
)