Skip to content

Conversation

karajan1001
Copy link
Contributor

@karajan1001 karajan1001 commented Sep 27, 2022

fix: #8349

Thank you for the contribution - we'll try to review it as soon as possible. πŸ™

Tasks status turned to queued for 1 second before turned into success.

is because in previous the status judgement is using the output of get_running_exps in repo.expereiments

if info.result is None:

the get_running_exps will mark the tasks to be not running because the info.result is not None. when entering the collect result progress,

info.result_hash = exp_hash
info.result_ref = ref
info.result_force = repro_force

Here we use the output of the celery queue as the universal standard for the tasks status.

asciicast

@karajan1001 karajan1001 added ui user interface / interaction A: experiments Related to dvc exp bug labels Sep 27, 2022
@karajan1001 karajan1001 requested a review from pmrowla September 27, 2022 08:24
@karajan1001 karajan1001 self-assigned this Sep 27, 2022
@karajan1001 karajan1001 marked this pull request as draft September 27, 2022 08:25
@karajan1001 karajan1001 marked this pull request as ready for review October 7, 2022 01:47
@karajan1001 karajan1001 changed the title [WIP] Use celery status as the exp show status Use celery status as the exp show status Oct 7, 2022
@pmrowla
Copy link
Contributor

pmrowla commented Oct 7, 2022

@karajan1001 exp tests are failing in this PR as well

@karajan1001 karajan1001 force-pushed the fix8349 branch 4 times, most recently from 6c2b751 to d5ab506 Compare October 11, 2022 12:17
@efiop
Copy link
Contributor

efiop commented Oct 11, 2022

@karajan1001 @pmrowla What's the status here?

@pmrowla
Copy link
Contributor

pmrowla commented Oct 21, 2022

@karajan1001 this PR LGTM but it needs a rebase

fix: iterative#8349
`tasks status turned to queued for 1 second before turned into success.`
is because in previous the status is using the output of
`get_running_exps` in `repo.expereiments` and when entering the
collect result progress, the `get_running_exps` will mark the tasks to
be not running because the `info.result` is not None. Here we use the
output of the celery queue as the universal standard for the tasks
status.

1. Use celery status as the exp show status
@karajan1001 karajan1001 merged commit ed2ccaf into iterative:main Oct 24, 2022
@karajan1001 karajan1001 deleted the fix8349 branch October 24, 2022 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: experiments Related to dvc exp ui user interface / interaction
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tasks status turned to queued for 1 second before turned into success.
3 participants