Skip to content

Fix: State management and refreshing of progress bar for dataset upload and processing #72

Description

@holiuunc

Description

When you upload a dataset, it loads for a little and then gets stuck. Then I refresh and it just "appears".

Steps to Reproduce

  1. Upload a dataset
  2. Wait
  3. See the unupdated screen
  4. Then refresh to see updated

Expected Behavior

Should see a dynamic progress bar and multi-stage pipeline of the dataset being processed.

Actual Behavior

First stage progress bar moves, and then is stuck. After waiting for a minute or two, the user must refresh to see results.

Error Output

Likely issue/culprit is bad state management and too many asynchronous requests being sent out and thus we don't know when updates are made. This should be a synchronous request as although it blocks the user, they shouldn't move on until their process is processed.

However, future implementation could make it so that we submit an async request for this and then it'll work in the background without blocking the user.

Environment

Additional Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions