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

regression: default to already stored value not value from code #32870

Merged
merged 12 commits into from
Aug 5, 2024

Conversation

debdutdeb
Copy link
Member

@debdutdeb debdutdeb commented Jul 23, 2024

Proposed changes (including videos or screenshots)

Issue(s)

https://rocketchat.atlassian.net/browse/CORE-585

Cache was getting updated with value in code if a property in code other than value changed from what was stored.

Steps to test or reproduce

Further comments

Test cases:

  1. Set cache immediately as OVERWRITE_SETTING or Setting_id environment variables are set
  2. Don't set cache at all if value did not change from what was stored vs what is in environment (ignoring code)

Copy link
Contributor

dionisio-bot bot commented Jul 23, 2024

Looks like this PR is not ready to merge, because of the following issues:

  • This PR is missing the 'stat: QA assured' label

Please fix the issues and try again

If you have any trouble, please check the PR guidelines

Copy link

changeset-bot bot commented Jul 23, 2024

⚠️ No Changeset found

Latest commit: 9c63b6a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@debdutdeb debdutdeb requested a review from ggazzo July 23, 2024 19:25
Copy link

codecov bot commented Jul 23, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 55.66%. Comparing base (5ecdaff) to head (9c63b6a).

Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                 @@
##           release-6.11.0   #32870      +/-   ##
==================================================
- Coverage           55.67%   55.66%   -0.01%     
==================================================
  Files                2636     2636              
  Lines               57428    57429       +1     
  Branches            11902    11903       +1     
==================================================
- Hits                31971    31969       -2     
+ Misses              22767    22739      -28     
- Partials             2690     2721      +31     
Flag Coverage Δ
e2e 54.32% <ø> (-0.02%) ⬇️
unit 72.30% <50.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

@debdutdeb debdutdeb marked this pull request as ready for review July 29, 2024 09:21
@casalsgh casalsgh added this to the 6.11 milestone Jul 29, 2024
@debdutdeb debdutdeb changed the base branch from develop to release-6.11.0 July 31, 2024 04:10
@debdutdeb debdutdeb requested a review from a team as a code owner July 31, 2024 04:36
@debdutdeb debdutdeb marked this pull request as draft July 31, 2024 04:36
@debdutdeb debdutdeb force-pushed the another-settings-registry branch 3 times, most recently from 657da01 to eb171fa Compare July 31, 2024 06:56
debdutdeb and others added 4 commits August 2, 2024 18:03
Co-authored-by: Marcos Spessatto Defendi <marcos.defendi@rocket.chat>
…tests.ts

Co-authored-by: Marcos Spessatto Defendi <marcos.defendi@rocket.chat>
…tests.ts

Co-authored-by: Marcos Spessatto Defendi <marcos.defendi@rocket.chat>
@debdutdeb debdutdeb marked this pull request as ready for review August 3, 2024 20:12
@ggazzo ggazzo merged commit dea72b5 into release-6.11.0 Aug 5, 2024
48 checks passed
@ggazzo ggazzo deleted the another-settings-registry branch August 5, 2024 14:04
abhinavkrin pushed a commit that referenced this pull request Oct 25, 2024
Co-authored-by: Guilherme Gazzo <guilhermegazzo@gmail.com>
Co-authored-by: Marcos Spessatto Defendi <marcos.defendi@rocket.chat>
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.

4 participants