Bug 1314271

Summary: [RFE] When wiping old jobs keep XMLs or have a message on submit page
Product: [Retired] Beaker Reporter: Marian Csontos <mcsontos>
Component: generalAssignee: matt jia <mjia>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: medium    
Version: developCC: dcallagh, dowang, mjia, rjoost
Target Milestone: 23.0Keywords: Patch, UserExperience
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: Triaged
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-07 23:11:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marian Csontos 2016-03-03 10:16:55 UTC
Some people, especially developers who are not using Beaker regularly, are not aware the jobs are completely wiped after some period.
/me had just heard one venting his frustration.

It is perfectly OK to wipe results and files.

But preserve the job definitions, please. Or at least have a warning on the job submit page.

Comment 1 Roman Joost 2016-03-14 03:30:47 UTC
Dear Marian,

thanks for the report. With the implementation of the new job page design there is potential for creating a new (readonly-) view providing information of the old job and add the ability to clone it.

Unfortunately the bkr client lets you fetch the job XML for a deleted job for cloning but it is somewhat inconsistent with the web UI.

Comment 2 matt jia 2016-03-31 04:07:39 UTC
(In reply to Roman Joost from comment #1)
> Dear Marian,
> 
> thanks for the report. With the implementation of the new job page design
> there is potential for creating a new (readonly-) view providing information
> of the old job and add the ability to clone it.
> 
> Unfortunately the bkr client lets you fetch the job XML for a deleted job
> for cloning but it is somewhat inconsistent with the web UI.

This has already been implemented on the new job page. The deleted jobs can be viewed and cloned, including the recipe sets.

Comment 3 Dan Callaghan 2016-03-31 07:32:43 UTC
(In reply to matt jia from comment #2)

Right, but currently the new job page gives no indication that you are looking at a deleted recipe (and hence it is missing all its results).

For this bug we should probably improve the new job page and new recipe page to make it clear if you are looking at a deleted job -- for example, an alert-error at the top saying so. Or something like that but nicer. It should show all the tasks, settings, etc... but it shouldn't offer to show you any results, because there will be none.

So people can still see what was in the job as it was originally submitted, and clone it as well.

Comment 4 Dan Callaghan 2016-03-31 07:35:30 UTC
May be worth tackling bug 1322700 at the same time, although there is nothing tying them together.

Comment 5 matt jia 2016-04-13 05:46:59 UTC
I have come out a UI for deleted jobs/recipes:

   https://gerrit.beaker-project.org/#/c/4804/

Comment 8 Dan Callaghan 2016-07-07 23:11:07 UTC
Beaker 23.0 has been released.