From 17fe3caf2dfacd956c094a66cf65008a2ab5a4ac Mon Sep 17 00:00:00 2001 From: viniciusgadea Date: Tue, 24 Mar 2026 09:34:38 -0300 Subject: [PATCH] MERGE: conflicts --- .../platform-api/platform-api.controller.ts | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/src/modules/platform-api/platform-api.controller.ts b/src/modules/platform-api/platform-api.controller.ts index 0d7fc71..7c1c025 100644 --- a/src/modules/platform-api/platform-api.controller.ts +++ b/src/modules/platform-api/platform-api.controller.ts @@ -845,28 +845,11 @@ export class PlatformApiController { const normalizedPipelineId = this.normalizePipelineId(pipelineId); const normalizedRunId = this.normalizePipelineId(runId); - const result = await this.platformApiService.proxy( + return this.platformApiService.proxy( 'POST', `/pipeline/${normalizedPipelineId}/pipeline_run/${normalizedRunId}/cancel`, user, ); - - // Update Elasticsearch to reflect the canceled run status - try { - await this.elasticsearchService.updateLastRunStatus( - user.customer_name, - pipelineId, - 'CANCELED', - ); - } catch (esError) { - this.logger.warn('Failed to update Elasticsearch after pipeline run cancel', { - pipelineId, - runId, - error: esError.message, - }); - } - - return result; } // ==================== JOBS - COLUMN EDITING ROUTES ====================