chore(cli): add Go quickstart dependency update task#4087
Merged
Conversation
Add a script and Taskfile target for updating the embedded Go quickstart template dependencies. The script runs the update in a temporary project directory and copies the updated `go.mod` and `go.sum` back into the template. Run the new task once to update the Go quickstart template from v0.87.1 to v0.88.6.
|
@BloggerBust is attempting to deploy a commit to the Hatchet Team on Vercel. A member of the Team first needs to authorize it. |
1 task
mrkaye97
approved these changes
Jun 5, 2026
21 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add a script and Taskfile target for updating the embedded Go quickstart template dependencies. The script runs the update in a temporary project directory, strips
.embedsuffixes for compatability with the go toolchain, and copies the updatedgo.modandgo.sumback into the template.This is necessary because the Go template uses
go.mod.embed, which Dependabot will not discover given the current logic in the file fetcher..This PR also runs the new task once to update the Go quickstart template from
v0.87.1tov0.88.6.Type of change
What's Changed
hack/update-go-quickstart-deps.shfor updating the embedded Go quickstart template dependency files.task update-go-quickstart-depswith optionalVERSION=vX.Y.Zoverride.v0.87.1tov0.88.6.Checklist
Changes have been:
Testing
Validated locally with:
Also generated the Go quickstart template and verified the output contains
go.modrather thango.mod.embed, withgithub.com/hatchet-dev/hatchet v0.88.6.🤖 AI Disclosure
I acknowledge that an LLM was used in the creation of this Pull Request, in accordance with Hatchet's AI_POLICY.md.
Details: Used Claude Code to investigate the Go quickstart template dependency automation, explain the
go.mod.embedand//go:embedconstraints and validate the solution.