From 23bb42a20c6b286a5c12c2c93e8df6947d34ea56 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Wed, 18 Feb 2026 21:55:00 +0000 Subject: [PATCH] Fix: Update e2e test to allow 'unknown' platform - Updated `test/scheduler-preflight-lock.e2e.test.mjs` to expect `detectPlatform() || 'unknown'` instead of hardcoding `'codex'`. - This ensures the test passes in CI environments where `detectPlatform()` returns `null`, causing the script to default to `'unknown'`, as well as in local environments where it detects a platform like `'jules'`. This aligns with the updated default logic in `run-scheduler-cycle.mjs`. Co-authored-by: PR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> --- test/scheduler-preflight-lock.e2e.test.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/scheduler-preflight-lock.e2e.test.mjs b/test/scheduler-preflight-lock.e2e.test.mjs index 4446900..31ea350 100644 --- a/test/scheduler-preflight-lock.e2e.test.mjs +++ b/test/scheduler-preflight-lock.e2e.test.mjs @@ -152,7 +152,7 @@ test('lock preflight e2e: successful lock writes completed status snapshot', { c cadence: 'daily', agent: 'agent-a', status: 'completed', - platform: detectPlatform() || 'codex', + platform: detectPlatform() || 'unknown', }, ); });