The `IBuildQueue` interface needs to have an 'estimated_duration' property

Bug #485524 reported by Muharem Hrnjadovic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Medium
Muharem Hrnjadovic

Bug Description

In order to facilitate the estimation of job dispatch times across the board the `IJob` interface needs to have an 'estimated_duration' property.

Alternatively, this property could sit on the 'BuildQueue' table.

Tags: lp-soyuz
Changed in soyuz:
importance: Undecided → Medium
status: New → In Progress
assignee: nobody → Muharem Hrnjadovic (al-maisan)
milestone: none → 3.1.11
summary: - The `IJob` interface needs to have 'estimated_duration' and 'score'
- properties
+ The `IJob` interface needs to have an 'estimated_duration' property
description: updated
description: updated
Revision history for this message
Julian Edwards (julian-edwards) wrote : Re: The `IJob` interface needs to have an 'estimated_duration' property

I think estimated_duration should be on BuildQueue, unless it's of use to other types of job runners that the Codehosting team uses.

It's also worth noting that this data becomes redundant once the job is complete. As BuildQueue rows are removed once the job is complete it seems more natural to have it there.

summary: - The `IJob` interface needs to have an 'estimated_duration' property
+ The `IBuildQueue` interface needs to have an 'estimated_duration'
+ property
Revision history for this message
Diogo Matsubara (matsubara) wrote : Bug fixed by a commit
Changed in soyuz:
status: In Progress → Fix Committed
Changed in soyuz:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.