Skip to content

fix(konflux): fix failing ec's in main - #592

Merged
florkbr merged 1 commit into
OpenShift-Fleet:masterfrom
florkbr:fix-konflux-pipelines
Oct 28, 2026
Merged

florkbr merged 1 commit into
OpenShift-Fleet:masterfrom
florkbr:fix-konflux-pipelines

Conversation

@florkbr

@florkbr florkbr commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

Summary

Add a when guard to all six legacy Konflux PipelineRuns so prefetch-dependencies is skipped when prefetch-input is empty.

Background

The legacy prefetch task emits no results when there is no input. Tekton Chains then omits status.results from the SLSA v1 attestation, causing Conforma to miss the task parameters and report:

prefetch_dependencies.package_registry_proxy_enabled

Context: https://redhat-internal.slack.com/archives/C04PZ7H0VA8/p1793075906701849

Tracking: https://redhat.atlassian.net/browse/KFLUXSPRT-9412

Changes

  • Skip prefetch-dependencies when prefetch-input is empty.
  • Preserve the existing enable-package-registry-proxy parameter default of true.
  • Apply the guard to pull-request and push pipelines for the main, proxy, and memory-server components.

Validation

  • All six Tekton YAML files parse successfully.
  • Structural validation confirms each prefetch task has the guard.
  • git diff --check passes.

This is a workaround for the legacy pipeline behavior. Migration to OCI-TA or the upstream Conforma fix remains the long-term solution.

@florkbr

florkbr commented Oct 28, 2026

Copy link
Copy Markdown
Contributor Author

Fix also seen elsewhere (like in openshift-online/hypershell#801)

@vishsanghishetty vishsanghishetty left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@florkbr

florkbr commented Oct 28, 2026

Copy link
Copy Markdown
Contributor Author

Going to merge and keep an eye on the main EC's

@florkbr
florkbr merged commit 8da6abc into OpenShift-Fleet:master Oct 28, 2026
5 of 8 checks passed
@florkbr
florkbr deleted the fix-konflux-pipelines branch October 28, 2026 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants