From 43c0d6519e65affdf8391af9218ac4cc5daf090d Mon Sep 17 00:00:00 2001 From: Bryan Cox Date: Mon, 9 Feb 2026 08:26:57 -0500 Subject: [PATCH] Remove duplicate periodic-jira-agent from hypershift release-4.22 config The periodic-jira-agent job was defined in both the main and release-4.22 CI configurations for openshift/hypershift, both with the same cron schedule (30 8 * * 1). This caused both jobs to fire simultaneously, race to process the same Jira tickets, and create duplicate PRs. On 2025-02-09, both jobs processed CNTRLPLANE-625: - Build 2020777354950873088 (release-4.22 job) created openshift/hypershift#7681 - Build 2020777354405613568 (main job) created openshift/hypershift#7682 The release-4.22 job is a config-brancher artifact that should not exist since the jira-agent workflow only needs to run once against the main branch. The main config is the authoritative source. Co-Authored-By: Claude Opus 4.6 --- .../openshift-hypershift-release-4.22.yaml | 6 -- ...ift-hypershift-release-4.22-periodics.yaml | 58 ------------------- 2 files changed, 64 deletions(-) diff --git a/ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.22.yaml b/ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.22.yaml index 94231245e455d..7fcf15a8f948a 100644 --- a/ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.22.yaml +++ b/ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.22.yaml @@ -469,12 +469,6 @@ tests: dependencies: OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE: release:latest-421 workflow: hypershift-aws-reqserving-e2e -- as: periodic-jira-agent - cron: 30 8 * * 1 - steps: - env: - JIRA_AGENT_MAX_ISSUES: "1" - workflow: hypershift-jira-agent - as: periodic-review-agent cron: 0 8-23/3 * * 1-5 steps: diff --git a/ci-operator/jobs/openshift/hypershift/openshift-hypershift-release-4.22-periodics.yaml b/ci-operator/jobs/openshift/hypershift/openshift-hypershift-release-4.22-periodics.yaml index d159179886cf5..88f0a486f45fd 100644 --- a/ci-operator/jobs/openshift/hypershift/openshift-hypershift-release-4.22-periodics.yaml +++ b/ci-operator/jobs/openshift/hypershift/openshift-hypershift-release-4.22-periodics.yaml @@ -1,62 +1,4 @@ periodics: -- agent: kubernetes - cluster: build01 - cron: 30 8 * * 1 - decorate: true - extra_refs: - - base_ref: release-4.22 - org: openshift - repo: hypershift - labels: - ci.openshift.io/generator: prowgen - pj-rehearse.openshift.io/can-be-rehearsed: "true" - name: periodic-ci-openshift-hypershift-release-4.22-periodic-jira-agent - spec: - containers: - - args: - - --gcs-upload-secret=/secrets/gcs/service-account.json - - --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson - - --report-credentials-file=/etc/report/credentials - - --secret-dir=/secrets/ci-pull-credentials - - --target=periodic-jira-agent - command: - - ci-operator - image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest - imagePullPolicy: Always - name: "" - resources: - requests: - cpu: 10m - volumeMounts: - - mountPath: /secrets/ci-pull-credentials - name: ci-pull-credentials - readOnly: true - - mountPath: /secrets/gcs - name: gcs-credentials - readOnly: true - - mountPath: /secrets/manifest-tool - name: manifest-tool-local-pusher - readOnly: true - - mountPath: /etc/pull-secret - name: pull-secret - readOnly: true - - mountPath: /etc/report - name: result-aggregator - readOnly: true - serviceAccountName: ci-operator - volumes: - - name: ci-pull-credentials - secret: - secretName: ci-pull-credentials - - name: manifest-tool-local-pusher - secret: - secretName: manifest-tool-local-pusher - - name: pull-secret - secret: - secretName: registry-pull-credentials - - name: result-aggregator - secret: - secretName: result-aggregator - agent: kubernetes cluster: build01 cron: 0 8-23/3 * * 1-5