GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — CI: simplify release version bumps by shykes · Pull Request #13062 · dagger/dagger

Conversation

@shykes

@shykes shykes commented Apr 30, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Summary

Release version bumps now work by running dagger generate. Set the target version once in dagger.json, run generate, and every version-dependent file in the repo gets updated. No more dedicated bump API, no more .changes/.next bookkeeping.

This removes ~20k lines of code, deletes the all-sdks orchestrator module, and eliminates Bump() methods from 9 toolchains.

How it works

The release module now has individual @generate functions — one per component (Go, Python, TypeScript, PHP, Elixir, Rust, Java, Helm, docs). Each reads targetVersion from a dagger.json customization and rewrites the appropriate version file.

What was removed

  • toolchains/all-sdks/ — the orchestrator that aggregated per-SDK Bump() calls
  • toolchains/release/bump.go — the old Release.Bump() entry point
  • Bump() methods from every SDK toolchain (Go, Python, TypeScript, PHP, Elixir, Rust, Java, .NET, docs)
  • .changes/.next as version source of truth

Release process change

Before:

dagger call release bump --engine-version="$ENGINE_VERSION"

After:

# set targetVersion in dagger.json, then:
dagger generate

Verification

  • dagger --progress=plain generate -l
  • dagger --progress=plain call -m version next-patch-version
  • dagger --progress=plain call -m version version
  • go test . in version, toolchains/cli-dev, toolchains/engine-dev, and toolchains/release

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@shykes
shykes force-pushed the refactor-release branch 3 times, most recently from 293b7ee to 340dc8f Compare May 1, 2026 08:58
@shykes shykes changed the title Refactor release version generation release: centralize version-file generation into @generate functions May 1, 2026
@shykes shykes changed the title release: centralize version-file generation into @generate functions CI: simplify release version bumps May 1, 2026
@shykes
shykes marked this pull request as ready for review May 1, 2026 17:50
@shykes
shykes force-pushed the refactor-release branch 2 times, most recently from 9372988 to de46d2c Compare May 1, 2026 18:16
@shykes
shykes requested a review from a team as a code owner May 1, 2026 18:47
shykes added 8 commits May 1, 2026 16:37
@shykes
release: move version generation into release module
2cc3c48
Move docs, Helm, and SDK version generation out of docs-dev/all-sdks and into release. Rust and Java keep their cargo/Maven update steps; releaseSource scopes inputs for each changeset.

Signed-off-by: Solomon Hykes <[email protected]>
@shykes
release: make target version module state
aa6a00a
Make targetVersion required Release state, validate semver in New, wire generated marshal/invoke code, and set the root dagger.json default. Bump reads r.TargetVersion instead of an engineVersion argument.

Signed-off-by: Solomon Hykes <[email protected]>
@shykes
release: expose per-target version generators
064013b
Replace aggregate Bump with separate +generate functions for docs, Helm, and each SDK. Regenerate bindings and update release prep docs to run dagger generate.

Signed-off-by: Solomon Hykes <[email protected]>
@shykes
release: remove legacy version bump APIs
22f1b9e
Delete old docs-dev/SDK bump entrypoints, the all-sdks aggregator, generated bindings, and the accidental root Elixir version file. Release is now the only version bump path.

Signed-off-by: Solomon Hykes <[email protected]>
@shykes
release: document target-version prep flow
88623a4
Update RELEASING.md for explicit ENGINE_VERSION, release.targetVersion, and dagger generate. Remove stale .changes/.next steps from the prep flow.

Signed-off-by: Solomon Hykes <[email protected]>
@shykes
release: track Changie release-notes follow-up
a786562
Add a TODO by the Changie helpers to generate per-component SDK release notes from release.

Signed-off-by: Solomon Hykes <[email protected]>
@shykes
release: clean up version generator constants
2e34e27
Inline single-use generator constants, keep reused Rust/Java constants local to their functions, and fold in the lint fix: MustCompile for the Rust version regexp plus gofmt.

Signed-off-by: Solomon Hykes <[email protected]>
@shykes
regen
13ee705
Signed-off-by: Solomon Hykes <[email protected]>
@shykes
shykes force-pushed the refactor-release branch from df71802 to 13ee705 Compare May 1, 2026 23:37
@github-actions

github-actions Bot commented May 16, 2026

Copy link
Copy Markdown
Contributor

This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 7 days.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot added the kind/stale label May 16, 2026
@github-actions

github-actions Bot commented May 23, 2026

Copy link
Copy Markdown
Contributor

This PR was closed because it has been stalled for 7 days with no activity.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot closed this May 23, 2026
@shykes shykes reopened this Jun 18, 2026
@shykes shykes removed the kind/stale label Jun 18, 2026
@shykes

shykes commented Jun 18, 2026

Copy link
Copy Markdown
Contributor Author

Note: this is badly stale, but I will reopen a new PR that replaces this one on top of #13313

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@shykes shykes mentioned this pull request Jun 18, 2026
ci: simplify version management #13505
Merged
@shykes

shykes commented Jun 18, 2026

Copy link
Copy Markdown
Contributor Author

Deprecated by #13505

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@shykes shykes closed this Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@shykes
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.