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.
Python agentaianthropicclaude-codecompressioncontext-engineeringcontext-windowcursorfastapilangchainllmmcpopenaiprompt-engineeringproxypythonragtoken-optimizationtokenstypescript
fix(ci): restrict Codecov shard uploads (#2745)
Raúl3f2ca99fe166
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 83cf8f78f..49acfaf42 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -293,6 +293,7 @@ jobs:uses: codecov/codecov-action@v5with:files: coverage-${{ matrix.shard }}.xml+ disable_search: trueflags: pythonname: python-shard-${{ matrix.shard }}# Token is sent so uploads authenticate once the repo is activated ondiff --git a/scripts/tests/test_ci_workflow.py b/scripts/tests/test_ci_workflow.pyindex 20c873d46..c38c399b9 100644--- a/scripts/tests/test_ci_workflow.py+++ b/scripts/tests/test_ci_workflow.py@@ -7,10 +7,17 @@ from pathlib import Pathdef test_sharded_ci_verifies_offline_huggingface_cache_before_pytest() -> None:workflow = Path(".github/workflows/ci.yml").read_text(encoding="utf-8")-verify_step = "Verify offline HuggingFace model cache"pytest_step = "Run test shard ${{ matrix.shard }}/4"assert verify_step in workflowassert "python scripts/ci/verify_hf_model_cache.py" in workflowassert workflow.index(verify_step) < workflow.index(pytest_step)+++def test_sharded_ci_uploads_only_explicit_coverage_reports() -> None:+ workflow = Path(".github/workflows/ci.yml").read_text(encoding="utf-8")+ upload_step = workflow[workflow.index("Upload coverage shard") :]++ assert "files: coverage-${{ matrix.shard }}.xml" in upload_step+ assert "disable_search: true" in upload_step