Workflows: stale responses overwrite newer data #1949
Notifications
Due Date
No due date set.
Blocks
Reference: sam/archie#1949
Reference in new issue
Block a user
WorkflowsPage.vueload()has no request guard; the transcript keeps the previous attempt's failure after switching attempt; an older event preview can overwrite a newer one.Done when: every async read in the area discards responses for a superseded workflow, run, attempt or input.
Fixed in
5e9e551f. The workflows page read keeps a generation and drops superseded responses, including their error and loading flags. The transcript clears the previous attempt's failure when the task or attempt changes. The event preview lands only for the newest request, not just the same capture. Races, so no test; the page loads cleanly with no console errors. task check passed.