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

Only resend proposals once after external commit #4103

Merged
merged 4 commits into from
Jun 24, 2024

Conversation

pcapriotti
Copy link
Contributor

@pcapriotti pcapriotti commented Jun 24, 2024

If the backend somehow ends up with duplicate remove proposals, when an external commit is processed duplicates are now filtered out before resending them.

I still don't know the root cause for the existence of duplicate proposals (#4102 is an attempt at reproducing), but this PR should mitigate the consequence of such an occurrence.

There are no new tests here, because I don't know how to cause duplicate proposals to be stored (short of adding them manually in the test).

https://wearezeta.atlassian.net/browse/WPB-9210

Checklist

  • Add a new entry in an appropriate subdirectory of changelog.d
  • Read and follow the PR guidelines

@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Jun 24, 2024
@pcapriotti pcapriotti marked this pull request as ready for review June 24, 2024 11:18
@pcapriotti pcapriotti merged commit d3f64ea into develop Jun 24, 2024
10 checks passed
@pcapriotti pcapriotti deleted the pcapriotti/filter-duplicates-when-resending-props branch June 24, 2024 13:51
@echoes-hq echoes-hq bot added the echoes: unplanned Any work item that isn’t part of the product or technical roadmap. label Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
echoes: unplanned Any work item that isn’t part of the product or technical roadmap. ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants