mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-11-03 11:21:53 +00:00
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 <[email protected]>
This commit is contained in:
1 parent
f003970195
commit
23bb42a20c
1 file changed
+1
-1
@@ -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',
|
||||
},
|
||||
);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user