Report undefined when FFs are unavailable

This commit is contained in:
Michael B. Gale
2026-01-28 13:14:57 +00:00
parent 1bfa34a866
commit 9fe90880f7
9 changed files with 54 additions and 27 deletions
+6 -3
View File
@@ -89159,9 +89159,12 @@ async function createStatusReportBase(actionName, status, actionStartedAt, confi
core11.exportVariable("CODEQL_ACTION_TESTING_ENVIRONMENT" /* TESTING_ENVIRONMENT */, testingEnvironment);
}
const isSteadyStateDefaultSetupRun = process.env["CODE_SCANNING_IS_STEADY_STATE_DEFAULT_SETUP"] === "true";
const featureFlags = Object.entries(
queriedFeatures || {}
).map(([feature, outcome]) => ({ feature, ...outcome }));
let featureFlags = void 0;
if (queriedFeatures) {
featureFlags = Object.entries(queriedFeatures).map(
([feature, outcome]) => ({ feature, ...outcome })
);
}
const statusReport = {
action_name: actionName,
action_oid: "unknown",