Skip to content

Workflow to finalize Wasmtime upgrade - #3627

Merged
fibonacci1729 merged 3 commits into
mainfrom
finalize-wasmtime
Jul 22, 2026
Merged

Workflow to finalize Wasmtime upgrade#3627
fibonacci1729 merged 3 commits into
mainfrom
finalize-wasmtime

Conversation

@fibonacci1729

@fibonacci1729 fibonacci1729 commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

First attempt at adding a workflow to complement the bump-wasmtime automation.

I broke this up into a manual workflow_dispatch workflow. There are two phases update and backport. The update phase updates the PR created from the bump-wasmtime workflow to point at the released crates.io version. The backport job can then be run to backport the merged PR from the update phase to the latest release branch. This backport PR will contain the patch version bump as well. All that is left is to push the tag to cut the release.

Signed-off-by: Brian Hardock <brian.hardock@fermyon.com>
@itowlson

Copy link
Copy Markdown
Collaborator

Is this a crypto miner? No.

That's assurance enough for me!

@itowlson itowlson 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.

Per your comment about improving confidence, my suggestions would be:

  • Split the bump and backport-patch. That gives us an opportunity to review the bump PR, and address any concerns, before kicking off the backport. After several months of everything going perfectly smoothly, as it surely will, we can review whether to re-combine them.
  • Begin with the manual (workflow_dispatch) trigger only. That means we can run it at a time of our choosing when we are ready to keep an eye out for any shenanigans. Move to automatic later, when our confidence is high.

Comment thread .github/workflows/finalize-wasmtime.yml Outdated
Comment thread .github/workflows/finalize-wasmtime.yml Outdated
Comment thread .github/workflows/finalize-wasmtime.yml Outdated
Comment thread .github/workflows/finalize-wasmtime.yml Outdated
Comment thread .github/workflows/finalize-wasmtime.yml Outdated
Signed-off-by: Brian Hardock <brian.hardock@fermyon.com>

@itowlson itowlson 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.

You might want to get someone else to look at the bash, and I have a couple of suggestions, but generally LGTM - thanks!

Comment thread .github/workflows/finalize-wasmtime.yml Outdated
log "Pushed crates.io update to ${pr_branch}"
}

cmd_backport() {

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.

Can we leverage the existing backport script for this?

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.

Not very cleanly. The backport job here also bumps the version for the patch release.

Signed-off-by: Brian Hardock <brian.hardock@fermyon.com>
@fibonacci1729
fibonacci1729 enabled auto-merge (squash) July 22, 2026 22:10
@fibonacci1729
fibonacci1729 merged commit bba5b70 into main Jul 22, 2026
17 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.

2 participants