Skip to content

Commit

Permalink
orb-relay-client (#39)
Browse files Browse the repository at this point in the history
* chore(relay-client): skeleton of user facing api

* feat(relay-client): receiver skeleton

* feat(relay-client): retry skeleton

* feat(relay-client): send and ask

* test(relay-client): setup

* test(relay-client): connection test

* tests(relay-client): heartbeat, stop and conn attempt tests

* tests(relay-client): send and ask tests

* tests(relay-client): broken ask retry test

* docs(relay-client): add some doc comments

* chore(relay-client): change crate name to orb-relay-client

* tests(relay-client): e2e reply

* chore(relay-client): more error messages

* feat(relay-client): prepare support for different type of auth tokens

* docs(relay-client): doc comment for SendMessage

* chore(relay-client): clippy issues

* chore(relay-client): clipppppyyyyy

* chore(relay-client): c l i p p y

* chore(relay-client): commit hooks plz

* fix(relay-client): lack of proper connection attempt backoff

* chore: client clones itself instead of passing ref for msg.reply

* chore: add tests to github workflow

* chore(relay-client): fix fmt

* doc(relay-client): update flume receiver doc comments
  • Loading branch information
vmenge authored Jan 30, 2025
1 parent 6de9722 commit f41b79a
Show file tree
Hide file tree
Showing 16 changed files with 2,584 additions and 34 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/rust-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,21 @@ jobs:
- name: Clippy lints
run: cargo clippy --all --all-features --all-targets --no-deps -- -D warnings

test:
name: Test
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4.1.7
- name: Cache cargo dependencies
uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # pin@v2.7.3
- name: Install Protoc
uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # pin@v3.0.0
with:
version: "24.1"

- name: Cargo test
run: cargo test --all --all-features

doc:
name: Docs
runs-on: ubuntu-22.04
Expand Down
Loading

0 comments on commit f41b79a

Please sign in to comment.