Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-9141

Upstream release notes for PAC

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Please check description for the RN
    • Enhancement
    • Proposed

      v0.38.x

      ---- * optimize GHApp installation ID retrieval: Optimized the retrieval of GitHub App installation IDs by removing unnecessary listings and directly fetching the installation using the repository URL, with fallback to organization installation. This improves performance and reduces API calls.

      • Revert on-path-change on pr merge in bitbucket: Reverted a change that caused the {{{{ revision }}}} variable to fetch incorrect commit IDs for Bitbucket merge commits, restoring expected behavior.
      • ensure cancel-in-progress targets PR PipelineRuns only: Correctly targets PR-close cancellations to PR PipelineRuns and prevents accidental cancellation of push-triggered PipelineRuns.
      • use TargetProjectID for merge request comments (GitLab): Fixed an issue where GitLab merge request comments were not being posted correctly from forks due to incorrect ProjectID usage.
      • handle duplicate secret creation gracefully: Modified secret creation logic to reuse existing secrets instead of failing when a duplicate secret is encountered.

       

      v0.39.x

      ---- * When no secret key is specified in the Repository CR's incoming webhook configuration, the system now defaults to using "secret" as the key name when retrieving the secret value from the Secret resource.

      • Before this update, Pipelines-as-Code created check runs incorrectly by always using the hardcoded state "in_progress" and omitting key output fields, and it also attempted to patch PipelineRuns even when validation failed, causing errors due to invalid PipelineRun objects. This is fixed by using the proper status and conclusion from statusOpts, adding the Title/Summary/Text output fields to check runs, and preventing patch attempts when the PipelineRun name is invalid.
      • Before this update, validation-failed PipelineRuns in GitLab status pipeline with showed incorrect names, and even after fixing the validation error, the previous failed commit status remained, causing the merge request to appear as failed and blocking auto-merge. This update ensures that the commit status is correctly updated after validation fixes, allowing proper MR status and auto-merge.
         
      • Implemented require-ok-to-test-sha to enforce commit SHA validation for /ok-to-test commands, mitigating potential CI race conditions.

              rh-ee-zashaikh Zaki Shaikh
              rh-ee-pbheeman Pavan Mandayam Bheeman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: