Include proxy version in telemetry

This commit is contained in:
Michael B. Gale
2026-10-13 19:12:13 +01:00
parent 6308e366c9
commit 43db2c064c
3 changed files with 19 additions and 3 deletions

6
lib/entry-points.js generated
View File

@@ -187528,7 +187528,7 @@ var toolcache4 = __toESM(require_tool_cache());
// src/start-proxy/status-report.ts
var core23 = __toESM(require_core());
async function sendSuccessStatusReport(startedAt, config, registry_types, logger2) {
async function sendSuccessStatusReport(startedAt, config, registry_types, status, logger2) {
const statusReportBase = await createStatusReportBase(
"start-proxy" /* StartProxy */,
"success",
@@ -187540,7 +187540,8 @@ async function sendSuccessStatusReport(startedAt, config, registry_types, logger
if (statusReportBase !== void 0) {
const statusReport = {
...statusReportBase,
registry_types: registry_types.join(",")
registry_types: registry_types.join(","),
start_proxy: status
};
await sendStatusReport(statusReport);
}
@@ -188250,6 +188251,7 @@ async function run7(action) {
languages: language === void 0 ? void 0 : [language]
},
proxyConfig.all_credentials.map((c) => c.type),
{ proxy_version: proxyBin.version },
logger2
);
} catch (unwrappedError) {