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 clear defaults #60

Merged
merged 4 commits into from
Feb 6, 2025
Merged

Add clear defaults #60

merged 4 commits into from
Feb 6, 2025

Conversation

mcakircali
Copy link
Contributor

restores old behavior where defaults were dropped for certain types and verbs
used for verbs: list, read, pointdb

used for list, read, pointdb
@mcakircali mcakircali requested a review from danovaro February 5, 2025 19:56
@codecov-commenter
Copy link

codecov-commenter commented Feb 5, 2025

Codecov Report

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

Project coverage is 60.43%. Comparing base (f1f3cb2) to head (2e56870).

Files with missing lines Patch % Lines
tests/test_expand.cc 93.75% 3 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop      #60      +/-   ##
===========================================
+ Coverage    60.24%   60.43%   +0.19%     
===========================================
  Files          102      102              
  Lines         6341     6370      +29     
  Branches       599      603       +4     
===========================================
+ Hits          3820     3850      +30     
+ Misses        2521     2520       -1     

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

Copy link

github-actions bot commented Feb 5, 2025

Private downstream CI failed.
Workflow name: private-downstream-ci-hpc
View the logs at https://github.com/ecmwf-actions/private-downstream-ci/actions/runs/13165821566.

Copy link

github-actions bot commented Feb 6, 2025

Private downstream CI failed.
Workflow name: private-downstream-ci-hpc
View the logs at https://github.com/ecmwf-actions/private-downstream-ci/actions/runs/13174246742.

@@ -87,8 +93,8 @@ CASE( "test_metkit_expand_1" ) {

CASE( "test_metkit_expand_2" ) {
{
const char* text = "ret";
std::map<std::string, std::vector<std::string>> expected{
const char* text = "ret,date=-1";
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@danovaro pls notice this

Copy link
Member

Choose a reason for hiding this comment

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

is date=-1 required?
I'd like to check that we can inject the default date (-1)
Keep the current version, but please also add the previous one.

Copy link

github-actions bot commented Feb 6, 2025

Private downstream CI failed.
Workflow name: private-downstream-ci-hpc
View the logs at https://github.com/ecmwf-actions/private-downstream-ci/actions/runs/13175100442.

Copy link

github-actions bot commented Feb 6, 2025

Private downstream CI failed.
Workflow name: private-downstream-ci-hpc
View the logs at https://github.com/ecmwf-actions/private-downstream-ci/actions/runs/13180603155.

Copy link

github-actions bot commented Feb 6, 2025

Private downstream CI failed.
Workflow name: private-downstream-ci
View the logs at https://github.com/ecmwf-actions/private-downstream-ci/actions/runs/13180916188.

@@ -87,8 +93,8 @@ CASE( "test_metkit_expand_1" ) {

CASE( "test_metkit_expand_2" ) {
{
const char* text = "ret";
std::map<std::string, std::vector<std::string>> expected{
const char* text = "ret,date=-1";
Copy link
Member

Choose a reason for hiding this comment

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

is date=-1 required?
I'd like to check that we can inject the default date (-1)
Keep the current version, but please also add the previous one.

@danovaro danovaro merged commit 7f2ee37 into develop Feb 6, 2025
150 of 152 checks passed
@danovaro danovaro deleted the fix/clear-defaults branch February 6, 2025 15: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