Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Add registry+v1 bundle validation framework #1885

Merged
merged 3 commits into from
Apr 4, 2025

Conversation

perdasilva
Copy link
Contributor

@perdasilva perdasilva commented Mar 31, 2025

Description

Closes #1883 #1884

Adds a small registry+v1 bundle validation framework composed of individual validation functions. It is extensible by adding new validation functions. Note that the validation framework is not currently used. This will happen in a follow up PR because some refactoring will be needed of the convert/rukpak package and I didn't want to bloat the PR.

Reviewer Checklist

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

@perdasilva perdasilva requested a review from a team as a code owner March 31, 2025 13:58
Copy link

netlify bot commented Mar 31, 2025

Deploy Preview for olmv1 ready!

Name Link
🔨 Latest commit 45b1610
🔍 Latest deploy log https://app.netlify.com/sites/olmv1/deploys/67efa25313b2e30008ca7e3c
😎 Deploy Preview https://deploy-preview-1885--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 site configuration.

Copy link

codecov bot commented Mar 31, 2025

Codecov Report

Attention: Patch coverage is 95.89041% with 3 lines in your changes missing coverage. Please review.

Project coverage is 69.20%. Comparing base (e490bd9) to head (45b1610).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...l/operator-controller/rukpak/convert/registryv1.go 88.46% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1885      +/-   ##
==========================================
+ Coverage   68.98%   69.20%   +0.21%     
==========================================
  Files          66       67       +1     
  Lines        5243     5302      +59     
==========================================
+ Hits         3617     3669      +52     
- Misses       1395     1400       +5     
- Partials      231      233       +2     
Flag Coverage Δ
e2e 50.49% <58.90%> (+0.03%) ⬆️
unit 57.01% <87.67%> (+0.29%) ⬆️

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.

@perdasilva perdasilva force-pushed the bundle-validation branch 4 times, most recently from 11d453f to 2af24e8 Compare April 1, 2025 10:58
@perdasilva perdasilva mentioned this pull request Apr 1, 2025
4 tasks
thetechnick
thetechnick previously approved these changes Apr 1, 2025
@perdasilva perdasilva added this pull request to the merge queue Apr 3, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 3, 2025
@perdasilva perdasilva added this pull request to the merge queue Apr 4, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 4, 2025
Per Goncalves da Silva added 2 commits April 4, 2025 10:55
Signed-off-by: Per Goncalves da Silva <[email protected]>
Signed-off-by: Per Goncalves da Silva <[email protected]>
@perdasilva perdasilva enabled auto-merge April 4, 2025 09:04
Signed-off-by: Per Goncalves da Silva <[email protected]>
@perdasilva perdasilva added this pull request to the merge queue Apr 4, 2025
Merged via the queue into operator-framework:main with commit 3bc7496 Apr 4, 2025
21 checks passed
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.

Add registry+v1 bundle validation framework
2 participants