Skip to content

feat(conversation): process welcome: retain key package on error [WPB-27413]#2366

Merged
SimonThormeyer merged 4 commits into
mainfrom
simon/feat/process-welcome-keep-keypackage-in-error-case
Jul 24, 2026
Merged

feat(conversation): process welcome: retain key package on error [WPB-27413]#2366
SimonThormeyer merged 4 commits into
mainfrom
simon/feat/process-welcome-keep-keypackage-in-error-case

Conversation

@SimonThormeyer

@SimonThormeyer SimonThormeyer commented Jul 23, 2026

Copy link
Copy Markdown
Member

This is needed for correctness, see corresponding item.

Unfortunately it's a bit more complex than expected, and we need a condition to hold for this to work: the keypackage must have been created in an earlier transaction. It's reasonable to assume that, though, imo

@SimonThormeyer SimonThormeyer changed the title Simon/feat/process welcome keep keypackage in error case feat(conversation): process welcome: restore key package on error [WPB-27413] Jul 23, 2026
@SimonThormeyer
SimonThormeyer marked this pull request as ready for review July 23, 2026 13:21
@SimonThormeyer
SimonThormeyer requested a review from a team as a code owner July 23, 2026 13:21
@SimonThormeyer
SimonThormeyer force-pushed the simon/feat/process-welcome-keep-keypackage-in-error-case branch 2 times, most recently from 72068ac to d97d0e0 Compare July 23, 2026 13:29

@coriolinus coriolinus left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I like how you cleared four of the nits in the pending review with fixups before I even had the chance to post the review!

One more non-blocking nit. But good work!

Comment thread crypto/src/transaction_context/conversation/welcome.rs Outdated
@SimonThormeyer
SimonThormeyer force-pushed the simon/feat/process-welcome-keep-keypackage-in-error-case branch 4 times, most recently from a2ae6bd to aa18653 Compare July 24, 2026 09:01
@coriolinus
coriolinus force-pushed the prgn/refactor/23775-use-unified-connection branch 2 times, most recently from 2cb4498 to f9f6893 Compare July 24, 2026 10:21
@SimonThormeyer
SimonThormeyer force-pushed the simon/feat/process-welcome-keep-keypackage-in-error-case branch from aa18653 to 00cedfb Compare July 24, 2026 11:21
@coriolinus
coriolinus force-pushed the prgn/refactor/23775-use-unified-connection branch from f9f6893 to 9c89c82 Compare July 24, 2026 11:24
Base automatically changed from prgn/refactor/23775-use-unified-connection to main July 24, 2026 11:24
@SimonThormeyer
SimonThormeyer force-pushed the simon/feat/process-welcome-keep-keypackage-in-error-case branch from 00cedfb to 2bafcac Compare July 24, 2026 11:38
@SimonThormeyer SimonThormeyer changed the title feat(conversation): process welcome: restore key package on error [WPB-27413] feat(conversation): process welcome: retain key package on error [WPB-27413] Jul 24, 2026
@SimonThormeyer
SimonThormeyer force-pushed the simon/feat/process-welcome-keep-keypackage-in-error-case branch from 2bafcac to 8e88116 Compare July 24, 2026 12:03
@SimonThormeyer
SimonThormeyer merged commit 8e88116 into main Jul 24, 2026
112 of 113 checks passed
@SimonThormeyer
SimonThormeyer deleted the simon/feat/process-welcome-keep-keypackage-in-error-case branch July 24, 2026 13:00
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.

2 participants