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

feat: Part 2 - Add validation checks for TuningSpec, DataSource, DataDestination #304

Merged
merged 10 commits into from
Mar 20, 2024

Conversation

ishaansehgal99
Copy link
Collaborator

@ishaansehgal99 ishaansehgal99 commented Mar 18, 2024

Open to feedback. Here is validation checks for the new CRD.

Code Coverage: 87.7% - workspace_validation.go

coverage.txt

Copy link
Collaborator

@Fei-Guo Fei-Guo left a comment

Choose a reason for hiding this comment

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

Please add sufficient UTs.

api/v1alpha1/workspace_validation.go Outdated Show resolved Hide resolved
api/v1alpha1/workspace_validation.go Outdated Show resolved Hide resolved
api/v1alpha1/workspace_validation.go Outdated Show resolved Hide resolved
api/v1alpha1/workspace_validation.go Outdated Show resolved Hide resolved
api/v1alpha1/workspace_validation.go Outdated Show resolved Hide resolved
api/v1alpha1/workspace_validation.go Outdated Show resolved Hide resolved
@codecov-commenter
Copy link

codecov-commenter commented Mar 20, 2024

Codecov Report

Attention: Patch coverage is 82.75862% with 20 lines in your changes are missing coverage. Please review.

Project coverage is 63.87%. Comparing base (e1673aa) to head (6c347c9).
Report is 1 commits behind head on main.

Files Patch % Lines
api/v1alpha1/workspace_validation.go 88.88% 12 Missing ⚠️
api/v1alpha1/zz_generated.deepcopy.go 0.00% 8 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #304      +/-   ##
==========================================
+ Coverage   61.71%   63.87%   +2.16%     
==========================================
  Files          14       14              
  Lines        1191     1301     +110     
==========================================
+ Hits          735      831      +96     
- Misses        418      432      +14     
  Partials       38       38              

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

@ishaansehgal99 ishaansehgal99 changed the title feat: Add validation checks for TuningSpec, DataSource, DataDestination feat: Part 2 - Add validation checks for TuningSpec, DataSource, DataDestination Mar 20, 2024
@ishaansehgal99 ishaansehgal99 merged commit 4ba337d into main Mar 20, 2024
7 checks passed
@ishaansehgal99 ishaansehgal99 deleted the Ishaan/fine-tuning branch March 20, 2024 20:08
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.

3 participants