From 83bfbc808ef3d96c6e86420353bbbfadfe9d9ca2 Mon Sep 17 00:00:00 2001 From: Christian Lueters Date: Tue, 24 Mar 2026 13:37:41 +0100 Subject: [PATCH] fix(webapp): progress native self-hosted deployments instead of dead enqueue path --- .../app/v3/services/initializeDeployment.server.ts | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/apps/webapp/app/v3/services/initializeDeployment.server.ts b/apps/webapp/app/v3/services/initializeDeployment.server.ts index 987925aa709..2ff37f67887 100644 --- a/apps/webapp/app/v3/services/initializeDeployment.server.ts +++ b/apps/webapp/app/v3/services/initializeDeployment.server.ts @@ -249,12 +249,16 @@ export class InitializeDeploymentService extends BaseService { new Date(Date.now() + timeoutMs) ); - // For github integration there is no artifactKey, hence we skip it here + // For self-hosted native builds, progressing the deployment is the action that actually + // transitions the deployment out of PENDING and starts the local build path. + // For github integration there is no artifactKey, hence we skip it here. if (payload.isNativeBuild && payload.artifactKey && !payload.skipEnqueue) { const result = await deploymentService - .enqueueBuild(environment, deployment, payload.artifactKey, { - skipPromotion: payload.skipPromotion, - configFilePath: payload.configFilePath, + .progressDeployment(environment, deployment.friendlyId, { + contentHash: payload.contentHash, + git: payload.gitMeta, + runtime: payload.runtime, + buildServerMetadata, }) .orElse((error) => { logger.error("Failed to enqueue build", {