Skip to content

Conversation

yash-gangwar-aurva
Copy link

No description provided.

yash-gangwar-aurva and others added 23 commits February 7, 2025 18:20
* updated release workflow & go version to fix vulns

* updated release workflow perms

---------

Co-authored-by: Yash Gangwar <[email protected]>
* updated release workflow & go version to fix vulns

* updated release workflow perms

* updated release workflow perms

---------

Co-authored-by: Yash Gangwar <[email protected]>
* updated some modules versions to fix vulns

* updated some modules versions to fix vulns

---------

Co-authored-by: Yash Gangwar <[email protected]>
* updated some modules versions to fix vulns

* updated some modules versions to fix vulns

---------

Co-authored-by: Yash Gangwar <[email protected]>
Signed-off-by: yash-gangwar-aurva <[email protected]>
Signed-off-by: yash-gangwar-aurva <[email protected]>
* updated go to 1.24.4

* updated some modules versions to fix vulns

* updated some modules versions to fix vulns

---------

Signed-off-by: yash-gangwar-aurva <[email protected]>
Copy link
Collaborator

@ahmetb ahmetb left a comment

Choose a reason for hiding this comment

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

Whats the reason behind this PR? 1.23 is actively patched.

Dockerfile Outdated
@@ -1,4 +1,4 @@
FROM golang:1.24 AS build
FROM golang:1.24.5 AS build
Copy link
Collaborator

Choose a reason for hiding this comment

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

Its not a good idea to pin here

@@ -14,7 +18,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.23'
go-version: '1.24.5'
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not a good idea to pin

Comment on lines +10 to +12
permissions:
contents: write
packages: write
Copy link
Collaborator

Choose a reason for hiding this comment

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

Whats this?

Copy link
Contributor

Choose a reason for hiding this comment

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

These permissions were added to the workflow level in

so there is no need to add them to the job level also.

Copy link
Contributor

@stefanb stefanb Jul 31, 2025

Choose a reason for hiding this comment

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

The source branch https://github.com/aurva-io/grpc-health-probe/tree/update/go seems very outdated:

22 commits ahead of, 20 commits behind grpc-ecosystem/grpc-health-probe:master.

...and is in conflict with master branch.

@yash-gangwar-aurva, I would suggest a rebase and resolving the conflicts before this PR can be looked into any further.

@@ -2,6 +2,7 @@ name: ci
on:
push:
pull_request:
workflow_dispatch:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why do we add this?

Copy link
Contributor

Choose a reason for hiding this comment

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

This would allow you to trigger the workflow manually on https://github.com/grpc-ecosystem/grpc-health-probe/actions/workflows/ci.yml (top right corner above the list).
Not sure why it would be needed though.

go.mod Outdated
google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a // indirect
google.golang.org/protobuf v1.36.1 // indirect
)

go 1.23
go 1.24.2
Copy link

Choose a reason for hiding this comment

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

Could we update it to 1.24.5

@@ -14,7 +18,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.23'
go-version: '1.24.6'
Copy link
Collaborator

Choose a reason for hiding this comment

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

Manually pinning to a version would be a regression for us.

@@ -1,4 +1,4 @@
FROM golang:1.24 AS build
FROM golang:1.24.6 AS build
Copy link
Collaborator

Choose a reason for hiding this comment

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

Manually pinning to a version would be a regression for us.

@ahmetb
Copy link
Collaborator

ahmetb commented Aug 12, 2025

I don't think we should be pinning to specific Go versions. -1 on this as it stands.

@stefanb
Copy link
Contributor

stefanb commented Aug 12, 2025

I see pinning exact Go versions as a way to have a change worthy of a release and newly built binaries with the pinned Go version.
It would require more updates to keep it up to date

Similar could be achieved by creating releases without any code changes when necesarry (eg if a go release fixes a relevant bug).

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