Skip to content

Conversation

@jpayne3506
Copy link
Contributor

@jpayne3506 jpayne3506 commented Aug 8, 2025

Reason for Change:

Takes on intent from #3467 and rebases it with new changes, notably make dockerfiles which leverages renderkit

Additionally:

  • creates a new go.mod at root level to ensure that tool dependencies do not conflict with our components.
    • this also requires us to point at the respective tools.go.mod to use i.e. go tools -modfile=tools.go.mod controller-gen ...
  • adds make regenerate-crd to match make dockerfiles interaction with GH workflow
  • cleans up *printf usages - https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/printf#hdr-Examples

Issue Fixed:

Requirements:

Notes:

Copilot AI review requested due to automatic review settings August 8, 2025 18:27
@jpayne3506 jpayne3506 requested a review from rayaisaiah August 8, 2025 18:27
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR upgrades the Go runtime from version 1.23 to 1.24.0 across the Azure Container Networking project. It consolidates tool management by moving from separate tool binaries to leveraging Go 1.24's built-in tool support and removes several obsolete toolbox components.

  • Upgrades Go version from 1.23.x to 1.24.0 across all modules and Docker images
  • Refactors tool management to use go tool commands instead of separate binary builds
  • Removes deprecated toolbox server and manifest files

Reviewed Changes

Copilot reviewed 46 out of 50 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
go.mod, zapai/go.mod, dropgz/go.mod, etc. Update Go version to 1.24.0 and related dependency versions
tools.go.mod Restructure from traditional require statements to Go 1.24's tool directive
Makefile, platform/Makefile, various CRD Makefiles Replace tool binary paths with go tool commands
Dockerfiles Update base Go images to 1.24 versions with new SHA digests
hack/toolbox/* Remove deprecated toolbox server implementation and manifests
GitHub workflows Update to use go-version-file instead of hardcoded versions

@jpayne3506 jpayne3506 force-pushed the jpayne/go1.24 branch 11 times, most recently from 2dff178 to a507f8c Compare August 8, 2025 20:41
@jpayne3506 jpayne3506 force-pushed the jpayne/go1.24 branch 2 times, most recently from b59c6c7 to 5d03f82 Compare September 4, 2025 16:27
@jpayne3506
Copy link
Contributor Author

/azp run NPM Scale Test, NPM Conformance Tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@jpayne3506
Copy link
Contributor Author

@jpayne3506 jpayne3506 added this pull request to the merge queue Sep 8, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 8, 2025
@jpayne3506 jpayne3506 added this pull request to the merge queue Sep 8, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch Sep 9, 2025
@jpayne3506 jpayne3506 added this pull request to the merge queue Sep 9, 2025
Merged via the queue into master with commit d2b3e42 Sep 9, 2025
112 of 117 checks passed
@jpayne3506 jpayne3506 deleted the jpayne/go1.24 branch September 9, 2025 06:44
sivakami-projects pushed a commit that referenced this pull request Oct 23, 2025
* chore: update to go1.24

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>

* chore: cleanup rebase

* chore: regenerate crds

* chore: address comments

* chore: clean up go tool cover

* chore: pre-review cleanup

* revert: ipv6 image from azurelinux to base

* chore: add back go-junit-report tool install

* chore: clean up cni non-constant Errorf usage

* chore: clean up cns non-constant Sprintf usage

* chore: clean up npm non-constant Sprintf usage

* chore: clean up test non-constant Errorf usage

* chore: cleanup windows NPM

* chore: generate bpf-lib(s) for block-iptables in signed UTs

* chore: cleanup rebase

---------

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
Co-authored-by: Evan Baker <rbtr@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Infra or tooling. go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants