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

ContainerTask fix to read base env vars properly from compilation settings #1216

Merged
merged 1 commit into from
Oct 3, 2022

Conversation

wild-endeavor
Copy link
Contributor

TL;DR

Bug in container task that wasn't being hit unless user specifies an additional env var map in the task.

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

Complete description

Fix npe.

Tracking Issue

User reported issue:
https://discuss.flyte.org/t/2749411/what-s-your-gh-handle-U03KEF8H6FR

Signed-off-by: Yee Hing Tong <[email protected]>
@codecov
Copy link

codecov bot commented Oct 3, 2022

Codecov Report

Merging #1216 (6f345af) into master (63ad4fc) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #1216   +/-   ##
=======================================
  Coverage   68.57%   68.57%           
=======================================
  Files         288      288           
  Lines       26224    26225    +1     
  Branches     2929     2929           
=======================================
+ Hits        17984    17985    +1     
  Misses       7762     7762           
  Partials      478      478           
Impacted Files Coverage Δ
tests/flytekit/unit/core/test_serialization.py 93.20% <ø> (ø)
flytekit/core/container_task.py 29.54% <100.00%> (+1.63%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@eapolinario eapolinario merged commit 0bd3261 into master Oct 3, 2022
@wild-endeavor
Copy link
Contributor Author

cc @fredrickprashanth

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants