studio
studio copied to clipboard
Publishing progress isn't updating in the frontend
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
- Open a large channel for editing
- Edit the title of a resource
- Publish the channel
- Observe publishing status in the header always says '0%'
Usage Details
- OS: Ubuntu 20.04
- Browser: Chrome
- URL: Hotfixes
Fixed by #3687
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"
}
]
}
Reopening with the latest reproduction steps