Repository navigation
Conversation
Replace scripts/create_version.swift and the .changes/ files with verwalter: verwalter.toml, changesets in .changeset/, a release PR kept current from main, and release.yaml, which builds the XCFramework, tags, creates the GitHub release, then calls the podspec, XCFramework and docs publish workflows. The 21 pending .changes/ files are converted to 22 changesets. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- publish-xcframework and publish-podspec ask their target first and skip a version that is there. A half-published XCFramework release fails with the command that clears it. - release.yaml gives each publish job one concurrency group per version, so a second run for the same version waits. - RELEASING.md names the repair for a build that failed before the tag. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Pin every verwalter step to v0.32.0-rc.1. - release.yaml: a `gate` job decides whether the run releases, in place of the long `if:` on the build job. - changeset-check.yaml: check out with fetch-depth 0, as the adopt guide now asks. - RELEASING.md: the fix for a build that failed before the tag goes in with the `internal` label and no changeset. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
we should only merge this after the next release so that we don't have to do the porting of the changesets here.
It only has drawbacks.
- Remove pre-release.yaml. The repository has never released an rc, and an rc had two open problems: verwalter numbers it from tags only, and the hosting draft is not marked as a pre-release. - Restore .changes/ from main and remove the converted changesets. The next release runs with the old script, and this PR merges after it. - publish-xcframework.yaml: a hosting PR closed without merge no longer counts as complete. Each incomplete case names its own repair. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Devin Review found 1 new potential issue.
5 flags not posted on this PR by your GitHub settings — view them in Devin Review. (Configure)
| fetch-depth: 0 # the commit that added a changeset gives its changelog line the PR and author | ||
| - uses: livekit/verwalter@9da894a1e4f7d298095a961be60c818afd47905b # v0.32.0-rc.1 | ||
| with: | ||
| command: pr |
There was a problem hiding this comment.
🔴 Pending SDK changes never trigger release
On a push to main, verwalter pr finds no changesets because all 23 pending entries remain in .changes/. It opens no release PR, and adding a new changeset later still leaves those entries out of the changelog.
Learn more
The release procedure uses .changeset/ Markdown files to supply both the bump level and changelog text. The pinned verwalter action only loads changesets from that directory. The repository has no files there; all 23 entries are in legacy .changes/ files, and the legacy reader is removed. When Release PRs runs on a push to main, verwalter reports nothing to release. A later valid changeset triggers a release, but verwalter still excludes the legacy entries from its version calculation and changelog.
Example: The minor entries for data-stream progress and cancellation do not trigger the intended bump from 2.19.0 to 2.20.0. If the next valid changeset is only a patch, those entries do not contribute to that release's version or notes.
Recommended fix: Convert every pending legacy entry into a .changeset/*.md file with the client-sdk-swift package, its original bump level, and its original summary. Split the two data-stream entries into separate files and include the Opus DTX fix. Delete the legacy files after conversion and verify that verwalter plan proposes 2.20.0 and the generated changelog includes all 23 entries.
Was this helpful? React with 👍 or 👎 to provide feedback.
There was a problem hiding this comment.
we merge this after the next release so that there's no stale files in .changes.
PRs that are already open will have to adopt that change
Releasing today takes several manual steps. A maintainer runs
scripts/create_version.swift, opens and merges the version PR, then creates the GitHub release by hand. That release firespublish-podspec,publish-xcframeworkandpublish-docs. None of these runs is checked against the others. The XCFramework build runs only after the tag exists. It failed on the release of 2.18.0 and of 2.15.2, and both times a manual run fixed it.This PR merges after the next release. That release still uses the old script and empties
.changes/, so this PR does not port the pending changes to changesets.Change
verwalter 0.32.0-rc.1 keeps one release PR open from the changesets in
.changeset/. Merging that PR runsrelease.yaml:gatejob decides whether the run releases. It accepts a run by hand, or a merged PR fromrelease/mainthatverwalter-release[bot]opened, with the verwalter marker in its body.<version>, without avas before, and a public GitHub release from the changelog entry.publish-xcframework.yaml,publish-podspec.yamlandpublish-docs.yaml, called as reusable workflows. The docs run only for a final version.verwalter status --check, which fails when the tag or the release is missing.The three publish workflows now start from
workflow_callinstead ofrelease: published. You can still run them by hand to repair a release. A release made withgithub.tokenfires noreleaseevent, sorelease.yamlcalls them directly.The release PR moves the version in
.version,LiveKitClient.podspec,Sources/LiveKit/LiveKit.swiftandREADME.md.changeset-check.yamlreplaces thecheck-changesjob inci.yaml.RELEASING.mddescribes the release and the repair commands.scripts/create_version.swiftis gone.These things change for contributors and maintainers:
.changeset/<name>.md, or gets theinternallabel.verwalter changeset --level patchwrites the file.## <version>with### Minor Changesand### Patch Changes, not Added, Changed and Fixed. verwalter has no setting for the old sections.pre-release.yamlfrom the verwalter examples adds the path.Failure case
A repair run publishes again to targets that can already have the version. Before this change, the XCFramework action refused a hosting release that existed, and
pod repo push --no-overwriterefused a merged spec. A repair withrelease.yaml -f ref=<tag>then turned the parts that had worked red.Now each publish workflow asks its target first:
publish-xcframework.yamlskips the build and the publish when the hosting repo has the release withLiveKit.xcframework.zipand an open or merged PR fromrelease/<v>. A release without the zip fails and names thegh release deletecommand for a draft. A release whose only PR was closed without merge fails and asks to reopen that PR.publish-podspec.yamlskips whenlivekit/podspecshasSpecs/LiveKitClient/<v>, or an open PR frompublish/LiveKitClient-<v>.Each publish job in
release.yamlhas the concurrency grouprelease-<version>-<target>withcancel-in-progress: false. A second run for the same version waits for the first.If the XCFramework build fails before the tag, as it did for 2.18.0, there is no tag to repair from. Merge the fix to
scripts/with theinternallabel, then runrelease.yamlwithref=<merge commit>.RELEASING.mdlists this path.Verified
verwalter planandverwalter statuswith 0.32.0-rc.1:client-sdk-swift 2.19.0 tag:both release:published, up to date, no changesets pending.verwalter pr --dry-run --base HEADwith 0.31.0 and the earlier changesets: the release branch set 2.20.0 in all four version files and put the new entry on top ofCHANGELOG.md.verwalter gatewith 0.32.0-rc.1, on six events:livekit/podspecs: for 2.19.0 it skips, and for 2.20.0 it goes on to the publish.actionlinton every workflow: no findings except the existing customxcode-27runner label.Not done yet
mainafter the next release, so.changes/and the version files match that release.release.yamlafter its merge.livekit/podspecsnow.release.yamlby hand can tag and publish from any branch, and it can upload the docs ofmainwhen nothing was released.gateanswers yes for every run by hand.mainrequires no status check. A redcocoapods-linton the release PR does not block its merge, and nothing builds the XCFramework before the merge.verwalter-releaseApp is installed on this repository. Its secrets already reach the repository.[check].apifor the changeset check, possibly with the existingapi-check.yaml.🤖 Generated with Claude Code