From a4c1eb2b5fe3a44d86ebde89c514f8c1475e0d36 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Mon, 19 Oct 2026 19:29:53 +0100 Subject: [PATCH] Add remaining post-actions to `ActionName` --- lib/entry-points.js | 5 ++++- src/status-report.ts | 6 ++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/lib/entry-points.js b/lib/entry-points.js index 1a99a4442..2ce94a678 100644 --- a/lib/entry-points.js +++ b/lib/entry-points.js @@ -171424,7 +171424,10 @@ function getAddressString(address) { // src/status-report.ts var ACTION_DISPLAY_NAMES = { ["finish" /* Analyze */]: "analyze", - ["init-post" /* InitPost */]: "init post" + ["analyze-post" /* AnalyzePost */]: "analyze post-action", + ["init-post" /* InitPost */]: "init post", + ["start-proxy-post" /* StartProxyPost */]: "start-proxy post-action", + ["upload-sarif-post" /* UploadSarifPost */]: "upload-sarif post-action" }; function getDisplayActionName(actionName) { const displayName = ACTION_DISPLAY_NAMES[actionName]; diff --git a/src/status-report.ts b/src/status-report.ts index 9420aa2a1..15cd6dd98 100644 --- a/src/status-report.ts +++ b/src/status-report.ts @@ -52,19 +52,25 @@ import { export enum ActionName { Analyze = "finish", + AnalyzePost = "analyze-post", Autobuild = "autobuild", Init = "init", InitPost = "init-post", ResolveEnvironment = "resolve-environment", SetupCodeQL = "setup-codeql", StartProxy = "start-proxy", + StartProxyPost = "start-proxy-post", UploadSarif = "upload-sarif", + UploadSarifPost = "upload-sarif-post", } /** A partial mapping from `ActionName` to names for actions whose display name is not the `ActionName` value. */ export const ACTION_DISPLAY_NAMES: Partial> = { [ActionName.Analyze]: "analyze", + [ActionName.AnalyzePost]: "analyze post-action", [ActionName.InitPost]: "init post", + [ActionName.StartProxyPost]: "start-proxy post-action", + [ActionName.UploadSarifPost]: "upload-sarif post-action", }; /**