Skip to content

Fix Hermeto prefetch failure for openshift/installer dependency - #740

Open
danielerez wants to merge 1 commit into
openshift:masterfrom
danielerez:fix-hermeto-installer-pseudo-version
Open

Fix Hermeto prefetch failure for openshift/installer dependency#740
danielerez wants to merge 1 commit into
openshift:masterfrom
danielerez:fix-hermeto-installer-pseudo-version

Conversation

@danielerez

Copy link
Copy Markdown
Contributor

Issue:
Hermeto (prefetch-dependencies) fails with 404 when resolving github.com/openshift/installer@v0.0.0-20241029183827-aa89bb16f585. The go module proxy no longer recognizes this pseudo-version because a tag (v1.4.17) was added to the release-4.16 branch after the dependency was originally pinned, changing the canonical pseudo-version format from v0.0.0-... to v1.4.17-0....

Solution:
Update the pseudo-version to the canonical form
v1.4.17-0.20241029183827-aa89bb16f585. This points to the exact same commit (aa89bb16f585) on the release-4.16 branch, but uses the correct base version that the Go module proxy now expects.

@openshift-ci
openshift-ci Bot requested review from gamli75 and jhernand August 6, 2026 11:00
@openshift-ci

openshift-ci Bot commented Aug 6, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: danielerez

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 6, 2026
@danielerez
danielerez force-pushed the fix-hermeto-installer-pseudo-version branch from 2e3f1c3 to b5a92b2 Compare August 6, 2026 18:00
Issue:
Hermeto (prefetch-dependencies) fails with 404 when downloading
github.com/openshift/installer through the internal Konflux caching
proxy (artifact-registry-proxy). The proxy does not serve this module
at any pseudo-version. A v1.4.17 tag was also added to the release-4.16
branch after the dependency was originally pinned, invalidating the
old v0.0.0-based pseudo-version.

Solution:
1. Update the pseudo-version to the canonical form
   v1.4.17-0.20241029183827-aa89bb16f585 (same commit, correct base
   version).
2. Add GOPRIVATE=github.com/openshift/installer via Hermeto's
   config-file-content parameter in both Tekton pipeline files. This
   instructs the Go toolchain to bypass the broken caching proxy and
   fetch the module directly from GitHub.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@danielerez
danielerez force-pushed the fix-hermeto-installer-pseudo-version branch from b5a92b2 to 3a6186a Compare August 6, 2026 18:15
@openshift-ci

openshift-ci Bot commented Aug 6, 2026

Copy link
Copy Markdown

@danielerez: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant