diff --git a/lib/start-proxy-action.js b/lib/start-proxy-action.js index 7ac17694f..becc30c81 100644 --- a/lib/start-proxy-action.js +++ b/lib/start-proxy-action.js @@ -95754,12 +95754,12 @@ function generateCertificateAuthority() { const key = import_node_forge.pki.privateKeyToPem(keys.privateKey); return { cert: pem, key }; } -async function sendSuccessStatusReport(startedAt, registry_types, logger) { +async function sendSuccessStatusReport(startedAt, config, registry_types, logger) { const statusReportBase = await createStatusReportBase( "start-proxy" /* StartProxy */, "success", startedAt, - void 0, + config, await checkDiskUsage(logger), logger ); @@ -95804,6 +95804,9 @@ async function runWrapper() { await startProxy(proxyBin, proxyConfig, proxyLogFilePath, logger); await sendSuccessStatusReport( startedAt, + { + languages: language ? [language] : [] + }, proxyConfig.all_credentials.map((c) => c.type), logger ); diff --git a/src/start-proxy-action.ts b/src/start-proxy-action.ts index 3de5e358b..7cdd8e45d 100644 --- a/src/start-proxy-action.ts +++ b/src/start-proxy-action.ts @@ -7,6 +7,7 @@ import { pki } from "node-forge"; import * as actionsUtil from "./actions-util"; import { getApiDetails, getAuthorizationHeaderFor } from "./api-client"; +import { Config } from "./config-utils"; import { getActionsLogger, Logger } from "./logging"; import { Credential, @@ -99,6 +100,7 @@ interface StartProxyStatus extends StatusReportBase { async function sendSuccessStatusReport( startedAt: Date, + config: Partial, registry_types: string[], logger: Logger, ) { @@ -106,7 +108,7 @@ async function sendSuccessStatusReport( ActionName.StartProxy, "success", startedAt, - undefined, + config, await util.checkDiskUsage(logger), logger, ); @@ -168,6 +170,9 @@ async function runWrapper() { // Report success if we have reached this point. await sendSuccessStatusReport( startedAt, + { + languages: language ? [language] : [], + }, proxyConfig.all_credentials.map((c) => c.type), logger, );