Skip to content

feat: release automation#635

Merged
r-n-o merged 1 commit intomainfrom
annie/release-automation
Feb 23, 2026
Merged

feat: release automation#635
r-n-o merged 1 commit intomainfrom
annie/release-automation

Conversation

@annieke
Copy link
Contributor

@annieke annieke commented Feb 19, 2026

Summary & Motivation (Problem vs. Solution)

We want to begin publishing QOS to crates.io. This PR adds release-plz, which will push new releases on closing PRs labeled with release (same behavior as rust-sdk), and generate changelogs based on commits in that release.

How I Tested These Changes

Has not been tested yet

Pre merge check list

  • Update CHANGELOG.MD -- CHANGELOG.MD has been renamed and marked as pre-v0.5.0; the future version will be re-generated by release-plz

@annieke annieke requested review from a team as code owners February 19, 2026 22:13
@annieke annieke force-pushed the annie/release-automation branch 3 times, most recently from a2781c9 to a02c747 Compare February 20, 2026 21:01
@annieke annieke requested review from Turnalek and emostov February 20, 2026 22:50
Comment on lines 3 to 9
version.workspace = true
edition.workspace = true
rust-version.workspace = true
publish = false
license.workspace = true
description = "QuorumOS enclave host that proxies requests to the enclave"
repository = "https://github.com/tkhq/qos"
keywords = ["quorumos", "enclave", "nitro", "proxy", "host"]
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this a crate we expect users will consume externally? In mono we don't depend on it for example so I think the answer is no?

Copy link
Contributor

Choose a reason for hiding this comment

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

In mono we don't depend on it for example so I think the answer is no?

Isn't that a model we want to move to though?

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure we do, our code doesn't have a reason to depend on qos_host. But our infra does (we run qos_host as a container in enclave pods). So the solution is to publish container images from this repo (instead of rebuilding from mono).

Copy link
Contributor

Choose a reason for hiding this comment

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

(and we are planning to publish container images as well, but that's not what this PR is about -- it will be a followup!)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i'll remove qos_host as a crate and publish it as an image (which is what i'm doing for qos_enclave as well, no crate only image)

Copy link
Contributor

Choose a reason for hiding this comment

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

Might be crazy, but the one reason to publish this would be so people could use cargo install to locally install the binary. However, I imagine this is not something we expect

Copy link
Contributor Author

Choose a reason for hiding this comment

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

let's see if it's ever requested!

@annieke annieke force-pushed the annie/release-automation branch from a02c747 to e642781 Compare February 23, 2026 18:35
@annieke annieke requested a review from r-n-o February 23, 2026 19:17
@annieke annieke force-pushed the annie/release-automation branch from e642781 to 7f7e397 Compare February 23, 2026 19:58
@annieke annieke requested a review from emostov February 23, 2026 20:02
@annieke annieke force-pushed the annie/release-automation branch from 7f7e397 to cb59ec5 Compare February 23, 2026 20:33
toolchain: stable
components: clippy,rustfmt
- name: Run release-plz
uses: release-plz/action@dde7b63054529c440305a924e5849c68318bcc9a #v0.5.107
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's bump this: I realized this morning that this version didn't support Trusted Publishing: tkhq/rust-sdk#88

version.workspace = true
edition.workspace = true
rust-version.workspace = true
publish = false
Copy link
Contributor

Choose a reason for hiding this comment

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

let's bring publish = false back? (if we don't intend to publish it)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

great catch!!

@annieke annieke force-pushed the annie/release-automation branch from cb59ec5 to 5a6675c Compare February 23, 2026 21:58
@annieke annieke requested a review from r-n-o February 23, 2026 21:59
@r-n-o r-n-o merged commit b328bb1 into main Feb 23, 2026
6 checks passed
@r-n-o r-n-o deleted the annie/release-automation branch February 23, 2026 22:18
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.

5 participants