Feature engineering improvements #376

Merged
LukeGus merged 20 commits from feature-engineering-improvements into dev-1.8.0 2025-10-08 01:06:01 +00:00
3 changed files with 106 additions and 118 deletions
Showing only changes of commit f3fde836bc - Show all commits
-4
View File
@@ -28,7 +28,6 @@ async function verifyOIDCToken(
issuerUrl: string, issuerUrl: string,
clientId: string, clientId: string,
): Promise<any> { ): Promise<any> {
try {
const normalizedIssuerUrl = issuerUrl.endsWith("/") const normalizedIssuerUrl = issuerUrl.endsWith("/")
? issuerUrl.slice(0, -1) ? issuerUrl.slice(0, -1)
: issuerUrl; : issuerUrl;
@@ -112,9 +111,6 @@ async function verifyOIDCToken(
}); });
return payload; return payload;
} catch (error) {
throw error;
}
} }
const router = express.Router(); const router = express.Router();
@@ -710,7 +710,6 @@ function FileManagerContent({ initialHost, onClose }: FileManagerProps) {
try { try {
const currentSessionId = sshSessionId; const currentSessionId = sshSessionId;
try {
const status = await getSSHStatus(currentSessionId); const status = await getSSHStatus(currentSessionId);
if (!status.connected) { if (!status.connected) {
const result = await connectSSH(currentSessionId, { const result = await connectSSH(currentSessionId, {
@@ -729,9 +728,6 @@ function FileManagerContent({ initialHost, onClose }: FileManagerProps) {
throw new Error(t("fileManager.failedToReconnectSSH")); throw new Error(t("fileManager.failedToReconnectSSH"));
} }
} }
} catch (sessionErr) {
throw sessionErr;
}
const symlinkInfo = await identifySSHSymlink(currentSessionId, file.path); const symlinkInfo = await identifySSHSymlink(currentSessionId, file.path);
@@ -62,7 +62,6 @@ export function DiffViewer({
}); });
} }
} catch (error) { } catch (error) {
try {
await connectSSH(sshSessionId, { await connectSSH(sshSessionId, {
hostId: sshHost.id, hostId: sshHost.id,
ip: sshHost.ip, ip: sshHost.ip,
@@ -75,9 +74,6 @@ export function DiffViewer({
credentialId: sshHost.credentialId, credentialId: sshHost.credentialId,
userId: sshHost.userId, userId: sshHost.userId,
}); });
} catch (reconnectError) {
throw reconnectError;
}
} }
}; };