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
ci: upload shard coverage even when a test in the shard fails (#3876)
gglucassbe2a298ed0ba
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 637fd094f..50352055d 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -422,6 +422,9 @@ jobs:--tb=short -q- name: Upload coverage shard ${{ matrix.shard }} to Codecov+ # A shard with a failing test still writes its report; skipping the+ # upload drops every line only that shard covers from codecov/patch.+ if: ${{ !cancelled() }}uses: codecov/codecov-action@v5with:files: coverage-${{ matrix.shard }}.xmldiff --git a/scripts/tests/test_ci_workflow.py b/scripts/tests/test_ci_workflow.pyindex 2a9062cf8..04ef7b293 100644--- a/scripts/tests/test_ci_workflow.py+++ b/scripts/tests/test_ci_workflow.py@@ -23,6 +23,7 @@ def test_sharded_ci_uploads_only_explicit_coverage_reports() -> None:assert "files: coverage-${{ matrix.shard }}.xml" in upload_stepassert "disable_search: true" in upload_step+ assert "if: ${{ !cancelled() }}" in upload_step.split("uses:", 1)[0]def test_sharded_ci_disables_process_killing_hard_watchdog() -> None: