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

Writing zero length inputs #4594

Merged
merged 1 commit into from
Dec 13, 2023
Merged

Writing zero length inputs #4594

merged 1 commit into from
Dec 13, 2023

Conversation

hamersaw
Copy link
Contributor

Tracking issue

NA

Why are the changes needed?

Flytes templating and flytekit both rely on this zero length file to indicate there are no inputs.

What changes were proposed in this pull request?

This PR re-introduces writing a zero length input file if the node has no inputs.

How was this patch tested?

Flytesnacks workflows.

Setup process

NA

Screenshots

NA

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

NA

Signed-off-by: Daniel Rammer <[email protected]>
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Dec 13, 2023
Copy link

codecov bot commented Dec 13, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (3f4ba2e) 58.98% compared to head (5b9a27e) 58.99%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4594   +/-   ##
=======================================
  Coverage   58.98%   58.99%           
=======================================
  Files         621      621           
  Lines       52483    52483           
=======================================
+ Hits        30957    30960    +3     
+ Misses      19059    19056    -3     
  Partials     2467     2467           
Flag Coverage Δ
unittests 58.99% <100.00%> (+<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.

@hamersaw hamersaw merged commit 78efbf8 into master Dec 13, 2023
41 checks passed
@hamersaw hamersaw deleted the bug/write-zero-length-inputs branch December 13, 2023 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants