Skip to content

Add version input to pin livekit-server release or commit#3

Open
alan-george-lk wants to merge 6 commits into
livekit:mainfrom
alan-george-lk:add-version-input
Open

Add version input to pin livekit-server release or commit#3
alan-george-lk wants to merge 6 commits into
livekit:mainfrom
alan-george-lk:add-version-input

Conversation

@alan-george-lk

@alan-george-lk alan-george-lk commented Jul 2, 2026

Copy link
Copy Markdown

Summary

  • Adds an optional version input so CI jobs can pin livekit-server to a release tag or livekit/livekit commit SHA.
  • Adds an optional config input to control new/specific features.
  • Builds from source when a commit SHA is given (or when a release tag is pinned on macOS).
  • README.md updates

SDK e2e jobs can pass a release tag or livekit/livekit commit SHA so tests
run against server features not yet in the latest release. macOS and commit
pins build from source; Linux and Windows download release artifacts when a
tag is given.

Co-authored-by: Cursor <cursoragent@cursor.com>
@alan-george-lk alan-george-lk requested a review from ladvoc as a code owner July 2, 2026 22:12
alan-george-lk added a commit to livekit/client-sdk-cpp that referenced this pull request Jul 2, 2026
Use the upstream action commit from livekit/dev-server-action#3 instead of
the personal fork so the version input can be reviewed and shipped in-repo.

Co-authored-by: Cursor <cursoragent@cursor.com>

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

Change looks good ✅, my only feedback would be to consider adding another job in the CI workflow to test this (ideally test with both tag and SHA through matrix).

alan-george-lk and others added 2 commits July 3, 2026 08:40
Build from inside the cloned livekit checkout so Go resolves the module, and
cover the version input path in CI.

Co-authored-by: Cursor <cursoragent@cursor.com>
Support latest default, semver without v prefix, release validation, and
expand CI to matrix-test tag, semver, and commit SHA pinning.

Co-authored-by: Cursor <cursoragent@cursor.com>
Comment thread action.yml Outdated
required: true
version:
description: |
livekit-server version to run: latest, a release tag (e.g. v1.13.3 or 1.13.3),

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.

suggestion: Description should explicitly say latest is used if a tag isn't provided.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Added

Comment thread README.md Outdated
github-token: ${{ github.token }}
version: a47e21b6cb945aabee88c98650366cef8cbf7a99
config: |
enable_data_tracks: true

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.

suggestion: Maybe demonstrate with a more generic config key—data tracks is always on now, and data blobs will soon be too. See config-sample.yaml

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Demonstrated with logging, and linked to the config sample

Comment thread action.yml
if [[ "$ref" =~ ^v[0-9] ]]; then
gh release view "$ref" --repo livekit/livekit >/dev/null
if [ "${RUNNER_OS}" = "macOS" ]; then
echo "mode=source" >> "$GITHUB_OUTPUT"

@ladvoc ladvoc Jul 6, 2026

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.

suggestion(non-blocking): Since building from source can take significantly longer and impact workflow performance, it might be a good idea to communicate explicitly when this is being done. Maybe add a notice message for visibility?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Added

@ladvoc

ladvoc commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

note: See config-sample.yaml for available config keys supported by the LiveKit server.

alan-george-lk and others added 3 commits July 6, 2026 15:17
Emit workflow notices when source builds are required, clarify the version
input description, and update README examples to use stable config keys.

Co-authored-by: Cursor <cursoragent@cursor.com>
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