Skip to content

Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.

test: sync release workflow assertions

JerrettDavis94cf57ac4d0b
diff --git a/tests/test_release_workflows.py b/tests/test_release_workflows.py
index 16cdfc3d2..c753ff882 100644
--- a/tests/test_release_workflows.py
+++ b/tests/test_release_workflows.py
@@ -27,6 +27,17 @@ def test_release_workflow_publishes_both_node_packages_to_github_packages() -> N
assert "SDK_TARBALL: ${{ steps.gpr-sdk-publish.outputs.unscoped_sdk_tarball }}" in content
+def test_release_workflow_publishes_python_distributions_to_github_release() -> None:
+ content = (ROOT / ".github" / "workflows" / "release.yml").read_text(encoding="utf-8")
+
+ assert "Publish ${{ env.PYPI_PACKAGE }} Python distributions to GitHub Release" in content
+ assert (
+ 'gh release upload "$TAG" release-assets/*.whl release-assets/*.tar.gz --clobber' in content
+ )
+ assert "Publish Node package tarballs to GitHub Release" in content
+ assert 'gh release upload "$TAG" release-assets/*.tgz --clobber' in content
+
+
def test_create_release_runs_after_successful_build_even_if_other_publishes_fail() -> None:
content = (ROOT / ".github" / "workflows" / "release.yml").read_text(encoding="utf-8")
@@ -38,6 +49,12 @@ def test_create_release_runs_after_successful_build_even_if_other_publishes_fail
assert "needs.build.result == 'success'" in content
+def test_macos_native_wrapper_dependency_install_retries_pypi_downloads() -> None:
+ content = (ROOT / ".github" / "workflows" / "ci.yml").read_text(encoding="utf-8")
+
+ assert "python -m pip install --retries 10 --timeout 60 pytest" in content
+
+
def test_ci_commitlint_skips_default_github_merge_commits() -> None:
content = (ROOT / ".github" / "workflows" / "ci.yml").read_text(encoding="utf-8")