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

Upstream release notes for results

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Critical Critical
    • Pipelines 1.21.0
    • None
    • None
    • None
    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide
      Corrected the metrics view description for tracking the PipelineRun delete duration, ensuring the prDeleteDuration metric now accurately reflects the time between a PipelineRun’s completion and its deletion. This fix improves the clarity and reliability of metrics exposed by Tekton Results. (Ref: PR #1123)

      Fixes a race condition in the watcher where PipelineRun and TaskRun handlers could concurrently attempt to create the same Result record, causing PostgreSQL unique-constraint violations and resulting in ambiguous Unknown gRPC errors. This update introduces proper handling of SQLSTATE duplicate key errors by refetching already-created records and adds a PostgreSQL error-to-gRPC translator to ensure accurate status codes. (Ref: PR #1134)

      This update refactors the annotations package to simplify and standardize how Tekton Results manages annotation updates. It consolidates the previous multi-step logic for checking, generating, and applying annotation patches into a single Patch operation, and switches from merge patches to Server-Side Apply (SSA) to provide more reliable and conflict-aware updates to Kubernetes objects. Additionally, client implementations were moved into a dedicated package to avoid cyclic imports and improve maintainability. These changes are internal and do not introduce any user-facing behavior changes. (Ref: PR #1078)
      Show
      Corrected the metrics view description for tracking the PipelineRun delete duration, ensuring the prDeleteDuration metric now accurately reflects the time between a PipelineRun’s completion and its deletion. This fix improves the clarity and reliability of metrics exposed by Tekton Results. (Ref: PR #1123) Fixes a race condition in the watcher where PipelineRun and TaskRun handlers could concurrently attempt to create the same Result record, causing PostgreSQL unique-constraint violations and resulting in ambiguous Unknown gRPC errors. This update introduces proper handling of SQLSTATE duplicate key errors by refetching already-created records and adds a PostgreSQL error-to-gRPC translator to ensure accurate status codes. (Ref: PR #1134) This update refactors the annotations package to simplify and standardize how Tekton Results manages annotation updates. It consolidates the previous multi-step logic for checking, generating, and applying annotation patches into a single Patch operation, and switches from merge patches to Server-Side Apply (SSA) to provide more reliable and conflict-aware updates to Kubernetes objects. Additionally, client implementations were moved into a dedicated package to avoid cyclic imports and improve maintainability. These changes are internal and do not introduce any user-facing behavior changes. (Ref: PR #1078)
    • Bug Fix
    • Proposed

      Story (Required)

      Any relevant RN from upstream needs to be added to the release notes section in a consolidated manner and docs team will be referring to this instead of google docs moving forward.

      Background (Required)

      <Describes the context or background related to this story>

      Out of scope

      • Drafting the release notes text.
      • Review and approval of release notes.
      • Publication of the release notes.

      Approach (Required)

      • Fetch the list of PRs/issues merged upstream for v1.20 from GitHub (tektoncd/results {}repo).
      • Identify PRs relevant to OpenShift Pipelines (skip upstream-only changes not consumed downstream, if applicable).
      • Organize contributions into categories (features, enhancements, bug fixes).

      Dependencies

      <Describes what this story depends on. Dependent Stories and EPICs should be linked to the story.>

      Acceptance Criteria (Mandatory)

      RN section is added with a consolidated list of revelant upstream release notes.

      INVEST Checklist

      Dependencies identified

      Blockers noted and expected delivery timelines set

      Design is implementable

      Acceptance criteria agreed upon

      Story estimated

      Legend

      Unknown

      Verified

      Unsatisfied

      Done Checklist

      • Code is completed, reviewed, documented and checked in
      • Unit and integration test automation have been delivered and running cleanly in continuous integration/staging/canary environment
      • Continuous Delivery pipeline(s) is able to proceed with new code included
      • Customer facing documentation, API docs etc. are produced/updated, reviewed and published
      • Acceptance criteria are met

              rh-ee-abghosh Abhishek Ghosh
              rh-ee-pbheeman Pavan Mandayam Bheeman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: