Skip to content

Multi-tier framework for evaluating AI agent skills and plugins with quality gates, security scanning, harness compatibility checks, semantic overlap detection, synthetic evaluation dataset generation, and live agent evaluation that measures how skills affect agent behavior. Ships reusable CI templates that bring every check to any repository.

ci: move the pinned uv from 0.11.27 to 0.13.8 (#685)

Christopher Kevin9a09bed54431
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 05c44b3d..d840b33c 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -59,7 +59,7 @@ jobs:
if: ${{ needs.classify-changes.outputs.docs_only != 'true' }}
uses: astral-sh/setup-uv@d31148d669074a8d0a63714ba94f3201e7020bc3 # v8.3.0
with:
- version: "0.11.27"
+ version: "0.13.8"
- name: Install dependencies
if: ${{ needs.classify-changes.outputs.docs_only != 'true' }}
run: uv sync --all-extras --locked --python 3.12
@@ -122,7 +122,7 @@ jobs:
python-version: "3.13"
- uses: astral-sh/setup-uv@d31148d669074a8d0a63714ba94f3201e7020bc3 # v8.3.0
with:
- version: "0.11.27"
+ version: "0.13.8"
- run: uv sync --all-extras --locked --python 3.13
- name: Run tests
run: uv run pytest -q -n auto
@@ -141,7 +141,7 @@ jobs:
python-version: "3.14"
- uses: astral-sh/setup-uv@d31148d669074a8d0a63714ba94f3201e7020bc3 # v8.3.0
with:
- version: "0.11.27"
+ version: "0.13.8"
- run: uv sync --all-extras --locked --python 3.14
- name: Run tests
run: uv run pytest -q -n auto
@@ -165,7 +165,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- uses: astral-sh/setup-uv@d31148d669074a8d0a63714ba94f3201e7020bc3 # v8.3.0
with:
- version: "0.11.27"
+ version: "0.13.8"
- run: uv sync --extra dev --locked --python "${{ matrix.python-version }}"
- name: Run HTML parser compatibility tests
run: >-
@@ -193,7 +193,7 @@ jobs:
python-version: "3.12"
- uses: astral-sh/setup-uv@d31148d669074a8d0a63714ba94f3201e7020bc3 # v8.3.0
with:
- version: "0.11.27"
+ version: "0.13.8"
- name: Build the public wheel
run: uv build --wheel --python 3.12 --no-sources
- name: Install the isolated probe contract
@@ -240,7 +240,7 @@ jobs:
persist-credentials: false
- uses: astral-sh/setup-uv@d31148d669074a8d0a63714ba94f3201e7020bc3 # v8.3.0
with:
- version: "0.11.27"
+ version: "0.13.8"
- name: Verify the RHEL 8 glibc baseline
run: test "$(getconf GNU_LIBC_VERSION)" = "glibc 2.28"
- name: Build the wheel
@@ -278,7 +278,7 @@ jobs:
python-version: "3.13"
- uses: astral-sh/setup-uv@d31148d669074a8d0a63714ba94f3201e7020bc3 # v8.3.0
with:
- version: "0.11.27"
+ version: "0.13.8"
- name: Build wheel and source distribution
run: |
rm -rf dist
@@ -359,7 +359,7 @@ jobs:
python-version: "3.12"
- uses: astral-sh/setup-uv@d31148d669074a8d0a63714ba94f3201e7020bc3 # v8.3.0
with:
- version: "0.11.27"
+ version: "0.13.8"
- run: uv sync --all-extras --locked
- run: >-
uv run pytest -q
@@ -385,7 +385,7 @@ jobs:
python-version: "3.12"
- uses: astral-sh/setup-uv@d31148d669074a8d0a63714ba94f3201e7020bc3 # v8.3.0
with:
- version: "0.11.27"
+ version: "0.13.8"
- run: uv sync --all-extras --locked
- run: >-
uv run pytest -q
@@ -410,7 +410,7 @@ jobs:
python-version: "3.12"
- uses: astral-sh/setup-uv@d31148d669074a8d0a63714ba94f3201e7020bc3 # v8.3.0
with:
- version: "0.11.27"
+ version: "0.13.8"
- run: uv sync --all-extras --locked
- run: >-
uv run pytest -q
@@ -462,7 +462,7 @@ jobs:
python-version: "3.12"
- uses: astral-sh/setup-uv@d31148d669074a8d0a63714ba94f3201e7020bc3 # v8.3.0
with:
- version: "0.11.27"
+ version: "0.13.8"
- name: Install onboarding test dependencies
run: uv sync --extra dev --locked --python 3.12
- name: Test onboarding and native workflow writes
@@ -552,6 +552,8 @@ jobs:
with:
python-version: "3.12"
- uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5
+ with:
+ version: "0.13.8"
- run: uv sync --all-extras --locked
- run: >-
uv run pytest -q
diff --git a/.github/workflows/evaluate-all-tiers.yml b/.github/workflows/evaluate-all-tiers.yml
index 0e7ef890..36d1e854 100644
--- a/.github/workflows/evaluate-all-tiers.yml
+++ b/.github/workflows/evaluate-all-tiers.yml
@@ -292,7 +292,7 @@ jobs:
env:
TIER: ${{ matrix.tier }}
run: |
- python -I -m pip --isolated install --index-url https://pypi.org/simple uv==0.11.27
+ python -I -m pip --isolated install --index-url https://pypi.org/simple uv==0.13.8
env -i PATH="$PATH" python -I -m uv --no-config --cache-dir "$RUNNER_TEMP/uv-cache" sync --locked --no-dev --extra "tier${TIER}" --project "$GITHUB_WORKSPACE/evaluator" --python 3.12 --default-index https://pypi.org/simple
echo "$GITHUB_WORKSPACE/evaluator/.venv/bin" >> "$GITHUB_PATH"
- &current-head-check
@@ -408,7 +408,7 @@ jobs:
python-version: '3.12'
- name: Install the locked credential-free Tier 1 launcher
run: |
- python -I -m pip --isolated install --index-url https://pypi.org/simple uv==0.11.27
+ python -I -m pip --isolated install --index-url https://pypi.org/simple uv==0.13.8
env -i PATH="$PATH" python -I -m uv --no-config --cache-dir "$RUNNER_TEMP/uv-cache" sync --locked --no-dev --project "$GITHUB_WORKSPACE/evaluator" --python 3.12 --default-index https://pypi.org/simple
echo "$GITHUB_WORKSPACE/evaluator/.venv/bin" >> "$GITHUB_PATH"
- *current-head-check
@@ -502,7 +502,7 @@ jobs:
python-version: '3.12'
- name: Install the locked aggregate runtime
run: |
- python -I -m pip --isolated install --index-url https://pypi.org/simple uv==0.11.27
+ python -I -m pip --isolated install --index-url https://pypi.org/simple uv==0.13.8
env -i PATH="$PATH" python -I -m uv --no-config --cache-dir "$RUNNER_TEMP/uv-cache" sync --locked --no-dev --project "$GITHUB_WORKSPACE" --python 3.12 --default-index https://pypi.org/simple
echo "$GITHUB_WORKSPACE/.venv/bin" >> "$GITHUB_PATH"
# "Re-run failed jobs" keeps earlier-attempt artifacts from tier jobs that were not rerun.
diff --git a/.github/workflows/feedback-all-tiers.yml b/.github/workflows/feedback-all-tiers.yml
index 0d94ede1..12eab4ad 100644
--- a/.github/workflows/feedback-all-tiers.yml
+++ b/.github/workflows/feedback-all-tiers.yml
@@ -47,7 +47,7 @@ jobs:
python-version: '3.12'
- name: Install the locked trusted feedback runtime
run: |
- python -I -m pip --isolated install --index-url https://pypi.org/simple uv==0.11.27
+ python -I -m pip --isolated install --index-url https://pypi.org/simple uv==0.13.8
env -i PATH="$PATH" python -I -m uv --no-config --cache-dir "$RUNNER_TEMP/uv-cache" sync --locked --no-dev --extra publisher --project "$GITHUB_WORKSPACE" --python 3.12 --default-index https://pypi.org/simple
echo "$GITHUB_WORKSPACE/.venv/bin" >> "$GITHUB_PATH"
- name: Verify current head and producer before updating one comment
diff --git a/.github/workflows/publish-benchmarks.yml b/.github/workflows/publish-benchmarks.yml
index bd0a3f7e..c67d6a91 100644
--- a/.github/workflows/publish-benchmarks.yml
+++ b/.github/workflows/publish-benchmarks.yml
@@ -42,7 +42,7 @@ jobs:
python-version: '3.12'
- name: Install the locked trusted publication runtime
run: |
- python -I -m pip --isolated install --index-url https://pypi.org/simple uv==0.11.27
+ python -I -m pip --isolated install --index-url https://pypi.org/simple uv==0.13.8
env -i PATH="$PATH" python -I -m uv --no-config --cache-dir "$RUNNER_TEMP/uv-cache" sync --locked --no-dev --extra publisher --project "$GITHUB_WORKSPACE" --python 3.12 --default-index https://pypi.org/simple
echo "$GITHUB_WORKSPACE/.venv/bin" >> "$GITHUB_PATH"
- name: Verify source evidence and propose benchmark updates
diff --git a/.github/workflows/report-browser.yml b/.github/workflows/report-browser.yml
index e14c163b..13f90485 100644
--- a/.github/workflows/report-browser.yml
+++ b/.github/workflows/report-browser.yml
@@ -40,7 +40,7 @@ jobs:
python-version: "3.12"
- uses: astral-sh/setup-uv@d31148d669074a8d0a63714ba94f3201e7020bc3 # v8.3.0
with:
- version: "0.11.27"
+ version: "0.13.8"
- name: Build and install the public wheel
shell: bash
run: |
diff --git a/ci/gitlab/all-tiers.yml b/ci/gitlab/all-tiers.yml
index 7912856a..0c78ce71 100644
--- a/ci/gitlab/all-tiers.yml
+++ b/ci/gitlab/all-tiers.yml
@@ -223,7 +223,7 @@ skill-evaluation-native:
apt-get update -qq && apt-get install -y --no-install-recommends nodejs npm
fi
fi
- python -I -m pip --isolated install --index-url https://pypi.org/simple uv==0.11.27
+ python -I -m pip --isolated install --index-url https://pypi.org/simple uv==0.13.8
env -i PATH="$PATH" python -I -m uv --no-config --cache-dir "$SKILL_EVAL_TOOLS_DIR/.uv-cache" sync --locked --no-dev --extra "tier$SKILL_EVAL_TIER" --project "$SKILL_EVAL_TOOLS_DIR" --python 3.12 --default-index https://pypi.org/simple
export PATH="$SKILL_EVAL_TOOLS_DIR/.venv/bin:$PATH"
if [ "$SKILL_EVAL_TIER" = 3 ]; then
@@ -353,7 +353,7 @@ skill-evaluation-aggregate:
script:
- |
set -eu
- python -I -m pip --isolated install --index-url https://pypi.org/simple uv==0.11.27
+ python -I -m pip --isolated install --index-url https://pypi.org/simple uv==0.13.8
env -i PATH="$PATH" python -I -m uv --no-config --cache-dir "$SKILL_EVAL_TOOLS_DIR/.uv-cache" sync --locked --no-dev --project "$SKILL_EVAL_TOOLS_DIR" --python 3.12 --default-index https://pypi.org/simple
export PATH="$SKILL_EVAL_TOOLS_DIR/.venv/bin:$PATH"
mkdir -p skill-evaluator-results/tier1
diff --git a/ci/gitlab/feedback.yml b/ci/gitlab/feedback.yml
index 5deeb112..6847df78 100644
--- a/ci/gitlab/feedback.yml
+++ b/ci/gitlab/feedback.yml
@@ -52,7 +52,7 @@ skill-evaluation-feedback:
env -i PATH="$PATH" GIT_CONFIG_GLOBAL=/dev/null GIT_CONFIG_SYSTEM=/dev/null git -C "$tools_dir" remote add origin "https://github.com/$tools_repository.git"
env -i PATH="$PATH" GIT_CONFIG_GLOBAL=/dev/null GIT_CONFIG_SYSTEM=/dev/null git -C "$tools_dir" fetch -q --depth 1 origin "$tools_ref"
env -i PATH="$PATH" GIT_CONFIG_GLOBAL=/dev/null GIT_CONFIG_SYSTEM=/dev/null git -C "$tools_dir" checkout -q --detach FETCH_HEAD
- env -i PATH="$PATH" python -I -m pip --isolated install --index-url https://pypi.org/simple uv==0.11.27
+ env -i PATH="$PATH" python -I -m pip --isolated install --index-url https://pypi.org/simple uv==0.13.8
env -i PATH="$PATH" python -I -m uv --no-config --cache-dir "$tools_dir/.uv-cache" sync --locked --no-dev --extra publisher --project "$tools_dir" --python 3.12 --default-index https://pypi.org/simple
"$tools_dir/.venv/bin/python" -I - "$tools_dir/ci/feedback.py" --platform gitlab --api-url '$[[ inputs.api-url ]]' --project-id '$[[ inputs.project-id ]]' --pipeline-id "$SKILL_EVAL_SOURCE_PIPELINE_ID" <<'PYTHON'
import os, runpy, sys
diff --git a/ci/requirements/uv.in b/ci/requirements/uv.in
index 4f7001c5..313595e0 100644
--- a/ci/requirements/uv.in
+++ b/ci/requirements/uv.in
@@ -1 +1 @@
-uv==0.13.4
+uv==0.13.8
diff --git a/ci/requirements/uv.txt b/ci/requirements/uv.txt
index da96da07..73c4b37f 100644
--- a/ci/requirements/uv.txt
+++ b/ci/requirements/uv.txt
@@ -1,20 +1,20 @@
-uv==0.13.4 \
- --hash=sha256:05e4332791b4d55b6dde8695b7fa6079b26991519f44760887c5dfbd5ca4fe53 \
- --hash=sha256:205a4f93e568fb24f45a2f3834f1c0a8f1adb5f396bf473c71030ed707dce048 \
- --hash=sha256:25cc14ff4fd8335d3be2cc493a621a003fdafcb0fb1c953c905daabe4def5ab8 \
- --hash=sha256:3a9dcb6762c3ba249d8c084315ba03839082af3ece3536cc4164ec735c351d68 \
- --hash=sha256:4e6b08578c920b86910897f36bb6da7229c8e7e0187976570e2a538cb28b777e \
- --hash=sha256:52b5c753a7c2d5f8323a70bb4c93118988356331d0758afa6446c81f974e7196 \
- --hash=sha256:5d89d1028c2e22977d9215cbb79cfe12559cb0c8a507a12e2f3a7e47930cf1bf \
- --hash=sha256:77062b02856c74697f48328d8a6583ab07e6da0a993e86c2db46f3d1da27c637 \
- --hash=sha256:7b3cdf868e5415631fe797b648c0d6945d38d388f23367bdd0b6332e80a1fcb0 \
- --hash=sha256:8ae6ff2b07892379dc767c9064c2b8bbfac88e767edac7ce28e1b0f15d86abb4 \
- --hash=sha256:95f4eb2b991b53b50ec2b18ab612fca8ba1e7a75a47af0331fb8bcd21da3eb03 \
- --hash=sha256:b0bff5b9a5061f7a35b1d0c1a94c19af134222c48eb7aadc42f85a038be1b248 \
- --hash=sha256:b2ff80397273fff0e02c20eacae6882834c811827d6fc08f658db156fe754386 \
- --hash=sha256:b4bbacea78c9db136cd2ec3147cbfd9ed910b4db5e1877109bd74d0e73bb2eaf \
- --hash=sha256:d333f01852b817ba05612de31474739da1af7e5463d119b30a9c4331eba1f408 \
- --hash=sha256:d86a5dec8ab30c70519c71ca5085c8aaf28664836cbc600951cedaa3fc678cbf \
- --hash=sha256:deffa5a4afdb48f3e44fb26e80377d256b330ddcad0373daff4b54f6162b43a4 \
- --hash=sha256:e90ab42825587821096cb0d071e387468da38cfa22818c91f9c0b3c0453048e8 \
- --hash=sha256:fb0e2028d9a8929884344afb7d91d0f65d9783f640d28aede89fca3602bedde9
+uv==0.13.8 \
+ --hash=sha256:0b3e8b1a4f5e405e31e2ff33de8af4744831e9f7338539671efbd8c3c94e791d \
+ --hash=sha256:0ec33661a14e38dea8dfb18167d2a4a5c7fe3d476c62dd8eb6acf5f378727201 \
+ --hash=sha256:13050c64530a1ccfc223af0306a8152d41c0d36ea63bc19161221ca65dfe480a \
+ --hash=sha256:29451c60f5e8b07403e0a175d5229efc36b0289b34143ff4aaa499a5dd52553a \
+ --hash=sha256:5337c30bb893b4f9ce0ceb921ba2da0d13f649da644f40ad3bef84083bef0203 \
+ --hash=sha256:55c0b405e75dea1d1c53efc9a8e0725f4031be0e219ec2a08b15d78ece9a616a \
+ --hash=sha256:5ace7ec339798aca31be51a75fa7c1544fe84e02fadd17a9fa3324813bbaf237 \
+ --hash=sha256:62b6943c7fd64fac6854f780bea6e0359e5a5bc3241f83ee357bb38276afac49 \
+ --hash=sha256:63d807451e63c8d21b1b33c945af16438ac9d8ffddc59b31ce69c692135891f5 \
+ --hash=sha256:6999618363d03a0a085a9491db319e00b461dbda205db06ef1fd55dfcbf6472b \
+ --hash=sha256:86f1319f851e645bc295bb921e6be19beae7e69216c75ae809010ca7817393aa \
+ --hash=sha256:87614f62b09e3571593ffe01bf2e1dccb8df928a8423324dba80c6d0e33060eb \
+ --hash=sha256:9cf0b7b12f13da6ab1c85694ab618d97a2bbd0c904cdea7f0172fb1dd768b9d5 \
+ --hash=sha256:b26fe533dc6153787e40443b7d9428ed41349127bff36a954ec82c48be01ded9 \
+ --hash=sha256:b4184029b1b7c54409b9cd4372c73a36ef9c2d1d7cf3b0aca59c8b1932f041dc \
+ --hash=sha256:b7124ca1956ec2e476a1003ea5715a15f0266afaec37f4dc9c6972ba8183e6d1 \
+ --hash=sha256:bfcaada3989c7716ad4b58673cd1413fad4fdc6b2e446f9553db0ef18da20850 \
+ --hash=sha256:cfbc13020a64cdf2f116d2936824c38edbf41e5c07f1ea291baf02e31ebf3ed0 \
+ --hash=sha256:e18a57b8b352eb7c8feb317b9f6f533c8f0ad9673fd6cf34bbe3cf1a9f6a8984
diff --git a/tests/ci/test_all_tier_workflows.py b/tests/ci/test_all_tier_workflows.py
index 3a51cc86..43a02231 100644
--- a/tests/ci/test_all_tier_workflows.py
+++ b/tests/ci/test_all_tier_workflows.py
@@ -338,7 +338,7 @@ def test_all_tier_runtimes_sync_the_reviewed_lock_with_pinned_uv():
paid_install = next(
s for s in evaluation["jobs"]["paid-tiers"]["steps"] if s.get("name", "").startswith("Install only")
)["run"]
- assert "uv==0.11.27" in paid_install
+ assert "uv==0.13.8" in paid_install
assert "sync --locked --no-dev" in paid_install
assert '--extra "tier${TIER}"' in paid_install
assert 'evaluator/.venv/bin" >> "$GITHUB_PATH"' in paid_install
@@ -351,7 +351,7 @@ def test_all_tier_runtimes_sync_the_reviewed_lock_with_pinned_uv():
assert "--extra publisher" in feedback
for name in ("skill-evaluation-native", "skill-evaluation-aggregate"):
script = "\n".join(load("ci/gitlab/all-tiers.yml")[name]["script"])
- assert "uv==0.11.27" in script
+ assert "uv==0.13.8" in script
assert "sync --locked --no-dev" in script
assert '--project "$SKILL_EVAL_TOOLS_DIR"' in script
assert 'export PATH="$SKILL_EVAL_TOOLS_DIR/.venv/bin:$PATH"' in script
diff --git a/tests/test_ci_workflows.py b/tests/test_ci_workflows.py
index 701bf0d6..bb74f9a3 100644
--- a/tests/test_ci_workflows.py
+++ b/tests/test_ci_workflows.py
@@ -399,6 +399,68 @@ def test_every_workflow_pins_every_action_to_a_commit() -> None:
assert re.fullmatch(r"[^@]+@[0-9a-f]{40}", uses), f"{workflow_name}: {uses}"
+def _uv_pins() -> list[tuple[str, str | None]]:
+ """Every place CI chooses a uv version, as ``(where, version)``.
+
+ ``version`` is ``None`` for a ``setup-uv`` step that names none, because that
+ step installs whatever uv is newest on the day it runs.
+ """
+ pins: list[tuple[str, str | None]] = []
+ for workflow_name in _workflow_names():
+ for step in _all_steps(_load(workflow_name)):
+ if _action_repository(step.get("uses", "")) == "astral-sh/setup-uv":
+ pins.append((f"{workflow_name}: setup-uv", step.get("with", {}).get("version")))
+ for path in [*sorted(WORKFLOWS.iterdir()), *sorted((ROOT / "ci" / "gitlab").glob("*.yml"))]:
+ if path.suffix not in {".yml", ".yaml"}:
+ continue
+ for found in re.findall(r"\buv==([^\s'\"\\]+)", path.read_text(encoding="utf-8")):
+ pins.append((f"{path.relative_to(ROOT)}: pip install", found))
+ # The hash-locked bootstrap behind the Tier 1 image and the privileged publisher.
+ requirements = ROOT / "ci" / "requirements"
+ for name in ("uv.in", "uv.txt"):
+ first = (requirements / name).read_text(encoding="utf-8").split(maxsplit=1)[0]
+ pinned = re.fullmatch(r"uv==(\S+)", first)
+ assert pinned, f"ci/requirements/{name} must start with an exact uv pin, not {first!r}"
+ pins.append((f"ci/requirements/{name}", pinned.group(1)))
+ return pins
+
+
+def _assert_one_uv_version(pins: Sequence[tuple[str, str | None]]) -> None:
+ assert pins, "no uv pins found"
+ unpinned = [where for where, version in pins if version is None]
+ assert not unpinned, f"pin uv with version:, not the latest release: {unpinned}"
+ where_by_version: dict[str | None, set[str]] = {}
+ for where, version in pins:
+ where_by_version.setdefault(version, set()).add(where)
+ assert len(where_by_version) == 1, "CI runs more than one uv version: " + "; ".join(
+ f"{version} in {sorted(places)}" for version, places in sorted(where_by_version.items())
+ )
+
+
+def test_every_ci_uv_install_uses_the_one_reviewed_version() -> None:
+ """GitHub jobs, GitLab jobs, the Tier 1 image and the publisher all run one uv.
+
+ Covers ``setup-uv`` steps (including an older action pin with no ``version:``),
+ ``pip install uv==...`` lines, and the hash-locked ``ci/requirements/uv.*``.
+ """
+ pins = _uv_pins()
+ _assert_one_uv_version(pins)
+ assert re.fullmatch(r"\d+\.\d+\.\d+", str(pins[0][1])), f"pin an exact version, not {pins[0][1]!r}"
+
+
+ "pins",
+ [
+ pytest.param([("ci.yml: setup-uv", "0.13.8"), ("ci.yml: setup-uv", None)], id="unpinned-setup-uv"),
+ pytest.param([("ci.yml: setup-uv", "0.13.8"), ("ci/requirements/uv.in", "0.13.4")], id="mixed-versions"),
+ pytest.param([], id="no-pins"),
+ ],
+)
+def test_uv_version_guard_rejects_drift(pins: list[tuple[str, str | None]]) -> None:
+ with pytest.raises(AssertionError):
+ _assert_one_uv_version(pins)
+
+
def test_every_workflow_does_not_persist_checkout_credentials() -> None:
checkout_steps = [
(workflow_name, step)