Repository navigation
Conversation
Replace the changesets/action release flow with verwalter. The release PR is regenerated from main on each push. Merging it tags, creates the GitHub release and publishes to Maven Central. gradle.properties now holds the last released version, and android.yml publishes the next patch version as a SNAPSHOT through -PVERSION_NAME. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Changeset missingThis PR changes versioned packages without a changeset for:
Create a changeset for the missing packages (prefilled with If this change needs no release, add the |
A failed build or test now stops the run before a tag or GitHub release exists. Before, the tag came first, and a failed test left a tag that needed an abandon and a new version. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Diffuse output: AAR |
- verify waits until Maven Central has the version, then runs verwalter status --check, so a skipped or silent failure ends red. - Docs upload and the components-android dispatch move to a notify job after verify. They read the version and the prerelease flag from the releases output, and run only for a final release on main. - The publish job has a concurrency group, so two runs never upload to Sonatype at the same time. - The pull_request trigger has no branches filter. The condition on the build job decides which PRs release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pin the action to v0.32.0-rc.1. The release workflow uses the new `gate` job in place of the long `if:` condition, and `verify` uses `status --check --wait 90m` in place of the curl loop on Maven Central. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Devin Review found 1 potential issue.
3 flags not posted on this PR by your GitHub settings — view them in Devin Review. (Configure)
| # release jobs above stay green. | ||
| notify: | ||
| needs: [release, verify] | ||
| if: contains(fromJson(needs.release.outputs.releases || '[]').*.package, 'client-sdk-android') |
There was a problem hiding this comment.
🟡 Manual recovery skips release notifications
When a maintainer reruns a public main release by tag, notify skips the docs upload and Components Android dispatch. verwalter release returns an empty list for public releases, even when verification passes and those steps never ran.
Learn more
The recovery instructions tell maintainers to dispatch the fixed workflow with the existing release tag. On that run, the release job gets an empty list from the pinned action because the tag and public GitHub release already exist. The publish job still runs for a manual dispatch and skips uploading an existing Maven version. A successful verification cannot supply the missing release metadata, so the downstream job is skipped.
Example: The 2.31.0 release reaches Maven Central, but an error in the workflow prevents the docs upload. A maintainer fixes the workflow on main and dispatches it with ref=v2.31.0. Verification passes, but the docs upload does not run.
Recommended fix: Keep the release identity available for manual recovery when the selected tag already has a public release. For example, explicitly ask verwalter to report client-sdk-android for a manual dispatch from a verified existing release tag. Retain the verification and stable-main guards before either downstream step.
Was this helpful? React with 👍 or 👎 to provide feedback.
| // Snapshots of the latest development version are available at: | ||
| // implementation "io.livekit:livekit-android:2.30.1-SNAPSHOT" | ||
| // Snapshots of the latest development version are published as the next patch version: | ||
| // implementation "io.livekit:livekit-android:<next patch version>-SNAPSHOT" |
There was a problem hiding this comment.
Is this text that will stay or will get updated during the release process?
davidliu
left a comment
There was a problem hiding this comment.
Other than the issue devin flagged, LGTM
Today a release needs a pushed tag or the changesets/action flow, plus a PR afterwards to move
VERSION_NAMEback to-SNAPSHOT. The old flow tags first and tests later. At v2.30.0 the tests failed after the tag. The docs were already uploaded, andlivekit/components-androidwas notified of a version that Maven Central did not have. A manual publish the next day builtc65735b, not the tagged commit748d7a0. This PR moves the release to verwalter v0.32.0-rc.1, which other LiveKit SDKs already use.Change
verwalter.tomldescribes one package,client-sdk-android, so the 11 pending changesets still apply. The version is ingradle.propertiesandREADME.md. The tag staysv{version}.release-pr.ymlkeeps one release PR open while changesets are pending. Each push tomainregenerates it.changeset-check.ymlfails a PR without a changeset. Theinternallabel skips the check.gradle.propertiesnow holds the last released version.android.ymlpublishes the next patch version as-SNAPSHOTthrough-PVERSION_NAME, so snapshots continue without a SNAPSHOT PR.package.json,pnpm-lock.yaml,.changeset/config.json,changesets.yml, the manualrelease.yml,update_snapshot_pr.yml, the bump scripts inci/, andrelease-instructions.md.RELEASING.mdreplaces the old instructions. Pending.changeset/*.mdfiles stay.release.ymlruns these jobs in order. Each job uses the merge commit, or therefinput on a run by hand.gaterunsverwalter gate. It allows a run by hand, or a merged PR fromrelease/mainbyverwalter-release[bot]with the verwalter marker. Any other closed PR skips every job.buildbuilds and runs the tests. If it fails, no tag exists.releasetags and creates a draft GitHub release.publishuploads to Maven Central and makes the release public. It skips a version that Maven Central already has. It is in the concurrency groupmaven-central-publish, so two runs never upload at the same time.verifyrunsverwalter status --check --wait 90m. If the tag, the public release or the version on Maven Central is missing after 90 minutes, it fails.notifyruns only afterverifypasses, and only for a final release onmain. It notifieslivekit/components-androidand uploads the docs. Its failure does not change the result of the release jobs.The workflow has no
branchesfilter. Thegatejob decides which PRs release.Failure case
The publish can fail after the tag exists. The tag and the draft GitHub release stay, and a re-run of the publish job finishes the release. The existence check reads
repo1.maven.org, which can show a new version 30 minutes late. A re-run during that time uploads the same version again, and Sonatype rejects it.RELEASING.mdsays to wait.Verified
verwalter plan(0.32.0-rc.1): 1 package, 11 pending changesets,client-sdk-android 2.30.0 -> 2.31.0 minor.verwalter status --check --wait 1m: exits 0 for2.30.0 tag:both release:published registry:yes.verwalter gatewith sample events: yes for a mergedrelease/mainPR byverwalter-release[bot], no for the same PR by another author, yes for a run by hand.verwalter pr --dry-run: opensrelease/mainwith the titlerelease: client-sdk-android 2.31.0.actionlintpasses on every workflow.ci/increment_semver.sh -p 2.30.0gives2.30.1, the snapshot base.For reviewers
workflow_dispatchonrelease.ymllets anyone with write access publish from any branch, becausegateallows every run by hand. An environment with required reviewers on thepublishjob limits this, but it then asks for approval on every release. Do we want that?Not done yet
-PVERSION_NAMEoverride in gradle is not tested locally.internallabel does not exist yet. It must be created, and this PR needs it.CHANGESET_GH_TOKENafter the first release.🤖 Generated with Claude Code