Include blocked_builds information in comparison responses
This will make it easier to tell when a scheduled build is yet to start, and can't start due to a missing dependency.
This commit is contained in:
parent
8294accffe
commit
ab7df4c6e5
1 changed files with 14 additions and 2 deletions
|
|
@ -340,7 +340,13 @@ SELECT base_packages.name, base_packages.version,
|
|||
'status', latest_build_status.status,
|
||||
'timestamp', latest_build_status.timestamp,
|
||||
'build_for_equivalent_derivation',
|
||||
builds.derivation_file_name != base_packages.file_name
|
||||
builds.derivation_file_name != base_packages.file_name,
|
||||
'potentially_blocked', EXISTS (
|
||||
SELECT 1
|
||||
FROM blocked_builds
|
||||
WHERE blocked_derivation_output_details_set_id
|
||||
= builds.derivation_output_details_set_id
|
||||
)
|
||||
)
|
||||
ORDER BY latest_build_status.timestamp
|
||||
)
|
||||
|
|
@ -365,7 +371,13 @@ SELECT base_packages.name, base_packages.version,
|
|||
'status', latest_build_status.status,
|
||||
'timestamp', latest_build_status.timestamp,
|
||||
'build_for_equivalent_derivation',
|
||||
builds.derivation_file_name != target_packages.file_name
|
||||
builds.derivation_file_name != target_packages.file_name,
|
||||
'potentially_blocked', EXISTS (
|
||||
SELECT 1
|
||||
FROM blocked_builds
|
||||
WHERE blocked_derivation_output_details_set_id
|
||||
= builds.derivation_output_details_set_id
|
||||
)
|
||||
)
|
||||
ORDER BY latest_build_status.timestamp
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue