:sparkles: Add package name validation function by perdasilva · Pull Request #1901 · operator-framework/operator-controller

Conversation

@perdasilva

Description

Adds a bundle validation check against the package name to ensure it is defined in the RegistryV1 bundle structure. And does some tidying adding array pre-allocations

Reviewer Checklist

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

@netlify

Signed-off-by: Per Goncalves da Silva <pegoncal@redhat.com>

@codecov

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.22%. Comparing base (115a122) to head (b103288).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1901      +/-   ##
==========================================
+ Coverage   69.21%   69.22%   +0.01%     
==========================================
  Files          67       67              
  Lines        5302     5307       +5     
==========================================
+ Hits         3670     3674       +4     
- Misses       1399     1400       +1     
  Partials      233      233              
Flag Coverage Δ
e2e 50.55% <62.50%> (+0.06%) ⬆️
unit 57.00% <100.00%> (-0.04%) ⬇️

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.

joelanford

Merged via the queue into operator-framework:main with commit 1f0b4f2

Apr 4, 2025

20 checks passed

2 participants

@perdasilva @joelanford