Compare commits

...
Author SHA1 Message Date
Varun Sharma 3ab3e5845f ARC fix 2025-05-22 06:44:13 -07:00
5 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -27801,11 +27801,11 @@ function isArcRunner() {
else {
isARC = runnerUserAgent.includes("actions-runner-controller/");
}
return isARC || isSecondaryPod();
return isARC;
}
function isSecondaryPod() {
const workDir = "/__w";
return external_fs_.existsSync(workDir);
return fs.existsSync(workDir);
}
function sendAllowedEndpoints(endpoints) {
const allowedEndpoints = endpoints.split(" "); // endpoints are space separated
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -87929,11 +87929,11 @@ function isArcRunner() {
else {
isARC = runnerUserAgent.includes("actions-runner-controller/");
}
return isARC || isSecondaryPod();
return isARC;
}
function isSecondaryPod() {
const workDir = "/__w";
return external_fs_.existsSync(workDir);
return fs.existsSync(workDir);
}
function sendAllowedEndpoints(endpoints) {
const allowedEndpoints = endpoints.split(" "); // endpoints are space separated
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -13,7 +13,7 @@ export function isArcRunner(): boolean {
isARC = runnerUserAgent.includes("actions-runner-controller/");
}
return isARC || isSecondaryPod();
return isARC;
}
function isSecondaryPod(): boolean {