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

refactor: FM-321 move orb relay client #340

Open
wants to merge 20 commits into
base: main
Choose a base branch
from

Conversation

paulquinn00
Copy link

@paulquinn00 paulquinn00 commented Dec 25, 2024

Moving orb-relay-client to orb-software to make it accessible. Specifically to allow fleet-cmdr to utilize it.

Made a patch from priv-orb-core/orb-relay-client and applied it to orb-software/relay-client.
(Follow-up PR to priv-orb-core to depend on orb-software/relay-client will come.)

andronat and others added 20 commits September 25, 2024 17:41
* Orb Relay support

* Fix orb-relay-messages

* Remove dead code

* Make timeout configurable

* Implement a start trigger for stage

* Hack to deliver all messages

---------

Co-authored-by: Valentyn Valiaiev <valentine.valyaeff@gmail.com>
* Custom trigger util

* Session ID must be hashed

* Support graceful shutdown with retries of pending messages
Skip messages that come from an unexpected src_id
* user feedback messages from pipeline

* add Log for distance agent

* rename to signup_failure_feedback

* add user_distance to DebugReport

* add signup_failure_feedback on DebugReport

* refactor: dedicated funcs for feedback msgs

* fix avg_user_distance NaN bug

* add ServerError msg

* add Underaged msg

* remove info msg

* plans now return a vector of msgs

* Rework design

* send msgs over relay

* fix not sending msg on capture failure

* fix manual-test

* update DEBUG_REPORT_VERSION

---------

Co-authored-by: Anastasios Andronidis <anastasios.andronidis@toolsforhumanity.com>
Make Orb-ID announcement more reliable

Add reconnect and send_blocking functionality
* update orb-relay-messages

* add TooClose feedback

* send CaptureTriggerTimeout msg

* update DEBUG_REPORT_VERSION
Implement a simple client-side heartbeat
Remove hashing of dst_id
Report CaptureStarted
* Move to new orb-relay architecture

* Feedback from @valff
Fix message ordering and protobuf namespace
Decode msgs for type Any to known types
If a connection dies we need to make sure we continuously retry
* Use tracing with tracing-journald

* Remove flexi_logger

* Remove `log`

* Fallback to stdout if journald is not available or stdout is TTY
@paulquinn00 paulquinn00 changed the title Fm 321 move orb relay client refactor: FM-321 move orb relay client Dec 25, 2024
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.

5 participants