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

fix(vipergc-574): Use selected shelve duration for fault management #7890

Merged
merged 7 commits into from
Oct 15, 2024

Conversation

ozyx
Copy link
Contributor

@ozyx ozyx commented Oct 14, 2024

Closes VIPERGC-574
Closes #7853

Describe your changes:

  • Fixes faulty logic which was preventing the selected shelve duration from being used in the request to the fault provider
  • Renames default shelve duration from 'Indefinite' to 'Unlimited'
  • Removes an unused const

All Submissions:

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Is this a notable change that will require a special callout in the release notes? For example, will this break compatibility with existing APIs or projects that consume these plugins?

Author Checklist

  • Changes address original issue?
  • Tests included and/or updated with changes?
  • Has this been smoke tested?
  • Have you associated this PR with a type: label? Note: this is not necessarily the same as the original issue.
  • Have you associated a milestone with this PR? Note: leave blank if unsure.
  • Testing instructions included in associated issue OR is this a dependency/testcase change?

Reviewer Checklist

  • Changes appear to address issue?
  • Reviewer has tested changes by following the provided instructions?
  • Changes appear not to be breaking changes?
  • Appropriate automated tests included?
  • Code style and in-line documentation are appropriate?

@ozyx ozyx added the type:bug label Oct 14, 2024
@ozyx ozyx added this to the Build 9 RC11 milestone Oct 14, 2024
Copy link

codecov bot commented Oct 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 64.97%. Comparing base (2b86739) to head (6b2abd0).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7890      +/-   ##
==========================================
+ Coverage   57.61%   64.97%   +7.36%     
==========================================
  Files         676      434     -242     
  Lines       27351    13592   -13759     
  Branches     2685        0    -2685     
==========================================
- Hits        15759     8832    -6927     
+ Misses      11257     4760    -6497     
+ Partials      335        0     -335     
Flag Coverage Δ
e2e-ci 62.44% <100.00%> (+<0.01%) ⬆️
e2e-full 41.81% <0.00%> (-12.21%) ⬇️
unit ?
Files with missing lines Coverage Δ
src/api/faultmanagement/FaultManagementAPI.js 93.33% <100.00%> (+1.02%) ⬆️
src/plugins/faultManagement/constants.js 70.37% <ø> (-11.78%) ⬇️

... and 369 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2b86739...6b2abd0. Read the comment docs.

@ozyx ozyx added the pr:e2e:couchdb npm run test:e2e:couchdb label Oct 15, 2024
@github-actions github-actions bot removed the pr:e2e:couchdb npm run test:e2e:couchdb label Oct 15, 2024
@jvigliotta jvigliotta requested review from jvigliotta and removed request for davetsay, akhenry and shefalijoshi October 15, 2024 17:36
@@ -35,7 +35,7 @@ export const DEFAULT_SHELVE_DURATIONS = [
value: 900000
},
{
name: 'Indefinite',
name: 'Unlimited',
Copy link
Contributor

Choose a reason for hiding this comment

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

ah, nice catch

Copy link
Contributor

@jvigliotta jvigliotta left a comment

Choose a reason for hiding this comment

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

Nice work! Tested locally, looking good.

@jvigliotta jvigliotta enabled auto-merge (squash) October 15, 2024 22:01
@ozyx ozyx added the pr:e2e:couchdb npm run test:e2e:couchdb label Oct 15, 2024
@github-actions github-actions bot removed the pr:e2e:couchdb npm run test:e2e:couchdb label Oct 15, 2024
@jvigliotta jvigliotta merged commit ccf7ed9 into master Oct 15, 2024
26 checks passed
@jvigliotta jvigliotta deleted the vipergc-574 branch October 15, 2024 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Fault Management] Providers should be able to specify shelve durations
2 participants