Skip to content

fix: update Go to 1.26.10 for vulnerability checks - #483

Merged
hossain-rayhan merged 1 commit into
documentdb:mainfrom
hossain-rayhan:rayhan-go-vul-check-update
Oct 22, 2026
Merged

hossain-rayhan merged 1 commit into
documentdb:mainfrom
hossain-rayhan:rayhan-go-vul-check-update

Conversation

@hossain-rayhan

Copy link
Copy Markdown
Collaborator

Raise all six modules to the patched Go release for GO-2026-6809. Align unit workflows with go.mod and pin the three Go builder images so container binaries receive the fix as well.

Raise all six modules to the patched Go release for GO-2026-6809. Align unit workflows with go.mod and pin the three Go builder images so container binaries receive the fix as well.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 33b3cb3c-1b25-4ffb-bff1-ebf0f3d04058
Signed-off-by: Rayhan Hossain <hossain.rayhan@outlook.com>
Copilot AI balanced review requested due to automatic review settings October 21, 2026 22:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Availability of the pinned Microsoft builder image remains unverified, so successful operator and sidecar container builds need confirmation.

No open issues 🎉

What changed in this PR

Updates Go toolchain requirements and container builders to 1.26.10 to address GO-2026-6809 across the operator, plugins, and test modules.

Changes:

  • Raises all six modules from Go 1.26.9 to 1.26.10.
  • Pins three container builders to patch-specific Go images.
  • Makes unit-test workflows read the operator’s Go version and updates security documentation.
File Description
test/​shared/​go.mod Updates the shared test module’s Go requirement.
test/​longhaul/​go.mod Updates the long-haul module’s Go requirement.
test/​longhaul/​Dockerfile Pins the Alpine Go builder.
test/​e2e/​go.mod Updates the end-to-end module’s Go requirement.
operator/​src/​go.mod Updates the operator’s Go requirement.
operator/​src/​Dockerfile Pins the Microsoft Go builder.
operator/​cnpg-plugins/​sidecar-injector/​go.mod Updates the sidecar module’s Go requirement.
operator/​cnpg-plugins/​sidecar-injector/​Dockerfile Pins the sidecar’s Microsoft Go builder.
documentdb-kubectl-plugin/​go.mod Updates the kubectl plugin’s Go requirement.
docs/​designs/​image-management.md Documents the pinned operator builder.
CHANGELOG.md Records the security update and workflow alignment.
.github/​workflows/​test-unit.yml Reads Go version from the operator module.
.github/​workflows/​test-unit-coverage.yml Reads Go version from the operator module.

Review effort: Balanced

@hossain-rayhan
hossain-rayhan merged commit ee41fd9 into documentdb:main Oct 22, 2026
66 checks passed
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.

5 participants