Page MenuHomePhabricator

[shared] [1/n] Move generic websocket messages in tunnelbroker_messages to own crate
ClosedPublic

Authored by will on Jan 24 2024, 12:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jul 1, 11:38 AM
Unknown Object (File)
Mon, Jul 1, 11:38 AM
Unknown Object (File)
Mon, Jul 1, 11:37 AM
Unknown Object (File)
Mon, Jul 1, 11:37 AM
Unknown Object (File)
Wed, Jun 26, 3:50 PM
Unknown Object (File)
Mon, Jun 24, 3:45 AM
Unknown Object (File)
Sun, Jun 23, 8:23 PM
Unknown Object (File)
Sat, Jun 22, 6:40 PM
Subscribers

Details

Summary

This moves ConnectionInitializationResponse, ConnectionInitializationStatus, and Heartbeat from tunnelbroker_messages into websocket_messages.

This enables usage in a planned identity_search_messages crate to avoid duplication.

Test Plan

cargo fmt and build each affected crate

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

will held this revision as a draft.
shared/tunnelbroker_messages/src/messages/mod.rs
17 ↗(On Diff #36099)

What makes this move possibly confusing is the existence of the ConnectionInitializationMessage in tunnelbroker_messages that corresponds to ConnectionInitializationResponse and ConnectionInitializationStatus.

ConnectionInitializationResponse and ConnectionInitializationStatus will be used in conjunction with the planned identity_search_messages with AuthMessage instead of ConnectionInitializationMessage.

will published this revision for review.Jan 24 2024, 1:18 PM
will planned changes to this revision.Jan 26 2024, 7:43 AM
will requested review of this revision.Jan 26 2024, 2:48 PM
will retitled this revision from Move generic websocket messages in tunnelbroker_messages to own crate to [services] [1/n] Move generic websocket messages in tunnelbroker_messages to own crate.Jan 26 2024, 2:51 PM

Who wrote the Tunnelbroker stuff that you're moving? Would be good to have them on the review as well

Who wrote the Tunnelbroker stuff that you're moving? Would be good to have them on the review as well

That would be Kamil. Just added

bartek added 1 blocking reviewer(s): kamil.

Looks good to me, but I want to make sure @kamil is also aware of this change

will retitled this revision from [services] [1/n] Move generic websocket messages in tunnelbroker_messages to own crate to [identity] [1/n] Move generic websocket messages in tunnelbroker_messages to own crate.Jan 30 2024, 11:05 AM
will retitled this revision from [identity] [1/n] Move generic websocket messages in tunnelbroker_messages to own crate to [shared] [1/n] Move generic websocket messages in tunnelbroker_messages to own crate.
This revision is now accepted and ready to land.Jan 31 2024, 2:00 AM