Skip to content

chore: Bump to Go 1.26#3856

Merged
gregfurman merged 6 commits into
hatchet-dev:mainfrom
gregfurman:update/go/1.26
Jun 8, 2026
Merged

chore: Bump to Go 1.26#3856
gregfurman merged 6 commits into
hatchet-dev:mainfrom
gregfurman:update/go/1.26

Conversation

@gregfurman

Copy link
Copy Markdown
Collaborator

Description

Updates Hatchet engine to Go 1.26. Also includes updates to relevant CI and Dockerfiles in build/packages.

Type of change

  • CI (any automation pipeline changes)
  • Chore (changes which are not directly related to any business logic)

What's Changed

  • Updates go.mod to 1.26.
  • Updates associated CI tasks/workflows in .github to use 1.26 from 1.25.9.
  • Bumps dockerfiles in build/packages to use go version 1.26 from 1.25.

@vercel

vercel Bot commented May 8, 2026

Copy link
Copy Markdown

@gregfurman is attempting to deploy a commit to the Hatchet Team on Vercel.

A member of the Team first needs to authorize it.

mnafees
mnafees previously requested changes May 8, 2026
Comment thread .github/workflows/gen-examples.yml Outdated

- name: Setup Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Seems like a regression

Comment thread go.mod
github.com/pingcap/errors v0.11.4
github.com/posthog/posthog-go v1.12.1
github.com/pressly/goose/v3 v3.27.0
github.com/sashabaranov/go-openai v1.41.2

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Are we sure of this removal?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Definitely unintentional. Have reverted

@gregfurman gregfurman requested a review from mnafees May 12, 2026 15:06
@gregfurman gregfurman marked this pull request as ready for review May 12, 2026 15:06
@github-actions github-actions Bot added documentation Improvements or additions to documentation github_actions Pull requests that update GitHub Actions code engine Related to the core Hatchet engine labels Jun 4, 2026
@gregfurman gregfurman changed the title update(go): Bump to Go 1.26 chore(go): Bump to Go 1.26 Jun 4, 2026

@BloggerBust BloggerBust left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Good upgrade. The previous review concerns also look resolved: the setup-go action version is no longer regressed, and go-openai is still present in go.mod.

There are a few stale Go 1.25 references that should be updated for consistency:

File Current Expected
.github/workflows/go-benchmarks.yml go-version: "1.25.9" go-version: "1.26"
.github/workflows/sdk-python.yml second go-version: "1.25.9" go-version: "1.26"
build/package/e2e-go.dockerfile golang:1.25-alpine golang:1.26-alpine
cmd/hatchet-cli/cli/templates/go/go.mod.embed go 1.25.9 go 1.26

Everything else looks correct. I am happy to re-rreview after the refs are updated.

go-version: "1.25.9"

- name: Go deps
run: go mod download

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Did we intend to drop the go mod download step here? I think this should still work without it because go run can download modules on demand. One thing to consider is that the explicit download was useful self-documentation and may also help slightly by cahcing the module early.

@mrkaye97

mrkaye97 commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Any risk here from switching versions everywhere? I assume they're good at avoiding anything breaking and regressions, but...

@gregfurman

Copy link
Copy Markdown
Collaborator Author

@mrkaye97 I'd be pretty confident in this but if you want, we could upgrade in CI to 1.26 first?

@mrkaye97

mrkaye97 commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

@mrkaye97 I'd be pretty confident in this but if you want, we could upgrade in CI to 1.26 first?

That sounds good to me

@gregfurman

Copy link
Copy Markdown
Collaborator Author

@mrkaye97 On second thought... I think we should probably just upgrade. We can let this run in CI for a bit before doing a release a bit later in the week which IMO would give us confidence that all is working fine.

@mrkaye97

mrkaye97 commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

@mrkaye97 On second thought... I think we should probably just upgrade. We can let this run in CI for a bit before doing a release a bit later in the week which IMO would give us confidence that all is working fine.

Whatever works!

@gregfurman

Copy link
Copy Markdown
Collaborator Author

@mrkaye97 image

@gregfurman gregfurman dismissed stale reviews from mnafees and BloggerBust June 8, 2026 19:56

Stale

@gregfurman gregfurman changed the title chore(go): Bump to Go 1.26 chore: Bump to Go 1.26 Jun 8, 2026
@gregfurman gregfurman merged commit f52c09c into hatchet-dev:main Jun 8, 2026
86 of 92 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation engine Related to the core Hatchet engine github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants