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 protos to support cache overrides #4820

Merged
merged 5 commits into from
Feb 9, 2024
Merged

Conversation

hamersaw
Copy link
Contributor

@hamersaw hamersaw commented Feb 1, 2024

Tracking issue

NA

Why are the changes needed?

To support overriding cache metadata using with_overrides on Flyte entities.

What changes were proposed in this pull request?

Add protobuf messages that are required for this support.

How was this patch tested?

Locally / cloud.

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

flyteorg/flytekit#2154

Docs link

NA

Signed-off-by: Daniel Rammer <[email protected]>
@dosubot dosubot bot added size:XXL This PR changes 1000+ lines, ignoring generated files. enhancement New feature or request labels Feb 1, 2024
Copy link

codecov bot commented Feb 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (1b3a5cc) 58.98% compared to head (da90724) 58.99%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4820   +/-   ##
=======================================
  Coverage   58.98%   58.99%           
=======================================
  Files         645      645           
  Lines       55162    55162           
=======================================
+ Hits        32539    32543    +4     
+ Misses      20048    20046    -2     
+ Partials     2575     2573    -2     
Flag Coverage Δ
unittests 58.99% <ø> (+<0.01%) ⬆️

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.

Signed-off-by: Daniel Rammer <[email protected]>
pingsutw
pingsutw previously approved these changes Feb 5, 2024
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Feb 5, 2024
@hamersaw hamersaw merged commit 227c6a1 into master Feb 9, 2024
49 checks passed
@hamersaw hamersaw deleted the feature/override-cache branch February 9, 2024 19:29
katrogan pushed a commit that referenced this pull request Feb 20, 2024
* updated protos

Signed-off-by: Daniel Rammer <[email protected]>

* updated golden files

Signed-off-by: Daniel Rammer <[email protected]>

* removed wf yaml compiler testdata

Signed-off-by: Daniel Rammer <[email protected]>

* removed unecessary yaml compiler testdata

Signed-off-by: Daniel Rammer <[email protected]>

---------

Signed-off-by: Daniel Rammer <[email protected]>
Signed-off-by: Katrina Rogan <[email protected]>
yubofredwang pushed a commit to yubofredwang/flyte that referenced this pull request Mar 26, 2024
* updated protos

Signed-off-by: Daniel Rammer <[email protected]>

* updated golden files

Signed-off-by: Daniel Rammer <[email protected]>

* removed wf yaml compiler testdata

Signed-off-by: Daniel Rammer <[email protected]>

* removed unecessary yaml compiler testdata

Signed-off-by: Daniel Rammer <[email protected]>

---------

Signed-off-by: Daniel Rammer <[email protected]>
pmahindrakar-oss pushed a commit that referenced this pull request May 1, 2024
* updated protos



* updated golden files



* removed wf yaml compiler testdata



* removed unecessary yaml compiler testdata



---------

Signed-off-by: Daniel Rammer <[email protected]>
Signed-off-by: Daniel Rammer <[email protected]>
@fg91
Copy link
Member

fg91 commented Sep 25, 2024

Overriding the cache and cache version has been implemented in flytekit's .with_overrides(), see here. Do you know whether this has been implemented in the backend after this PR which added the required protos? @pingsutw @hamersaw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request lgtm This PR has been approved by a maintainer size:XXL This PR changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants