mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-15 04:18:19 +00:00
fix(cursor): fix router fall-through, add daemon marker, use random test port
- Route all `ccs cursor *` to handleCursorCommand (no profile-switching) - Add --ccs-daemon marker to spawned process for stable PID validation - Use random port in lifecycle integration test to prevent CI conflicts - Remove unnecessary .toFixed(1) on integer tokenAge
This commit is contained in:
1 parent
760a5c3ca4
commit
bfc9361701
4 files changed
+9
-15
No files matched your search
@@ -141,7 +141,7 @@ describe('startDaemon', () => {
|
||||
it(
|
||||
'starts and stops daemon successfully',
|
||||
async () => {
|
||||
const port = 18765;
|
||||
const port = 10000 + Math.floor(Math.random() * 50000);
|
||||
const result = await startDaemon({ port, model: 'test' });
|
||||
expect(result.success).toBe(true);
|
||||
expect(result.pid).toBeDefined();
|
||||
|
||||
Reference in new issue
Block a user