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

pkg: Use new grpc.NewClient over grpc.Dial #4676

Merged
merged 2 commits into from
May 27, 2024
Merged

pkg: Use new grpc.NewClient over grpc.Dial #4676

merged 2 commits into from
May 27, 2024

Conversation

metalmatze
Copy link
Member

  • pkg: Use newer grpc.NewClient over deprecated grpc.Dial
  • Update deprecated golanglint-ci config

@metalmatze metalmatze requested review from a team as code owners May 27, 2024 10:34
@asubiotto
Copy link
Member

asubiotto commented May 27, 2024

Can you add an explanation of why these changes were made to the commit message? I'm not sure what's going on without context. sorry, I had only read the PR title and didn't realize Dial was deprecated

Is NewClient equivalent to Dial?

Copy link

alwaysmeticulous bot commented May 27, 2024

🤖 Meticulous spotted visual differences in 1 of 423 screens tested: view and approve differences detected.

Last updated for commit beeca32. This comment will update as new commits are pushed.

@asubiotto
Copy link
Member

This answers my question: grpc/grpc-go#1786

@asubiotto
Copy link
Member

One thing though: shouldn't these lint issues be caught on PR CI? i.e. when the grpc package was upgraded

@metalmatze
Copy link
Member Author

One thing though: shouldn't these lint issues be caught on PR CI? i.e. when the grpc package was upgraded

That's an excellent question. It should indeed have caught it...
It seems like the action as skipped: https://github.com/parca-dev/parca/actions/runs/9236652064/job/25412732712

@metalmatze metalmatze merged commit 7ff555c into main May 27, 2024
35 checks passed
@metalmatze
Copy link
Member Author

If I understand this config correctly, we can add go.mod to this array?

[
"**.go",
".github/workflows/go-lint.yml",
".go-version",
".golangci.yml",
".node-version"
]

@metalmatze metalmatze deleted the grpc-dial branch May 27, 2024 12:39
@asubiotto
Copy link
Member

I think we can

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