From 6bd84b6a824e0bd20428e8d4cba001000a9ed83f Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Fri, 23 Jan 2026 10:34:45 +0000 Subject: [PATCH] Rename to "unhandled" --- lib/analyze-action.js | 4 ++-- lib/autobuild-action.js | 4 ++-- lib/init-action-post.js | 4 ++-- lib/init-action.js | 4 ++-- lib/resolve-environment-action.js | 4 ++-- lib/setup-codeql-action.js | 4 ++-- lib/start-proxy-action.js | 4 ++-- lib/upload-sarif-action.js | 4 ++-- src/analyze-action.ts | 4 ++-- src/autobuild-action.ts | 4 ++-- src/init-action-post.ts | 4 ++-- src/init-action.ts | 4 ++-- src/resolve-environment-action.ts | 4 ++-- src/setup-codeql-action.ts | 4 ++-- src/start-proxy-action.ts | 4 ++-- src/status-report.ts | 2 +- src/upload-sarif-action.ts | 4 ++-- 17 files changed, 33 insertions(+), 33 deletions(-) diff --git a/lib/analyze-action.js b/lib/analyze-action.js index 6c4bd46e7..c8bd4aed0 100644 --- a/lib/analyze-action.js +++ b/lib/analyze-action.js @@ -94410,7 +94410,7 @@ async function sendStatusReport(statusReport) { ); } } -async function sendUnexpectedErrorStatusReport(actionName, actionStartedAt, error3, logger) { +async function sendUnhandledErrorStatusReport(actionName, actionStartedAt, error3, logger) { try { const statusReport = await createStatusReportBase( actionName, @@ -96606,7 +96606,7 @@ async function runWrapper() { await runPromise; } catch (error3) { core14.setFailed(`analyze action failed: ${getErrorMessage(error3)}`); - await sendUnexpectedErrorStatusReport( + await sendUnhandledErrorStatusReport( "finish" /* Analyze */, startedAt, error3, diff --git a/lib/autobuild-action.js b/lib/autobuild-action.js index 2fb42470d..09722eb20 100644 --- a/lib/autobuild-action.js +++ b/lib/autobuild-action.js @@ -88882,7 +88882,7 @@ async function sendStatusReport(statusReport) { ); } } -async function sendUnexpectedErrorStatusReport(actionName, actionStartedAt, error3, logger) { +async function sendUnhandledErrorStatusReport(actionName, actionStartedAt, error3, logger) { try { const statusReport = await createStatusReportBase( actionName, @@ -88994,7 +88994,7 @@ async function runWrapper() { await run(startedAt); } catch (error3) { core13.setFailed(`autobuild action failed. ${getErrorMessage(error3)}`); - await sendUnexpectedErrorStatusReport( + await sendUnhandledErrorStatusReport( "autobuild" /* Autobuild */, startedAt, error3, diff --git a/lib/init-action-post.js b/lib/init-action-post.js index 8b1d142be..9bc9c637f 100644 --- a/lib/init-action-post.js +++ b/lib/init-action-post.js @@ -130773,7 +130773,7 @@ async function sendStatusReport(statusReport) { ); } } -async function sendUnexpectedErrorStatusReport(actionName, actionStartedAt, error3, logger) { +async function sendUnhandledErrorStatusReport(actionName, actionStartedAt, error3, logger) { try { const statusReport = await createStatusReportBase( actionName, @@ -132985,7 +132985,7 @@ async function runWrapper() { await run2(startedAt); } catch (error3) { core17.setFailed(`init post action failed: ${wrapError(error3).message}`); - await sendUnexpectedErrorStatusReport( + await sendUnhandledErrorStatusReport( "init-post" /* InitPost */, startedAt, error3, diff --git a/lib/init-action.js b/lib/init-action.js index 07d248a7a..382979c84 100644 --- a/lib/init-action.js +++ b/lib/init-action.js @@ -92247,7 +92247,7 @@ async function createInitWithConfigStatusReport(config, initStatusReport, config ) }; } -async function sendUnexpectedErrorStatusReport(actionName, actionStartedAt, error3, logger) { +async function sendUnhandledErrorStatusReport(actionName, actionStartedAt, error3, logger) { try { const statusReport = await createStatusReportBase( actionName, @@ -92961,7 +92961,7 @@ async function runWrapper() { await run(startedAt); } catch (error3) { core13.setFailed(`init action failed: ${getErrorMessage(error3)}`); - await sendUnexpectedErrorStatusReport( + await sendUnhandledErrorStatusReport( "init" /* Init */, startedAt, error3, diff --git a/lib/resolve-environment-action.js b/lib/resolve-environment-action.js index eb2a509ad..86069a98a 100644 --- a/lib/resolve-environment-action.js +++ b/lib/resolve-environment-action.js @@ -88502,7 +88502,7 @@ async function sendStatusReport(statusReport) { ); } } -async function sendUnexpectedErrorStatusReport(actionName, actionStartedAt, error3, logger) { +async function sendUnhandledErrorStatusReport(actionName, actionStartedAt, error3, logger) { try { const statusReport = await createStatusReportBase( actionName, @@ -88608,7 +88608,7 @@ async function runWrapper() { error3 )}` ); - await sendUnexpectedErrorStatusReport( + await sendUnhandledErrorStatusReport( "resolve-environment" /* ResolveEnvironment */, startedAt, error3, diff --git a/lib/setup-codeql-action.js b/lib/setup-codeql-action.js index 191a5b427..4385b012c 100644 --- a/lib/setup-codeql-action.js +++ b/lib/setup-codeql-action.js @@ -89829,7 +89829,7 @@ async function sendStatusReport(statusReport) { ); } } -async function sendUnexpectedErrorStatusReport(actionName, actionStartedAt, error3, logger) { +async function sendUnhandledErrorStatusReport(actionName, actionStartedAt, error3, logger) { try { const statusReport = await createStatusReportBase( actionName, @@ -89975,7 +89975,7 @@ async function runWrapper() { await run(startedAt); } catch (error3) { core12.setFailed(`setup-codeql action failed: ${getErrorMessage(error3)}`); - await sendUnexpectedErrorStatusReport( + await sendUnhandledErrorStatusReport( "setup-codeql" /* SetupCodeQL */, startedAt, error3, diff --git a/lib/start-proxy-action.js b/lib/start-proxy-action.js index a26205605..21a7e0341 100644 --- a/lib/start-proxy-action.js +++ b/lib/start-proxy-action.js @@ -104666,7 +104666,7 @@ async function sendStatusReport(statusReport) { ); } } -async function sendUnexpectedErrorStatusReport(actionName, actionStartedAt, error3, logger) { +async function sendUnhandledErrorStatusReport(actionName, actionStartedAt, error3, logger) { try { const statusReport = await createStatusReportBase( actionName, @@ -104816,7 +104816,7 @@ async function runWrapper() { await run(startedAt); } catch (error3) { core11.setFailed(`start-proxy action failed: ${getErrorMessage(error3)}`); - await sendUnexpectedErrorStatusReport( + await sendUnhandledErrorStatusReport( "start-proxy" /* StartProxy */, startedAt, error3, diff --git a/lib/upload-sarif-action.js b/lib/upload-sarif-action.js index 262abd912..c2d42c4f0 100644 --- a/lib/upload-sarif-action.js +++ b/lib/upload-sarif-action.js @@ -91059,7 +91059,7 @@ async function sendStatusReport(statusReport) { ); } } -async function sendUnexpectedErrorStatusReport(actionName, actionStartedAt, error3, logger) { +async function sendUnhandledErrorStatusReport(actionName, actionStartedAt, error3, logger) { try { const statusReport = await createStatusReportBase( actionName, @@ -94816,7 +94816,7 @@ async function runWrapper() { core13.setFailed( `codeql/upload-sarif action failed: ${getErrorMessage(error3)}` ); - await sendUnexpectedErrorStatusReport( + await sendUnhandledErrorStatusReport( "upload-sarif" /* UploadSarif */, startedAt, error3, diff --git a/src/analyze-action.ts b/src/analyze-action.ts index 157e3d1d1..3cc1ad019 100644 --- a/src/analyze-action.ts +++ b/src/analyze-action.ts @@ -41,7 +41,7 @@ import { createStatusReportBase, DatabaseCreationTimings, getActionsStatus, - sendUnexpectedErrorStatusReport, + sendUnhandledErrorStatusReport, StatusReportBase, } from "./status-report"; import { @@ -536,7 +536,7 @@ async function runWrapper() { await runPromise; } catch (error) { core.setFailed(`analyze action failed: ${util.getErrorMessage(error)}`); - await sendUnexpectedErrorStatusReport( + await sendUnhandledErrorStatusReport( ActionName.Analyze, startedAt, error, diff --git a/src/autobuild-action.ts b/src/autobuild-action.ts index ebcacbc97..a1465f110 100644 --- a/src/autobuild-action.ts +++ b/src/autobuild-action.ts @@ -17,7 +17,7 @@ import { getActionsStatus, createStatusReportBase, sendStatusReport, - sendUnexpectedErrorStatusReport, + sendUnhandledErrorStatusReport, ActionName, } from "./status-report"; import { endTracingForCluster } from "./tracer-config"; @@ -149,7 +149,7 @@ async function runWrapper() { await run(startedAt); } catch (error) { core.setFailed(`autobuild action failed. ${getErrorMessage(error)}`); - await sendUnexpectedErrorStatusReport( + await sendUnhandledErrorStatusReport( ActionName.Autobuild, startedAt, error, diff --git a/src/init-action-post.ts b/src/init-action-post.ts index 14fc34408..02a856862 100644 --- a/src/init-action-post.ts +++ b/src/init-action-post.ts @@ -28,7 +28,7 @@ import { getRepositoryNwo } from "./repository"; import { StatusReportBase, sendStatusReport, - sendUnexpectedErrorStatusReport, + sendUnhandledErrorStatusReport, createStatusReportBase, getActionsStatus, ActionName, @@ -146,7 +146,7 @@ async function runWrapper() { await run(startedAt); } catch (error) { core.setFailed(`init post action failed: ${wrapError(error).message}`); - await sendUnexpectedErrorStatusReport( + await sendUnhandledErrorStatusReport( ActionName.InitPost, startedAt, error, diff --git a/src/init-action.ts b/src/init-action.ts index e498e296e..8b6c200a0 100644 --- a/src/init-action.ts +++ b/src/init-action.ts @@ -64,7 +64,7 @@ import { createStatusReportBase, getActionsStatus, sendStatusReport, - sendUnexpectedErrorStatusReport, + sendUnhandledErrorStatusReport, } from "./status-report"; import { ZstdAvailability } from "./tar"; import { ToolsDownloadStatusReport } from "./tools-download"; @@ -811,7 +811,7 @@ async function runWrapper() { await run(startedAt); } catch (error) { core.setFailed(`init action failed: ${getErrorMessage(error)}`); - await sendUnexpectedErrorStatusReport( + await sendUnhandledErrorStatusReport( ActionName.Init, startedAt, error, diff --git a/src/resolve-environment-action.ts b/src/resolve-environment-action.ts index fc96ec9ad..253a342d7 100644 --- a/src/resolve-environment-action.ts +++ b/src/resolve-environment-action.ts @@ -13,7 +13,7 @@ import { getActionsLogger } from "./logging"; import { runResolveBuildEnvironment } from "./resolve-environment"; import { sendStatusReport, - sendUnexpectedErrorStatusReport, + sendUnhandledErrorStatusReport, createStatusReportBase, getActionsStatus, ActionName, @@ -128,7 +128,7 @@ async function runWrapper() { error, )}`, ); - await sendUnexpectedErrorStatusReport( + await sendUnhandledErrorStatusReport( ActionName.ResolveEnvironment, startedAt, error, diff --git a/src/setup-codeql-action.ts b/src/setup-codeql-action.ts index 55bcaa7e0..31c898667 100644 --- a/src/setup-codeql-action.ts +++ b/src/setup-codeql-action.ts @@ -22,7 +22,7 @@ import { createStatusReportBase, getActionsStatus, sendStatusReport, - sendUnexpectedErrorStatusReport, + sendUnhandledErrorStatusReport, } from "./status-report"; import { ToolsDownloadStatusReport } from "./tools-download"; import { @@ -195,7 +195,7 @@ async function runWrapper(): Promise { await run(startedAt); } catch (error) { core.setFailed(`setup-codeql action failed: ${getErrorMessage(error)}`); - await sendUnexpectedErrorStatusReport( + await sendUnhandledErrorStatusReport( ActionName.SetupCodeQL, startedAt, error, diff --git a/src/start-proxy-action.ts b/src/start-proxy-action.ts index 51bdc5599..e95643bb0 100644 --- a/src/start-proxy-action.ts +++ b/src/start-proxy-action.ts @@ -22,7 +22,7 @@ import { createStatusReportBase, getActionsStatus, sendStatusReport, - sendUnexpectedErrorStatusReport, + sendUnhandledErrorStatusReport, StatusReportBase, } from "./status-report"; import * as util from "./util"; @@ -210,7 +210,7 @@ async function runWrapper() { await run(startedAt); } catch (error) { core.setFailed(`start-proxy action failed: ${util.getErrorMessage(error)}`); - await sendUnexpectedErrorStatusReport( + await sendUnhandledErrorStatusReport( ActionName.StartProxy, startedAt, error, diff --git a/src/status-report.ts b/src/status-report.ts index 3c5efa6e6..513cdb43e 100644 --- a/src/status-report.ts +++ b/src/status-report.ts @@ -607,7 +607,7 @@ export async function createInitWithConfigStatusReport( }; } -export async function sendUnexpectedErrorStatusReport( +export async function sendUnhandledErrorStatusReport( actionName: ActionName, actionStartedAt: Date, error: unknown, diff --git a/src/upload-sarif-action.ts b/src/upload-sarif-action.ts index 08d9c0d24..5273909ba 100644 --- a/src/upload-sarif-action.ts +++ b/src/upload-sarif-action.ts @@ -10,7 +10,7 @@ import { getRepositoryNwo } from "./repository"; import { createStatusReportBase, sendStatusReport, - sendUnexpectedErrorStatusReport, + sendUnhandledErrorStatusReport, StatusReportBase, getActionsStatus, ActionName, @@ -173,7 +173,7 @@ async function runWrapper() { core.setFailed( `codeql/upload-sarif action failed: ${getErrorMessage(error)}`, ); - await sendUnexpectedErrorStatusReport( + await sendUnhandledErrorStatusReport( ActionName.UploadSarif, startedAt, error,