Skip to content

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

fix(ci): key E2E artifact by port resolver

Steven Enamakel04a4394e494c
diff --git a/.github/workflows/ci-full.yml b/.github/workflows/ci-full.yml
index 021c7c8a75..33e47fa910 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/build-parallel.mjs') }}
+ 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') }}
- 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 f5ba2788ce..a927fc3e0b 100644
--- a/scripts/__tests__/e2e-web-bundle-guard.test.mjs
+++ b/scripts/__tests__/e2e-web-bundle-guard.test.mjs
@@ -221,6 +221,7 @@ test("CI Full refreshes the E2E marker after restoring its content-keyed artifac
assert.match(cacheStep, /scripts\/ci\/product-features\.\*/);
assert.match(cacheStep, /app\/tsconfig\*\.json/);
assert.match(cacheStep, /packages\/\*\*/);
+ assert.match(cacheStep, /app\/scripts\/e2e-ports\.sh/);
});
test("e2e-web-build.sh marks the bundle it builds, recording the E2E settings", () => {