<#7038 [V2] Run Service - Add the field that GetRu...
# flyte-github
a
#7038 [V2] Run Service - Add the field that GetRunDetails expected (#6977) Pull request opened by SZL741023 Tracking issue Example: Related to #6977 Why are the changes needed? The field information in run details are incomplete, so need to extract all the field of run details. What changes were proposed in this pull request? Added the field requirement mentioned in the issue. •
details.run_spec
: extract from the run.ActionSpec •
details.action.status.end_time
: Set the end time when run has terminated. •
details.action.status.attempts
: Set to 1 •
details.action.status.duration_ms
Set the duration_ms to
end_time - start_time
when run has terminated •
details.action.spec.task
: Set the ActionDetails_Task to task if the type of action spec is task. •
details.action.spec.trace
: Set the ActionDetails_Trace to task if the type of action spec is trace. •
details.action.attempts
: Set the ActionAttempt to attempts. How was this patch tested? Use the test script in the PR that maintainer provided. Labels Please add one or more of the following labels to categorize your PR: • added: For new features. • changed: For changes in existing functionality. • deprecated: For soon-to-be-removed features. • removed: For features being removed. • fixed: For any bug fixed. • security: In case of vulnerabilities This is important to improve the readability of release notes. Setup process Screenshots Check all the applicable boxes • I updated the documentation accordingly. • All new and existing tests passed. • All commits are signed-off. Related PRs Docs link •
main
• #6583 • [V2] Run Service - Add the field that GetRunDetails expected (#6977) 👈 flyteorg/flyte