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

[Housekeeping] Bump Go version to 1.22 #5032

Merged
merged 14 commits into from
Jul 22, 2024

Conversation

lowc1012
Copy link
Contributor

@lowc1012 lowc1012 commented Mar 10, 2024

Tracking issue

Closes #4994

Why are the changes needed?

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

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. housekeeping Issues that help maintain flyte and keep it tech-debt free labels Mar 10, 2024
Copy link

codecov bot commented Mar 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 35.82%. Comparing base (f54b74e) to head (6ae0746).
Report is 164 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master    #5032       +/-   ##
===========================================
- Coverage   61.00%   35.82%   -25.19%     
===========================================
  Files         794     1299      +505     
  Lines       51441   109297    +57856     
===========================================
+ Hits        31384    39159     +7775     
- Misses      17165    66032    +48867     
- Partials     2892     4106     +1214     
Flag Coverage Δ
unittests-datacatalog 51.37% <ø> (-17.95%) ⬇️
unittests-flyteadmin 53.73% <ø> (-5.01%) ⬇️
unittests-flytecopilot 12.17% <ø> (-5.62%) ⬇️
unittests-flytectl 62.63% <ø> (-5.40%) ⬇️
unittests-flyteidl 7.09% <ø> (-71.96%) ⬇️
unittests-flyteplugins 53.36% <ø> (-8.49%) ⬇️
unittests-flytepropeller 41.43% <ø> (-15.88%) ⬇️
unittests-flytestdlib 55.17% <ø> (-10.63%) ⬇️

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.

@lowc1012 lowc1012 force-pushed the flyte-issues-4994 branch from 804d40f to 23c77cf Compare March 10, 2024 11:03
@lowc1012 lowc1012 changed the title [Housekeeping] Bump Go version to 1.22 WIP: [Housekeeping] Bump Go version to 1.22 Mar 10, 2024
@lowc1012 lowc1012 force-pushed the flyte-issues-4994 branch from 88540c7 to cc19bab Compare March 10, 2024 18:57
@lowc1012 lowc1012 force-pushed the flyte-issues-4994 branch from cc19bab to 53fec8b Compare March 11, 2024 19:16
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels Mar 11, 2024
@lowc1012 lowc1012 changed the title WIP: [Housekeeping] Bump Go version to 1.22 [Housekeeping] Bump Go version to 1.22 Mar 11, 2024
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Mar 12, 2024
Dockerfile Outdated Show resolved Hide resolved
@eapolinario
Copy link
Contributor

@lowc1012 , are you still going to work on this PR? If so, can you merge master?

@lowc1012
Copy link
Contributor Author

@eapolinario
I just came back from vacation. merged master into dev branch.
thanks

* go mod tidy for flytectl/go.mod

Signed-off-by: Ryan Lo <[email protected]>
@lowc1012 lowc1012 force-pushed the flyte-issues-4994 branch from 2322980 to 0f3c597 Compare May 31, 2024 14:27
@eapolinario
Copy link
Contributor

@lowc1012 , building the sandbox is hitting a failure, can you take a look? You can reproduce locally by running make -C docker/sandbox-bundled build from the root of the repo.

@lowc1012
Copy link
Contributor Author

@eapolinario thanks, I push a new commit

Signed-off-by: Ryan Lo <[email protected]>
pingsutw
pingsutw previously approved these changes Jun 26, 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.

@lowc1012 lowc1012 force-pushed the flyte-issues-4994 branch from 5a8f5ac to 6ae0746 Compare June 27, 2024 00:39
@lowc1012
Copy link
Contributor Author

Thank you, this is looking pretty good. Can you also update https://github.com/flyteorg/flyte/blob/master/boilerplate/flyte/golang_support_tools/go.mod#L3 ?

@eapolinario done

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.

cc @eapolinario mind taking another look as well?

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. This looks great!

@eapolinario eapolinario merged commit 02a0d2e into flyteorg:master Jul 22, 2024
53 of 54 checks passed
vlibov pushed a commit to vlibov/flyte that referenced this pull request Aug 16, 2024
* update go 1.22 & make go-tidy

Signed-off-by: Ryan Lo <[email protected]>

* update Dockerfiles

Signed-off-by: Ryan Lo <[email protected]>

* update gha workflows

Signed-off-by: Ryan Lo <[email protected]>

* upgrade x tools to fix panic crash in go 1.22

Signed-off-by: Ryan Lo <[email protected]>

* go mod tidy

Signed-off-by: Ryan Lo <[email protected]>

* update gha workflows

Signed-off-by: Ryan Lo <[email protected]>

* (flytestdlib) go mod tidy

Signed-off-by: Ryan Lo <[email protected]>

* trigger tests

Signed-off-by: Ryan Lo <[email protected]>

* * bump arduino/setup-protoc to v3
* go mod tidy for flytectl/go.mod

Signed-off-by: Ryan Lo <[email protected]>

* update go version for sandbox-bundled

Signed-off-by: Ryan Lo <[email protected]>

* chore

Signed-off-by: Ryan Lo <[email protected]>

* update boilerplate/flyte/golang_support_tools/go.mod

Signed-off-by: Ryan Lo <[email protected]>

---------

Signed-off-by: Ryan Lo <[email protected]>
Signed-off-by: WenChih Lo <[email protected]>
Signed-off-by: Vladyslav Libov <[email protected]>
ddl-ebrown added a commit to dominodatalab/flyte that referenced this pull request Sep 4, 2024
 - flyteorg#5032 updated builds to use
   Go 1.22 -- but in practice it looks like flytectl is being built with
   an outdated toolchain based on Go 1.22.0 instead of Go 1.22.5 or
   1.22.6 (i.e. latest)

   For instance, flytectl v0.9.0 reports being built with Go 1.22.0

   ❯ go version -m -v flytectl
   flytectl: go1.22.0

   Ensure the proper Go environment for security reasons
ddl-ebrown added a commit to dominodatalab/flyte that referenced this pull request Sep 4, 2024
 - flyteorg#5032 updated builds to use
   Go 1.22 -- but in practice it looks like flytectl is being built with
   an outdated toolchain based on Go 1.22.0 instead of Go 1.22.5 or
   1.22.6 (i.e. latest)

   For instance, flytectl v0.9.0 reports being built with Go 1.22.0

   ❯ go version -m -v flytectl
   flytectl: go1.22.0

   Ensure the proper Go environment for security reasons

Signed-off-by: ddl-ebrown <[email protected]>
ddl-ebrown added a commit to dominodatalab/flyte that referenced this pull request Sep 4, 2024
 - flyteorg#5032 updated builds to use
   Go 1.22 -- but in practice it looks like flytectl is being built with
   an outdated toolchain based on Go 1.22.0 instead of Go 1.22.5 or
   1.22.6 (i.e. latest)

   See https://go.dev/doc/toolchain for further details

   For instance, flytectl v0.9.0 reports being built with Go 1.22.0

   ❯ go version -m -v flytectl
   flytectl: go1.22.0

   Ensure the proper Go environment for security reasons

Signed-off-by: ddl-ebrown <[email protected]>
eapolinario pushed a commit that referenced this pull request Sep 10, 2024
- #5032 updated builds to use
   Go 1.22 -- but in practice it looks like flytectl is being built with
   an outdated toolchain based on Go 1.22.0 instead of Go 1.22.5 or
   1.22.6 (i.e. latest)

   See https://go.dev/doc/toolchain for further details

   For instance, flytectl v0.9.0 reports being built with Go 1.22.0

   ❯ go version -m -v flytectl
   flytectl: go1.22.0

   Ensure the proper Go environment for security reasons

Signed-off-by: ddl-ebrown <[email protected]>
bgedik pushed a commit to bgedik/flyte that referenced this pull request Sep 12, 2024
- flyteorg#5032 updated builds to use
   Go 1.22 -- but in practice it looks like flytectl is being built with
   an outdated toolchain based on Go 1.22.0 instead of Go 1.22.5 or
   1.22.6 (i.e. latest)

   See https://go.dev/doc/toolchain for further details

   For instance, flytectl v0.9.0 reports being built with Go 1.22.0

   ❯ go version -m -v flytectl
   flytectl: go1.22.0

   Ensure the proper Go environment for security reasons

Signed-off-by: ddl-ebrown <[email protected]>
Signed-off-by: Bugra Gedik <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
housekeeping Issues that help maintain flyte and keep it tech-debt free size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Housekeeping] Move to go 1.22
4 participants