studio icon indicating copy to clipboard operation
studio copied to clipboard

Publishing progress isn't updating in the frontend

Open bjester opened this issue 3 years ago • 3 comments

Observed behavior

  • The progress remains '0%' until completing

Expected behavior

  • The progress increments and shows the progress as reported by the backend

User-facing consequences

When publishing large channels, this can confuse the user that publishing is stuck, when it isn't

Additional information

  • No errors
  • The Vuex state is updating with the progress correctly
  • I don't know what caused this regression

Steps to reproduce the issue

  1. Open a large channel for editing
  2. Edit the title of a resource
  3. Publish the channel
  4. Observe publishing status in the header always says '0%'

Usage Details

  • OS: Ubuntu 20.04
  • Browser: Chrome
  • URL: Hotfixes

bjester avatar Sep 27 '22 16:09 bjester

Fixed by #3687

rtibbles avatar Sep 30 '22 14:09 rtibbles

It seems this is still occurring under certain conditions. From @jamalex:

I tried logging out and back in, and the only thing that changed is that it went from "Publishing channel 14%" to "Publishing channel 0%". Even though it says 0% in the UI, I note that the sync endpoint seems to be returning "15%":

{
    "disallowed": [],
    "allowed": [],
    "changes": [],
    "errors": [],
    "successes": [],
    "tasks": [
        {
            "task_id": "91cbace2a4354a36a8fbe093514b0c1e",
            "task_name": "export-channel",
            "traceback": null,
            "progress": 15,
            "channel_id": "90a258de-43d1-5205-9211-09e7cfd7a895",
            "status": "STARTED"
        }
    ]
}

bjester avatar Mar 22 '24 16:03 bjester

Reopening with the latest reproduction steps

bjester avatar Mar 22 '24 16:03 bjester