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: Document change detector breaking change #1531

Conversation

fredcarle
Copy link
Collaborator

@fredcarle fredcarle commented May 25, 2023

Relevant issue(s)

Resolves #1530

Description

This PR fixes the previous fix and adds a breaking change document to prevent the broken cycle in the change detector after the fix. Should have been part of the #1528 although the change detector was passing before merge.

Tasks

  • I made sure the code is well commented, particularly hard-to-understand areas.
  • I made sure the repository-held documentation is changed accordingly.
  • I made sure the pull request title adheres to the conventional commit style (the subset used in the project can be found in tools/configs/chglog/config.yml).
  • I made sure to discuss its limitations such as threats to validity, vulnerability to mistake and misuse, robustness to invalidation of assumptions, resource requirements, ...

How has this been tested?

make test:changes

Specify the platform(s) on which this was tested:

  • MacOS

@fredcarle fredcarle added bug Something isn't working area/testing Related to any test or testing suite labels May 25, 2023
@fredcarle fredcarle added this to the DefraDB v0.6 milestone May 25, 2023
@fredcarle fredcarle requested a review from a team May 25, 2023 03:25
@fredcarle fredcarle self-assigned this May 25, 2023
@shahzadlone
Copy link
Member

Why did the change detector not catch that in the last PR? is it broken?

@codecov
Copy link

codecov bot commented May 25, 2023

Codecov Report

Merging #1531 (dfb9568) into develop (20e9286) will decrease coverage by 0.05%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1531      +/-   ##
===========================================
- Coverage    72.10%   72.05%   -0.05%     
===========================================
  Files          185      185              
  Lines        18295    18295              
===========================================
- Hits         13192    13183       -9     
- Misses        4060     4066       +6     
- Partials      1043     1046       +3     

see 4 files with indirect coverage changes

@fredcarle fredcarle force-pushed the fredcarle/fix/i1530-change-detector-broken branch from 79aedb0 to d687cfc Compare May 25, 2023 03:57
@fredcarle fredcarle force-pushed the fredcarle/fix/i1530-change-detector-broken branch from d687cfc to 5773ce7 Compare May 25, 2023 04:09
@shahzadlone
Copy link
Member

question: Did you test that it fails even in this branch without the documentation? and then once the documentation is added it works?

@fredcarle
Copy link
Collaborator Author

question: Did you test that it fails even in this branch without the documentation? and then once the documentation is added it works?

I did. I basically recreated the changes on my fork without the regression and it works fine. Here we need the change documentation to prevent the regression from failing the change detector check.

Copy link
Member

@shahzadlone shahzadlone left a comment

Choose a reason for hiding this comment

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

Thanks for taking care of this. Fingers crossed :P hopefully no more fails on develop.

@fredcarle fredcarle merged commit 2a3f997 into sourcenetwork:develop May 25, 2023
@fredcarle fredcarle deleted the fredcarle/fix/i1530-change-detector-broken branch May 25, 2023 04:22
shahzadlone pushed a commit to shahzadlone/defradb that referenced this pull request Feb 23, 2024
## Relevant issue(s)

Resolves sourcenetwork#1530 

## Description

This PR fixes the previous fix and adds a breaking change document to
prevent the broken cycle in the change detector after the fix. Should
have been part of the sourcenetwork#1528 although the change detector was passing
before merge.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/testing Related to any test or testing suite bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change detector panics in develop after fix
2 participants