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

Consistent formatting for artifact id spec #2351

Merged
merged 2 commits into from
Apr 15, 2024
Merged

Conversation

wild-endeavor
Copy link
Contributor

@wild-endeavor wild-endeavor commented Apr 15, 2024

Why are the changes needed?

The new artifact ID causes weird issues with the metadata field. The field itself is not used I don't think for the vast majority of Flyte, but is included in Admin's digest check, which is causing repeat registrations to fail with

task with different structure already exists with id resource_type:TASK  project:"flytesnacks"  domain:"development"  name:"ingest_data.merge_embeddings"  version:"GHP2gevxt5ywddhM92TU9A"

Had to amend an unrelated Azure FS test because of fsspec/adlfs#270. We started picking up the latest version of adlfs over the weekend which is causing the test to fail.

What changes were proposed in this pull request?

Add a pretty print to the object, which should remediate the conflict at least.

How was this patch tested?

Unit tested and tested register with previously failing scenario.

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

@wild-endeavor wild-endeavor marked this pull request as ready for review April 15, 2024 21:00
@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Apr 15, 2024
Copy link

codecov bot commented Apr 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 42.32%. Comparing base (bf38b8e) to head (586201a).
Report is 7 commits behind head on master.

❗ Current head 586201a differs from pull request most recent head ac656a3. Consider uploading reports for the commit ac656a3 to get more accurate results

Additional details and impacted files
@@             Coverage Diff             @@
##           master    #2351       +/-   ##
===========================================
- Coverage   83.04%   42.32%   -40.72%     
===========================================
  Files         324      180      -144     
  Lines       24861    18160     -6701     
  Branches     3547     3554        +7     
===========================================
- Hits        20645     7686    -12959     
- Misses       3591    10383     +6792     
+ Partials      625       91      -534     

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

Signed-off-by: Yee Hing Tong <[email protected]>
@wild-endeavor wild-endeavor changed the title consistent formatting for artifact id spec Consistent formatting for artifact id spec Apr 15, 2024
@dosubot dosubot bot added the lgtm This PR has been approved by maintainer label Apr 15, 2024
@wild-endeavor wild-endeavor merged commit 62c3dd6 into master Apr 15, 2024
47 checks passed
fiedlerNr9 pushed a commit that referenced this pull request Jul 25, 2024
Signed-off-by: Yee Hing Tong <[email protected]>
Signed-off-by: Jan Fiedler <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by maintainer size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants