From 57802be15df12e409c7da039e0f19f06ae526bfa Mon Sep 17 00:00:00 2001 From: Ashwin Das Date: Wed, 1 Apr 2026 22:36:10 -0400 Subject: [PATCH 1/3] Add sleep after FBC job trigger for layered operators Adds a 5-second sleep after triggering the build-fbc Jenkins job in the non-openshift fallback path (when OCP_TARGET_VERSIONS is not defined). This prevents timestamp collisions when multiple FBC builds start concurrently. The OCP_TARGET_VERSIONS loop already has a 10-second sleep between iterations. Made-with: Cursor Entire-Checkpoint: b6d9c79b20c5 rh-pre-commit.version: 2.3.2 rh-pre-commit.check-secrets: ENABLED --- pyartcd/pyartcd/pipelines/olm_bundle_konflux.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyartcd/pyartcd/pipelines/olm_bundle_konflux.py b/pyartcd/pyartcd/pipelines/olm_bundle_konflux.py index 18812f3fa1..baa35734b1 100644 --- a/pyartcd/pyartcd/pipelines/olm_bundle_konflux.py +++ b/pyartcd/pyartcd/pipelines/olm_bundle_konflux.py @@ -243,6 +243,7 @@ async def olm_bundle_konflux( dry_run=runtime.dry_run, propagate_params=propagate_params, ) + await asyncio.sleep(5) else: runtime.logger.info(f'Group {group} does not match OADP/MTA/MTC pattern, using original behavior') # Not an OADP/MTA/MTC group, use original behavior From e73bd7a258a6be974eae2446abfef42c05a368f2 Mon Sep 17 00:00:00 2001 From: Ashwin Das Date: Wed, 1 Apr 2026 23:00:23 -0400 Subject: [PATCH 2/3] Add inline comment explaining the sleep Made-with: Cursor Entire-Checkpoint: eb5fae7b9f55 rh-pre-commit.version: 2.3.2 rh-pre-commit.check-secrets: ENABLED --- pyartcd/pyartcd/pipelines/olm_bundle_konflux.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyartcd/pyartcd/pipelines/olm_bundle_konflux.py b/pyartcd/pyartcd/pipelines/olm_bundle_konflux.py index baa35734b1..7bb9c59626 100644 --- a/pyartcd/pyartcd/pipelines/olm_bundle_konflux.py +++ b/pyartcd/pyartcd/pipelines/olm_bundle_konflux.py @@ -243,7 +243,7 @@ async def olm_bundle_konflux( dry_run=runtime.dry_run, propagate_params=propagate_params, ) - await asyncio.sleep(5) + await asyncio.sleep(5) # Avoid timestamp collisions between FBC builds else: runtime.logger.info(f'Group {group} does not match OADP/MTA/MTC pattern, using original behavior') # Not an OADP/MTA/MTC group, use original behavior From ff57d668a29947e9eba5374408785431379349e5 Mon Sep 17 00:00:00 2001 From: Ashwin Das Date: Wed, 1 Apr 2026 23:01:04 -0400 Subject: [PATCH 3/3] Increase FBC build sleep to 10 seconds Made-with: Cursor Entire-Checkpoint: bb1e0660c629 rh-pre-commit.version: 2.3.2 rh-pre-commit.check-secrets: ENABLED --- pyartcd/pyartcd/pipelines/olm_bundle_konflux.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyartcd/pyartcd/pipelines/olm_bundle_konflux.py b/pyartcd/pyartcd/pipelines/olm_bundle_konflux.py index 7bb9c59626..d1981a53ad 100644 --- a/pyartcd/pyartcd/pipelines/olm_bundle_konflux.py +++ b/pyartcd/pyartcd/pipelines/olm_bundle_konflux.py @@ -243,7 +243,7 @@ async def olm_bundle_konflux( dry_run=runtime.dry_run, propagate_params=propagate_params, ) - await asyncio.sleep(5) # Avoid timestamp collisions between FBC builds + await asyncio.sleep(10) # Avoid timestamp collisions between FBC builds else: runtime.logger.info(f'Group {group} does not match OADP/MTA/MTC pattern, using original behavior') # Not an OADP/MTA/MTC group, use original behavior