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

[Hotfix] Config version set to 1.0 #190

Merged
merged 3 commits into from
Oct 16, 2024
Merged

Conversation

klemen1999
Copy link
Contributor

Changed config version from 1.1 back to 1.0.
Version was previously bumped to 1.1 because we added optional name parameter to the head. But since this parameter is optional this is not a breaking change and we should leave the version of the config at 1.0 so it doesn't interfere with the schema validation done on HubAI or by DepthAI.

I also added a test which checks if the validation goes through if name field is specified and if it isn't. The E2E workflow (luxonis-train -> archive -> upload to HubAI -> convert -> run on device) was verified and works as expected.

@klemen1999 klemen1999 added the hotfix Temporary hotfix label Oct 16, 2024
@klemen1999 klemen1999 requested a review from a team as a code owner October 16, 2024 13:37
@klemen1999 klemen1999 requested review from kozlov721, tersekmatija and conorsim and removed request for a team October 16, 2024 13:37
@github-actions github-actions bot added fix Fixing a bug release New version release NN Archive Changes affecting luxonis_ml.nn_archive subpackage labels Oct 16, 2024
Copy link

codecov bot commented Oct 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.09%. Comparing base (6bcbb11) to head (1c5d884).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #190      +/-   ##
==========================================
- Coverage   92.33%   92.09%   -0.25%     
==========================================
  Files          79       79              
  Lines        4161     4160       -1     
==========================================
- Hits         3842     3831      -11     
- Misses        319      329      +10     

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

Copy link

@moratom moratom left a comment

Choose a reason for hiding this comment

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

LGTM

@klemen1999 klemen1999 removed the release New version release label Oct 16, 2024
@github-actions github-actions bot added the release New version release label Oct 16, 2024
@kozlov721 kozlov721 removed the release New version release label Oct 16, 2024
@klemen1999 klemen1999 merged commit e34965d into main Oct 16, 2024
11 of 12 checks passed
@klemen1999 klemen1999 deleted the hotfix/nn_archive_config_version branch October 16, 2024 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Fixing a bug hotfix Temporary hotfix NN Archive Changes affecting luxonis_ml.nn_archive subpackage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants