Merge pull request #95 from sardorb3k/fix/ci-test-failures

fix(ci): resolve two test failures introduced in dev branch
This commit is contained in:
Илия 2026-05-03 22:01:29 +03:00 committed by GitHub
commit e500d26a34
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View file

@ -1,4 +1,5 @@
import { validateTeammateName, validateTeamName } from '@main/ipc/guards';
import { TeamConfigReader } from '@main/services/team/TeamConfigReader';
import { getTeamsBasePath } from '@main/utils/pathDecoder';
import { extractUserFlags, PROTECTED_CLI_FLAGS } from '@shared/utils/cliArgsParser';
import {
@ -551,6 +552,7 @@ export function registerTeamRoutes(app: FastifyInstance, services: HttpServices)
parseLaunchRequest(teamName, request.body),
() => undefined
);
TeamConfigReader.invalidateListTeamsCache();
return reply.send(response);
} catch (error) {
const statusCode = getStatusCode(error);

View file

@ -25041,7 +25041,9 @@ export class TeamProvisioningService {
}
}
// Remove from runs Map to free memory (stdoutBuffer, stderrBuffer, claudeLogLines)
this.retainProvisioningProgress(run.runId, run.progress);
if (run.progress) {
this.retainProvisioningProgress(run.runId, run.progress);
}
this.runs.delete(run.runId);
}