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

Fixup flytectl #5309

Merged
merged 12 commits into from
May 2, 2024
Merged

Fixup flytectl #5309

merged 12 commits into from
May 2, 2024

Conversation

eapolinario
Copy link
Contributor

@eapolinario eapolinario commented Apr 30, 2024

Why are the changes needed?

This PR brings the necessary changes to run flytectl CI changes in accordance with the model defined for the other components in the monorepo, including bumping the version of go (from 1.19 to 1.21).

This PR also renames the flytectl module and all its internal imports.

What changes were proposed in this pull request?

How was this patch tested?

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

Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
@eapolinario
Copy link
Contributor Author

The expectation is that the flytectl unit tests are going to fail.

Copy link

codecov bot commented Apr 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.20%. Comparing base (b55026e) to head (dd777d5).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5309      +/-   ##
==========================================
+ Coverage   59.68%   60.20%   +0.51%     
==========================================
  Files         568      646      +78     
  Lines       41729    45654    +3925     
==========================================
+ Hits        24906    27486    +2580     
- Misses      14410    15576    +1166     
- Partials     2413     2592     +179     
Flag Coverage Δ
unittests-datacatalog 69.31% <ø> (ø)
unittests-flyteadmin 58.82% <ø> (ø)
unittests-flytecopilot 17.79% <ø> (ø)
unittests-flyteidl 79.30% <ø> (ø)
unittests-flyteplugins 61.94% <ø> (ø)
unittests-flytepropeller 57.32% <ø> (ø)
unittests-flytestdlib 65.73% <ø> (?)

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: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
katrogan
katrogan previously approved these changes May 2, 2024
Copy link
Contributor

@katrogan katrogan left a comment

Choose a reason for hiding this comment

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

+1 to following up on failing unit tests
THANK YOU!!

@pmahindrakar-oss pmahindrakar-oss merged commit f59e5ae into master May 2, 2024
50 of 51 checks passed
@pmahindrakar-oss pmahindrakar-oss deleted the fixup-flytectl branch May 2, 2024 22:37
@ddl-ebrown
Copy link
Contributor

🎉

@eapolinario eapolinario mentioned this pull request May 3, 2024
3 tasks
austin362667 pushed a commit to austin362667/flyte that referenced this pull request May 7, 2024
* Fix up flytectl

Signed-off-by: Eduardo Apolinario <[email protected]>

* Rename module and fix references

Signed-off-by: Eduardo Apolinario <[email protected]>

* Hook up linting and unit tests

Signed-off-by: Eduardo Apolinario <[email protected]>

* Remove boilerplate directory

Signed-off-by: Eduardo Apolinario <[email protected]>

* Include flytectl in the go-checks gh job

Signed-off-by: Eduardo Apolinario <[email protected]>

* Fix a few unit tests

Signed-off-by: Eduardo Apolinario <[email protected]>

* Fix more tests

Signed-off-by: Eduardo Apolinario <[email protected]>

* Fix more tests

Signed-off-by: Eduardo Apolinario <[email protected]>

* Fix graphviz test

Signed-off-by: Eduardo Apolinario <[email protected]>

* Reorder test in graphviz_test

Signed-off-by: Eduardo Apolinario <[email protected]>

* Remove -race from unit tests temporarily

Signed-off-by: Eduardo Apolinario <[email protected]>

---------

Signed-off-by: Eduardo Apolinario <[email protected]>
Co-authored-by: Eduardo Apolinario <[email protected]>
robert-ulbrich-mercedes-benz pushed a commit to robert-ulbrich-mercedes-benz/flyte that referenced this pull request Jul 2, 2024
* Fix up flytectl

Signed-off-by: Eduardo Apolinario <[email protected]>

* Rename module and fix references

Signed-off-by: Eduardo Apolinario <[email protected]>

* Hook up linting and unit tests

Signed-off-by: Eduardo Apolinario <[email protected]>

* Remove boilerplate directory

Signed-off-by: Eduardo Apolinario <[email protected]>

* Include flytectl in the go-checks gh job

Signed-off-by: Eduardo Apolinario <[email protected]>

* Fix a few unit tests

Signed-off-by: Eduardo Apolinario <[email protected]>

* Fix more tests

Signed-off-by: Eduardo Apolinario <[email protected]>

* Fix more tests

Signed-off-by: Eduardo Apolinario <[email protected]>

* Fix graphviz test

Signed-off-by: Eduardo Apolinario <[email protected]>

* Reorder test in graphviz_test

Signed-off-by: Eduardo Apolinario <[email protected]>

* Remove -race from unit tests temporarily

Signed-off-by: Eduardo Apolinario <[email protected]>

---------

Signed-off-by: Eduardo Apolinario <[email protected]>
Co-authored-by: Eduardo Apolinario <[email protected]>
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.

4 participants