Skip to content

Conversation

anik120
Copy link
Contributor

@anik120 anik120 commented Sep 9, 2025

Statically including the file with name that has a colon in it is invalid for Go modules, which lead to the v1.5.0 release being rendered broken:

The go mod error shows:

  • malformed file path "...local:5000/hosts.toml": invalid char ':'
  • This prevents the module from being downloaded and verified
  • Finally, the Go sum database returns 404 because it can't process this malformed module

This commit creates the file dynamically, instead of including the file statically in the repository.

Description

Reviewer Checklist

  • API Go Documentation
  • Tests: Unit Tests (and E2E Tests, if appropriate)
  • Comprehensive Commit Messages
  • Links to related GitHub Issue(s)

@anik120 anik120 requested a review from a team as a code owner September 9, 2025 14:36
@openshift-ci openshift-ci bot requested a review from bentito September 9, 2025 14:36
Copy link

netlify bot commented Sep 9, 2025

Deploy Preview for olmv1 ready!

Name Link
🔨 Latest commit 3670078
🔍 Latest deploy log https://app.netlify.com/projects/olmv1/deploys/68c05e913c851d0008b86330
😎 Deploy Preview https://deploy-preview-2203--olmv1.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

openshift-ci bot commented Sep 9, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign perdasilva for approval. For more information see the Code Review Process.

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

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

Copy link

codecov bot commented Sep 9, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.03%. Comparing base (68610d0) to head (3670078).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2203      +/-   ##
==========================================
- Coverage   72.05%   72.03%   -0.03%     
==========================================
  Files          85       85              
  Lines        8332     8332              
==========================================
- Hits         6004     6002       -2     
- Misses       1926     1927       +1     
- Partials      402      403       +1     
Flag Coverage Δ
e2e 39.42% <ø> (-0.04%) ⬇️
experimental-e2e 46.24% <ø> (ø)
unit 56.67% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Statically including the file with name that has a colon in it is invalid for Go modules,
which lead to the v1.5.0 release being rendered broken:

The go mod error shows:
 - malformed file path "...local:5000/hosts.toml": invalid char ':'
 - This prevents the module from being downloaded and verified
 - Finally, the Go sum database returns 404 because it can't process this malformed module

This commit creates the file dynamically, instead of including the file statically in the
repository.

Signed-off-by: Anik Bhattacharjee <anbhatta@redhat.com>
Comment on lines +112 to +120
# Wait for registry to be available if it exists (for e2e tests)
if kubectl get namespace operator-controller-e2e >/dev/null 2>&1; then
echo "Waiting for e2e registry to be available..."
if ! kubectl_wait "operator-controller-e2e" "deployment/docker-registry" "60s"; then
echo "Error: E2E registry is not ready, cannot proceed with deployment"
exit 1
fi
fi

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The upgrade-experimental-e2e is failing because this check is not present in the lastest release.

Hopefully 60s of wait time will be enough.

@tmshort
Copy link
Contributor

tmshort commented Sep 9, 2025

We ought to pick one, this, or #2202

@anik120
Copy link
Contributor Author

anik120 commented Sep 9, 2025

Closing this in favor of #2202

@anik120 anik120 closed this Sep 9, 2025
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