Skip to content

livekit-protocol: remove FunctionCall.extra, check every livekit-agents release - #942

Merged
theomonnom merged 3 commits into
mainfrom
theo/protocol-remove-function-call-extra
Nov 14, 2026
Merged

theomonnom merged 3 commits into
mainfrom
theo/protocol-remove-function-call-extra

Conversation

@theomonnom

Copy link
Copy Markdown
Member

No description provided.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔍 Devin Review: 1 flag

Not posted on this PR by your GitHub settings — view it in Devin Review. (Configure)

Devin Review

Comment on lines +18 to +56
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
with:
submodules: true

- uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
with:
python-version: "3.12"

- name: Build livekit-protocol
run: uv build --wheel livekit-protocol -o dist

- name: Encode a session history with every livekit-agents release
run: |
set -euo pipefail
wheel=$(ls dist/livekit_protocol-*.whl)
case "$(basename "$wheel")" in
livekit_protocol-1.*) ;;
*) echo "livekit-protocol 2+ cannot reach livekit-agents 1.x"; exit 0 ;;
esac
versions=$(curl -sf https://pypi.org/pypi/livekit-agents/json | uvx --with packaging python -c '
import json, sys
from packaging.version import Version
releases = json.load(sys.stdin)["releases"]
print(" ".join(v for v in sorted(releases, key=Version)
if releases[v] and not Version(v).is_prerelease
and Version("1.7.0") <= Version(v) < Version("2")))')
failed=""
for v in $versions; do
uv venv -q --allow-existing "venv-$v"
VIRTUAL_ENV="venv-$v" uv pip install -q "livekit-agents==$v"
VIRTUAL_ENV="venv-$v" uv pip install -q --no-deps --reinstall "$wheel"
"venv-$v/bin/python" tests/protocol/regression_agents_session_history.py || failed="$failed $v"
done
if [ -n "$failed" ]; then
echo "::error::livekit-agents releases that cannot encode a session history:$failed"
exit 1
fi
@theomonnom
theomonnom merged commit 0c55b14 into main Nov 14, 2026
32 checks passed
@theomonnom
theomonnom deleted the theo/protocol-remove-function-call-extra branch November 14, 2026 01:09
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.

3 participants