Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(ci): include artifact recipe in bundle cache key

Steven Enamakelf877d2a3fc20
diff --git a/.github/workflows/ci-full.yml b/.github/workflows/ci-full.yml
index 33e47fa910..1507c4cfee 100644
--- a/.github/workflows/ci-full.yml
+++ b/.github/workflows/ci-full.yml
@@ -217,7 +217,7 @@ jobs:
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
with:
path: .ci/artifacts/e2e-playwright-linux.tar.gz
- key: e2e-playwright-linux-${{ hashFiles('src/**', 'crates/**', 'vendor/**', 'Cargo.toml', 'Cargo.lock', 'build.rs', '.cargo/**', 'rust-toolchain.toml', 'scripts/ci/product-features.*', 'app/src/**', 'app/public/**', 'app/index.html', 'app/vite.config.*', 'app/tailwind.config.*', 'app/postcss.config.*', 'app/tsconfig*.json', 'app/package.json', 'packages/**', 'pnpm-lock.yaml', 'app/scripts/e2e-web-build.sh', 'app/scripts/e2e-ports.sh', 'app/scripts/build-parallel.mjs') }}
+ key: e2e-playwright-linux-${{ hashFiles('.github/workflows/ci-full.yml', 'src/**', 'crates/**', 'vendor/**', 'Cargo.toml', 'Cargo.lock', 'build.rs', '.cargo/**', 'rust-toolchain.toml', 'scripts/ci/product-features.*', 'app/src/**', 'app/public/**', 'app/index.html', 'app/vite.config.*', 'app/tailwind.config.*', 'app/postcss.config.*', 'app/tsconfig*.json', 'app/package.json', 'packages/**', 'pnpm-lock.yaml', 'app/scripts/e2e-web-build.sh', 'app/scripts/e2e-ports.sh', 'app/scripts/build-parallel.mjs') }}
- name: Install dependencies
if: steps.playwright-artifact-cache.outputs.cache-hit != 'true'
diff --git a/scripts/__tests__/e2e-web-bundle-guard.test.mjs b/scripts/__tests__/e2e-web-bundle-guard.test.mjs
index a927fc3e0b..3ecd47fd23 100644
--- a/scripts/__tests__/e2e-web-bundle-guard.test.mjs
+++ b/scripts/__tests__/e2e-web-bundle-guard.test.mjs
@@ -214,6 +214,7 @@ test("CI Full refreshes the E2E marker after restoring its content-keyed artifac
/- name: Restore cached Playwright E2E artifact([\s\S]*?)(?=\n - name: |\n [a-zA-Z_-]+:|$)/,
)?.[1];
assert.ok(cacheStep, "CI Full must keep a Playwright artifact cache step");
+ assert.match(cacheStep, /\.github\/workflows\/ci-full\.yml/);
assert.match(cacheStep, /crates\/\*\*/);
assert.match(cacheStep, /vendor\/\*\*/);
assert.match(cacheStep, /build\.rs/);