Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def validate_preprod_artifact_update_schema(
"is_code_signature_valid": {"type": "boolean"},
"code_signature_errors": {"type": "array", "items": {"type": "string"}},
"missing_dsym_binaries": {"type": "array", "items": {"type": "string"}},
"build_date": {"type": "string"},
},
},
"android_app_info": {
Expand Down Expand Up @@ -90,6 +91,7 @@ def validate_preprod_artifact_update_schema(
"apple_app_info.is_code_signature_valid": "The is_code_signature_valid field must be a boolean.",
"apple_app_info.code_signature_errors": "The code_signature_errors field must be an array of strings.",
"apple_app_info.missing_dsym_binaries": "The missing_dsym_binaries field must be an array of strings.",
"apple_app_info.build_date": "The build_date field must be a string.",
"android_app_info": "The android_app_info field must be an object.",
"android_app_info.has_proguard_mapping": "The has_proguard_mapping field must be a boolean.",
"dequeued_at": "The dequeued_at field must be a string.",
Expand Down Expand Up @@ -293,6 +295,10 @@ def put(
if isinstance(binaries, list):
extras_updates["has_missing_dsym_binaries"] = len(binaries) > 0

if "build_date" in apple_info:
head_artifact.date_built = apple_info["build_date"]
updated_fields.append("date_built")

for field in [
"is_simulator",
"codesigning_type",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,17 @@ export function BuildDetailsSidebarAppInfo(props: BuildDetailsSidebarAppInfoProp
</Flex>
</Tooltip>
)}
{props.appInfo.date_added && (
<Tooltip title={t('App upload time')}>
{(props.appInfo.date_built || props.appInfo.date_added) && (
<Tooltip
title={props.appInfo.date_built ? t('App build time') : t('App upload time')}
>
<Flex gap="2xs" align="center">
<InfoIcon>
<IconClock />
</InfoIcon>
<Text>
{getFormattedDate(
getUtcToSystem(props.appInfo.date_added),
getUtcToSystem(props.appInfo.date_built || props.appInfo.date_added),
datetimeFormat,
{local: true}
)}
Expand Down
Loading