Add Mode6Test: copy of Mode5Test running on port 3000
Build & Deploy / Test & Lint (push) Has been cancelled
Build & Deploy / Security Scan (push) Has been cancelled
Code Quality / Code Quality Checks (push) Has been cancelled
Code Quality / Dependency Vulnerabilities (push) Has been cancelled
Code Quality / Performance Testing (push) Has been cancelled
Build & Deploy / Build Docker Images (push) Has been cancelled
Build & Deploy / Deploy to Kubernetes (push) Has been cancelled

This commit is contained in:
2026-01-20 13:43:29 +00:00
parent 61dbbc457a
commit 42ff3e8f33
133 changed files with 353720 additions and 2 deletions
+6 -1
View File
@@ -14,6 +14,7 @@ const MODE_FOLDERS: Record<string, string> = {
'Mode1Test': 'Mode1Test',
'Mode2Test': 'Mode2Test',
'Mode3Test': 'Mode3Test',
'Mode5Test': 'Mode5Test',
};
let currentMode: string = 'Mode1Test';
@@ -91,8 +92,12 @@ async function startMode(mode: string): Promise<boolean> {
// Start the mode's backend server
currentProcess = Bun.spawn({
cmd: ['bun', 'run', serverPath],
cmd: [process.execPath, 'run', serverPath],
cwd: modePath,
env: {
// Force mode service to bind to shared port
PORT: String(SHARED_PORT),
},
stdout: 'pipe',
stderr: 'pipe',
});