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 new sandbox-bundled-offloaded-functional-tests for offloading literals unit test #6111

Merged
merged 7 commits into from
Dec 27, 2024

Conversation

Mecoli1219
Copy link
Contributor

@Mecoli1219 Mecoli1219 commented Dec 17, 2024

Why are the changes needed?

Currently, there seems to be no CI test covering the end-to-end offloaded test at the flyte repo. This PR create one.

What changes were proposed in this pull request?

Copy the sandbox-bundled-functional-test, and add new propeller parameters in the flyte config.yaml file. By setting the min-size-in-mb-for-offloading to be 0.000001 (aka. 1e-6MB = 1B), almost all the output of the task should be offloaded.

How was this patch tested?

I first run a local cluster with the updated config file, and test the flytesnacks advanced_composition examples to make sure it will actually offload the literal.

For the real CI test, I'll have to rely on the CI for this PR.

Setup process

Screenshots

image

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

Signed-off-by: Mecoli1219 <[email protected]>
Copy link

codecov bot commented Dec 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 37.01%. Comparing base (7f95782) to head (27bb716).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6111   +/-   ##
=======================================
  Coverage   37.00%   37.01%           
=======================================
  Files        1318     1318           
  Lines      132519   132519           
=======================================
+ Hits        49040    49046    +6     
+ Misses      79235    79229    -6     
  Partials     4244     4244           
Flag Coverage Δ
unittests-datacatalog 51.58% <ø> (ø)
unittests-flyteadmin 54.23% <ø> (+0.02%) ⬆️
unittests-flytecopilot 30.99% <ø> (ø)
unittests-flytectl 62.29% <ø> (ø)
unittests-flyteidl 7.23% <ø> (ø)
unittests-flyteplugins 53.86% <ø> (ø)
unittests-flytepropeller 42.59% <ø> (ø)
unittests-flytestdlib 55.18% <ø> (ø)

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: Mecoli1219 <[email protected]>
Signed-off-by: Mecoli1219 <[email protected]>
Signed-off-by: Mecoli1219 <[email protected]>
Signed-off-by: Mecoli1219 <[email protected]>
@Mecoli1219 Mecoli1219 changed the title Add new sandbox-bundled-offloaded-functional-tests for offloading literals unit test [WIP] Add new sandbox-bundled-offloaded-functional-tests for offloading literals unit test Dec 17, 2024
Signed-off-by: Mecoli1219 <[email protected]>
@Mecoli1219 Mecoli1219 changed the title [WIP] Add new sandbox-bundled-offloaded-functional-tests for offloading literals unit test Add new sandbox-bundled-offloaded-functional-tests for offloading literals unit test Dec 17, 2024
@Mecoli1219
Copy link
Contributor Author

Mecoli1219 commented Dec 17, 2024

@pmahindrakar-oss this PR is ready to be reviewed

pingsutw
pingsutw previously approved these changes Dec 27, 2024
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.

LGTM, thank you! cc @eapolinario

eapolinario
eapolinario previously approved these changes Dec 27, 2024
Copy link
Contributor

@eapolinario eapolinario left a comment

Choose a reason for hiding this comment

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

Thank you!

@eapolinario eapolinario dismissed stale reviews from pingsutw and themself via 27bb716 December 27, 2024 19:16
@eapolinario eapolinario enabled auto-merge (squash) December 27, 2024 19:17
@eapolinario eapolinario merged commit a796d24 into flyteorg:master Dec 27, 2024
53 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants