Bug 1392257 - job page: race condition between waiving and auto-fetch
Summary: job page: race condition between waiving and auto-fetch
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Beaker
Classification: Retired
Component: web UI
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified vote
Target Milestone: ---
Assignee: beaker-dev-list
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-07 01:39 UTC by Dan Callaghan
Modified: 2020-06-02 11:42 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-02 11:39:49 UTC


Attachments (Terms of Use)

Description Dan Callaghan 2016-11-07 01:39:32 UTC
Version-Release number of selected component (if applicable):
23.3

How reproducible:
timing sensitive so not readily

Steps to Reproduce:
1. Open the job page for a large job (e.g. workflow-selftest) which has some recipe sets finished but other still running (therefore the job page is still auto-fetching every 20 seconds)
2. Examine a completed recipe set and decide you want to waive it
3. Hit the Waive button in the modal at the same time as an AJAX request is in progress to fetch the job

Actual results:
Comment and Waived label appear against the recipe set briefly, but then when the AJAX request completes and the page is re-rendered the comment and Waived label will disappear again (because the server prepared the AJAX response before the Waiving change was committed).

Expected results:
Comment and Waived label should not disappear after they are submitted.

Comment 1 Martin Styk 2020-06-02 11:39:49 UTC
Hello,

thank you for opening issue in Beaker project.
This issue was marked with component "web ui".
As we are not planning to address any further issues in current UI, due to technical stack and not being able to work with Python 3 codebase, I'm closing this issue as WONTFIX.
New UI will be reimplemented within new versions of Beaker.

If you have any questions feel free to reach out to me.

Best regards,
Martin <martin.styk>


Note You need to log in before you can comment on or make changes to this bug.