From b38b8f51e2ef2efc18c7e6aeee559985151d026d Mon Sep 17 00:00:00 2001 From: iruy-fr Date: Wed, 20 May 2026 15:34:49 -0300 Subject: [PATCH 1/7] FEAT: Add endpoint to fetch pipeline run jobs --- .../platform-api/platform-api.controller.ts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/modules/platform-api/platform-api.controller.ts b/src/modules/platform-api/platform-api.controller.ts index 16d27b3..62ca9f5 100644 --- a/src/modules/platform-api/platform-api.controller.ts +++ b/src/modules/platform-api/platform-api.controller.ts @@ -832,6 +832,23 @@ export class PlatformApiController { ); } + @Get('pipelines/:pipelineId/pipeline_run/:runId/jobs') + @RequireAllPermissions(PERMISSIONS_GROUPS.PIPELINE.permissions.GET) + async getPipelineRunJobs( + @Param('pipelineId') pipelineId: string, + @Param('runId') runId: string, + @User() user: RequestUser, + ) { + const normalizedPipelineId = this.normalizePipelineId(pipelineId); + const normalizedRunId = this.normalizePipelineId(runId); + + return this.platformApiService.proxy( + 'GET', + `/pipeline/${normalizedPipelineId}/pipeline_run/${normalizedRunId}/jobs`, + user, + ); + } + // ==================== JOBS - COLUMN EDITING ROUTES ==================== @Put('jobs/:jobId/input') From 985170d7ae56787e32767aaaad5b9e9f9eef0a50 Mon Sep 17 00:00:00 2001 From: iruy-fr Date: Thu, 21 May 2026 16:12:35 -0300 Subject: [PATCH 2/7] chore: exposure from route pipeline run jobs to maestro --- src/modules/platform-api/platform-api.controller.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/platform-api/platform-api.controller.ts b/src/modules/platform-api/platform-api.controller.ts index 62ca9f5..f3abaf5 100644 --- a/src/modules/platform-api/platform-api.controller.ts +++ b/src/modules/platform-api/platform-api.controller.ts @@ -833,6 +833,7 @@ export class PlatformApiController { } @Get('pipelines/:pipelineId/pipeline_run/:runId/jobs') + @ApiOperation({ summary: 'Get pipeline run jobs' }) @RequireAllPermissions(PERMISSIONS_GROUPS.PIPELINE.permissions.GET) async getPipelineRunJobs( @Param('pipelineId') pipelineId: string, From 94fbdb222603a0e664d37d88a2b4e0586cab25be Mon Sep 17 00:00:00 2001 From: iruy-fr Date: Thu, 21 May 2026 16:21:30 -0300 Subject: [PATCH 3/7] fix: validate workflow --- .github/workflows/validate-k8s.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/validate-k8s.yml b/.github/workflows/validate-k8s.yml index 8a67a9c..85e48a9 100644 --- a/.github/workflows/validate-k8s.yml +++ b/.github/workflows/validate-k8s.yml @@ -36,6 +36,13 @@ jobs: with: version: 'v3.9.0' + - name: Install Helm Diff plugin + run: | + if ! helm plugin list | grep -q '^diff'; then + helm plugin install https://github.com/databus23/helm-diff + fi + helm diff version + - name: Determine DNS_HOST based on environment id: set_dns env: From 2414fcf21e1390470d44aafaa89c1bc4ff954903 Mon Sep 17 00:00:00 2001 From: iruy-fr Date: Thu, 21 May 2026 16:23:45 -0300 Subject: [PATCH 4/7] fix: validate workflow --- .github/workflows/validate-k8s.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/validate-k8s.yml b/.github/workflows/validate-k8s.yml index 85e48a9..139fc6a 100644 --- a/.github/workflows/validate-k8s.yml +++ b/.github/workflows/validate-k8s.yml @@ -37,11 +37,7 @@ jobs: version: 'v3.9.0' - name: Install Helm Diff plugin - run: | - if ! helm plugin list | grep -q '^diff'; then - helm plugin install https://github.com/databus23/helm-diff - fi - helm diff version + run: helm plugin install https://github.com/databus23/helm-diff || true - name: Determine DNS_HOST based on environment id: set_dns From 21a82b64f371ef4c5fb8fa5d10a1346afb07c429 Mon Sep 17 00:00:00 2001 From: iruy-fr Date: Thu, 21 May 2026 16:31:45 -0300 Subject: [PATCH 5/7] fix: validate workflow --- .github/workflows/validate-k8s.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/validate-k8s.yml b/.github/workflows/validate-k8s.yml index 139fc6a..d2e3487 100644 --- a/.github/workflows/validate-k8s.yml +++ b/.github/workflows/validate-k8s.yml @@ -37,7 +37,15 @@ jobs: version: 'v3.9.0' - name: Install Helm Diff plugin - run: helm plugin install https://github.com/databus23/helm-diff || true + env: + HELM_PLUGINS: /home/runner/.local/share/helm/plugins + run: | + mkdir -p "$HELM_PLUGINS" + if ! helm plugin list | grep -q '^diff'; then + helm plugin install https://github.com/databus23/helm-diff + fi + helm plugin list + helm diff version - name: Determine DNS_HOST based on environment id: set_dns @@ -105,4 +113,5 @@ jobs: - name: Run Helmfile Diff env: ENV: ${{ needs.extract_environment.outputs.environment }} + HELM_PLUGINS: /home/runner/.local/share/helm/plugins run: helmfile -f deploy/helmfiles/${ENV}.yaml diff From 9e49abb40da88094978661b7d23b34ee63dcba2b Mon Sep 17 00:00:00 2001 From: iruy-fr Date: Thu, 21 May 2026 16:37:47 -0300 Subject: [PATCH 6/7] fix: validate workflow --- .github/workflows/validate-k8s.yml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/workflows/validate-k8s.yml b/.github/workflows/validate-k8s.yml index d2e3487..d3f7861 100644 --- a/.github/workflows/validate-k8s.yml +++ b/.github/workflows/validate-k8s.yml @@ -36,17 +36,6 @@ jobs: with: version: 'v3.9.0' - - name: Install Helm Diff plugin - env: - HELM_PLUGINS: /home/runner/.local/share/helm/plugins - run: | - mkdir -p "$HELM_PLUGINS" - if ! helm plugin list | grep -q '^diff'; then - helm plugin install https://github.com/databus23/helm-diff - fi - helm plugin list - helm diff version - - name: Determine DNS_HOST based on environment id: set_dns env: @@ -82,6 +71,9 @@ jobs: sudo mv helmfile /usr/local/bin/ helmfile --version + - name: Install Helm Diff plugin + run: helm plugin install https://github.com/databus23/helm-diff || true + - name: Debug Helm env run: | helm env From ccd4159c59bbe7d53066906a7d954676fbc5f835 Mon Sep 17 00:00:00 2001 From: iruy-fr Date: Thu, 21 May 2026 16:43:37 -0300 Subject: [PATCH 7/7] fix: validate workflow --- .github/workflows/validate-k8s.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/validate-k8s.yml b/.github/workflows/validate-k8s.yml index d3f7861..ae6d383 100644 --- a/.github/workflows/validate-k8s.yml +++ b/.github/workflows/validate-k8s.yml @@ -72,7 +72,9 @@ jobs: helmfile --version - name: Install Helm Diff plugin - run: helm plugin install https://github.com/databus23/helm-diff || true + run: | + helm plugin install https://github.com/databus23/helm-diff --version v3.9.3 + helm diff version - name: Debug Helm env run: |