name: dagger-chores description: Handle quick, repeatable Dagger repository maintenance chores. Use when the user asks for small operational changes and wants the same established edits and commit style applied quickly.
Dagger Chores
Go Version Bump
Use this checklist when asked to bump Go.
- Update the Go version string in
engine/distconsts/consts.go:
GolangVersion = "X.Y.Z"
- Update the Go default version string in
toolchains/go/main.go:
// +default="X.Y.Z"on theversionargument inNew(...)
- Use a short commit message in this format:
chore: bump to go <major.minor>- Example:
chore: bump to go 1.26
- Create a signed commit:
git commit -s -m "chore: bump to go <major.minor>"
- Tell the user to double-check whether new Go version locations have been introduced since the last bump, and mention they can ask the agent for help finding them.
- Suggested wording:
Please double-check if any additional Go version strings were added in new files; these locations can change over time. If helpful, I can also help search for those locations.
Regenerate Generated Files
Use this checklist when asked to regenerate generated files.
From the Dagger repo root, create a temp file for command output and store its path in
tmp_log.Run generation and redirect all output to the temp file:
dagger --progress=plain call generate layer export --path . >"$tmp_log" 2>&1
Search the temp file as needed instead of printing full output.
Delete the temp file when done.
Regenerate Golden Tests
Use this checklist when asked to regenerate telemetry golden tests.
- From the Dagger repo root, run
dagger -c 'engine-dev | test-telemetry --update | export .'