Skip to content

Better proposal reference check#4999

Merged
pcapriotti merged 5 commits intodevelopfrom
mls-duplicate-proposals
Feb 5, 2026
Merged

Better proposal reference check#4999
pcapriotti merged 5 commits intodevelopfrom
mls-duplicate-proposals

Conversation

@pcapriotti
Copy link
Contributor

@pcapriotti pcapriotti commented Feb 3, 2026

When duplicated proposals are present (e.g. because something went wrong when deleting a client or a user, and the operation was retried), new commits were rejected because they cannot contain all the pending proposal refs.

This PR fixes the issue by making the proposal ref check ignore missing proposals that delete clients which are already deleted by other proposals in the commit.

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

Checklist

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

For each missing proposal, check if it is deleting an index which is
already deleted by an included proposal. If so, do not throw a missing
reference error.
@pcapriotti pcapriotti force-pushed the mls-duplicate-proposals branch from 2f40fae to 5e051b1 Compare February 3, 2026 15:18
@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Feb 3, 2026
@pcapriotti pcapriotti marked this pull request as ready for review February 5, 2026 09:24
@pcapriotti pcapriotti requested review from a team as code owners February 5, 2026 09:24
@pcapriotti pcapriotti merged commit 052c052 into develop Feb 5, 2026
10 checks passed
@pcapriotti pcapriotti deleted the mls-duplicate-proposals branch February 5, 2026 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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