Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add friendly name execution object column #5965

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

wayner0628
Copy link
Contributor

Tracking issue

#5964

Why are the changes needed?

We want to improve execution name readability, while avoid a high possibility of collision using friendly names, so we make it a execution object

See the discussion: #5740

What changes were proposed in this pull request?

Execution objects now include a friendly name column.

How was this patch tested?

This PR focuses on updates to the execution model column only, as there are no modifications to Flyteconsole. The changes won't reflect on ui appearance.

Setup process

Screenshots

Screenshot 2024-11-06 at 1 43 37 AM

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

Related PRs

#5637
#5740

Docs link

Copy link

codecov bot commented Nov 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 36.95%. Comparing base (96c467e) to head (9dead1d).
Report is 9 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5965      +/-   ##
==========================================
+ Coverage   36.85%   36.95%   +0.10%     
==========================================
  Files        1310     1311       +1     
  Lines      131227   131409     +182     
==========================================
+ Hits        48362    48562     +200     
+ Misses      78668    78632      -36     
- Partials     4197     4215      +18     
Flag Coverage Δ
unittests-datacatalog 51.58% <ø> (ø)
unittests-flyteadmin 54.09% <100.00%> (+0.06%) ⬆️
unittests-flytecopilot 22.23% <ø> (+10.50%) ⬆️
unittests-flytectl 62.44% <ø> (+0.04%) ⬆️
unittests-flyteidl 6.95% <ø> (+0.03%) ⬆️
unittests-flyteplugins 53.84% <ø> (ø)
unittests-flytepropeller 43.06% <ø> (+0.15%) ⬆️
unittests-flytestdlib 55.31% <ø> (-0.12%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@wayner0628 wayner0628 marked this pull request as ready for review November 6, 2024 10:28
Signed-off-by: wayner0628 <[email protected]>
Copy link
Member

@pingsutw pingsutw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eapolinario
Copy link
Contributor

@pingsutw and I chatted about this and the conclusion is that we shouldn't store the friendly name as a column in the DB, instead, this should be a presentation-only property.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Cold PRs
Status: In review
Development

Successfully merging this pull request may close these issues.

4 participants