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

Default enable viper #2109

Draft
wants to merge 16 commits into
base: master
Choose a base branch
from
Draft

Default enable viper #2109

wants to merge 16 commits into from

Conversation

kislaykishore
Copy link
Collaborator

Description

Link to the issue in case of a bug fix.

NA

Testing details

  1. Manual - NA
  2. Unit tests - NA
  3. Integration tests - NA

ashmeenkaur and others added 12 commits July 5, 2024 10:55
* We want to use the metadata-cache.ttl-secs field to represent the
metadata-cache ttl and resolve it upfront as opposed to resolving it
when needed. We'll follow up with a similar change for the old config
too which will allow us to use the old and new configs interchangeably.
* Make change to set the enable-empty-managed-folders whenever
  enable-hns is set.
Resolve stat-cache-max-size-mb ahead of time and use the new value
wherever needed as opposed to resolving it when needed
Those warnings will be handled by the deprecation semantics of viper and
will be centralized.
@kislaykishore kislaykishore added the execute-integration-tests Run only integration tests label Jul 5, 2024
Copy link

codecov bot commented Jul 5, 2024

Codecov Report

Attention: Patch coverage is 51.70068% with 71 lines in your changes missing coverage. Please review.

Project coverage is 71.86%. Comparing base (f2107c6) to head (c7b53b6).

Files Patch % Lines
cfg/validate.go 0.00% 26 Missing ⚠️
cmd/legacy_main.go 35.48% 20 Missing ⚠️
cmd/mount.go 0.00% 10 Missing ⚠️
cmd/root.go 54.54% 2 Missing and 3 partials ⚠️
main.go 33.33% 4 Missing ⚠️
cfg/config_util.go 0.00% 2 Missing ⚠️
cmd/legacy_param_mapper.go 77.77% 1 Missing and 1 partial ⚠️
internal/fs/fs.go 93.54% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2109      +/-   ##
==========================================
- Coverage   71.88%   71.86%   -0.02%     
==========================================
  Files         101      102       +1     
  Lines       11029    11066      +37     
==========================================
+ Hits         7928     7953      +25     
- Misses       2773     2781       +8     
- Partials      328      332       +4     
Flag Coverage Δ
unittests 71.86% <51.70%> (-0.02%) ⬇️

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
execute-integration-tests Run only integration tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants