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
F3573401: D10802.diff
Sat, Dec 28, 2:35 PM
Unknown Object (File)
Mon, Dec 16, 7:18 AM
Unknown Object (File)
Nov 13 2024, 2:30 AM
Unknown Object (File)
Nov 13 2024, 2:30 AM
Unknown Object (File)
Nov 8 2024, 8:35 PM
Unknown Object (File)
Oct 22 2024, 4:58 PM
Unknown Object (File)
Oct 22 2024, 4:58 PM
Unknown Object (File)
Oct 22 2024, 4:58 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