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

Added comment that hashCode test values must not be changed #6647

Merged
merged 2 commits into from May 18, 2023

Conversation

nickpoorman
Copy link
Contributor

Description: We recently copied the hashCode function from Platform into Services. We need to ensure that the result of this hash code never changes or risk data ending up in a corrupted state, (under incorrect keys).

Fixes #6581

@nickpoorman nickpoorman requested a review from a team as a code owner May 17, 2023 18:11
@nickpoorman nickpoorman requested a review from kimbor May 17, 2023 18:11
Copy link
Member

@david-bakin-sl david-bakin-sl left a comment

Choose a reason for hiding this comment

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

Nothing succeeds like excess! LGTM!

Signed-off-by: Nick Poorman <nick@swirldslabs.com>
Signed-off-by: Nick Poorman <nick@swirldslabs.com>
@github-actions
Copy link

Node: Unit Test Results

    1 383 files      1 383 suites   1h 13m 7s ⏱️
  98 456 tests   98 449 ✔️ 7 💤 0
103 621 runs  103 614 ✔️ 7 💤 0

Results for commit e2d30bc.

@sonarcloud
Copy link

sonarcloud bot commented May 18, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@github-actions
Copy link

Node: Integration Test Results

    4 files      4 suites   14m 2s ⏱️
170 tests 170 ✔️ 0 💤 0
172 runs  172 ✔️ 0 💤 0

Results for commit e2d30bc.

@github-actions
Copy link

Node: E2E Test Results

    1 files      1 suites   17m 45s ⏱️
310 tests 310 ✔️ 0 💤 0
328 runs  328 ✔️ 0 💤 0

Results for commit e2d30bc.

@nickpoorman nickpoorman merged commit bbce07a into develop May 18, 2023
15 of 16 checks passed
@nickpoorman nickpoorman deleted the fix-6581 branch May 18, 2023 22:09
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.

Verify we have tests that ensure the hashCode function outputs never change.
3 participants