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

chore: Bump to GoLang v1.22 #2913

Merged
merged 3 commits into from
Aug 26, 2024
Merged

chore: Bump to GoLang v1.22 #2913

merged 3 commits into from
Aug 26, 2024

Conversation

shahzadlone
Copy link
Member

@shahzadlone shahzadlone commented Aug 15, 2024

Relevant issue(s)

Resolves #2431

Description

  • This is a routine version bump of GoLang, the previous bump was done in (chore: Bump to GoLang v1.21 #2195)
  • Also updates the golang version for AWS AMI generation.
  • Update all loop todos for 1.22 by removing the copy variables.

@shahzadlone shahzadlone added the bump Bumped version for something label Aug 15, 2024
@shahzadlone shahzadlone requested a review from a team August 15, 2024 03:50
@shahzadlone shahzadlone self-assigned this Aug 15, 2024
@shahzadlone shahzadlone added this to the DefraDB v0.14 milestone Aug 26, 2024
@sourcenetwork sourcenetwork deleted a comment from source-devs Aug 26, 2024
Copy link
Contributor

@AndrewSisley AndrewSisley left a comment

Choose a reason for hiding this comment

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

LGTM, thanks Shahzad!

.github/workflows/check-tidy.yml Outdated Show resolved Hide resolved
@@ -157,11 +157,7 @@ func getCollectionHistory(
history := map[schemaVersionID]*collectionHistoryLink{}
schemaVersionsByColID := map[uint32]schemaVersionID{}

for _, c := range cols {
// Todo - this `col := c` can be removed with Go 1.22:
// https://github.com/sourcenetwork/defradb/issues/2431
Copy link
Contributor

Choose a reason for hiding this comment

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

praise: Thanks for removing this and the others :)

Copy link

codecov bot commented Aug 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.36%. Comparing base (9a228d2) to head (4e214d9).
Report is 1 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #2913      +/-   ##
===========================================
- Coverage    79.39%   79.36%   -0.03%     
===========================================
  Files          326      326              
  Lines        24772    24768       -4     
===========================================
- Hits         19667    19656      -11     
- Misses        3696     3701       +5     
- Partials      1409     1411       +2     
Flag Coverage Δ
all-tests 79.36% <100.00%> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
internal/lens/history.go 100.00% <100.00%> (ø)
internal/planner/commit.go 83.24% <100.00%> (-0.09%) ⬇️
internal/request/graphql/schema/generate.go 87.92% <100.00%> (-0.03%) ⬇️

... and 16 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9a228d2...4e214d9. Read the comment docs.

@source-devs
Copy link

Terraform Format and Style success

Terraform Initialization success

Terraform Validation success

Terraform Plan success

Show Plan

Terraform Plan Output:
data.aws_ami.ami: Reading...
aws_security_group.sg: Refreshing state... [id=sg-03ba6f1f9cd118f43]
data.aws_ami.ami: Read complete after 0s [id=ami-0b436d9dc6b1762be]
aws_instance.instance: Refreshing state... [id=i-087b6a34e288d739d]

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.


Pushed By: @shahzadlone
SHA: 4e214d93495f3e6d2a50db0d0e005a48c69d0aba

@sourcenetwork sourcenetwork deleted a comment from source-devs Aug 26, 2024
@shahzadlone shahzadlone merged commit af15a33 into develop Aug 26, 2024
43 of 45 checks passed
@shahzadlone shahzadlone deleted the lone/bump-go-lang-1-22 branch August 26, 2024 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bump Bumped version for something
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Go version to 1.22
3 participants