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 of endpoint and connection management state logic #77

Merged
merged 74 commits into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
796c379
address unbounded channel in signal client
neonphog Nov 15, 2023
cc4b3c5
checkpoint
neonphog Nov 16, 2023
34aa024
Merge branch 'main' into async-conn-events
neonphog Nov 20, 2023
668b64e
checkpoint
neonphog Nov 22, 2023
e01a1f6
integrate api changes into tx5 high level
neonphog Nov 28, 2023
d5eed19
temp test fix
neonphog Nov 29, 2023
ff17e66
event cleanup
neonphog Nov 29, 2023
5aa12a8
Merge branch 'main' into async-conn-events
neonphog Dec 11, 2023
6458bbe
Merge branch 'main' into async-conn-events
neonphog Dec 11, 2023
6de09f9
checkpoint
neonphog Dec 11, 2023
f2cc655
checkpoint
neonphog Dec 13, 2023
0942d65
checkpoint
neonphog Dec 13, 2023
66f1aa8
checkpoint
neonphog Dec 14, 2023
3eabffc
checkpoint
neonphog Dec 14, 2023
e000709
unit test pattern
neonphog Dec 18, 2023
b436aac
modules
neonphog Dec 19, 2023
0ec4ecf
preflight checking
neonphog Dec 19, 2023
c1f5410
ban
neonphog Dec 19, 2023
720505a
drop edge cases and send timeouts
neonphog Dec 20, 2023
05f8f6f
broadcast
neonphog Dec 20, 2023
7c6038a
stats
neonphog Dec 21, 2023
e8cf3be
metrics
neonphog Dec 21, 2023
bae077f
demo + benchmarks
neonphog Dec 22, 2023
b503818
Merge branch 'main' into async-conn-events
neonphog Jan 2, 2024
882113e
Merge branch 'async-conn-events' into ep3
neonphog Jan 2, 2024
e63d87a
cleanup
neonphog Jan 2, 2024
7be1eb1
broken test
neonphog Jan 3, 2024
44b78c6
fix negotiation
neonphog Jan 3, 2024
2d995c3
drop test
neonphog Jan 4, 2024
d171ff8
can shutdown signal server
neonphog Jan 4, 2024
b9b2435
fix sig drop test
neonphog Jan 5, 2024
6f2e9d4
enable android 33 test
neonphog Jan 8, 2024
6af48c9
new rust lints
neonphog Jan 8, 2024
9c0d45c
attempt windows fix
neonphog Jan 8, 2024
cc75ae0
windows takes longer
neonphog Jan 9, 2024
79c2e09
even more windows time
neonphog Jan 9, 2024
cafc11e
switch to app_dirs2 and check permissions on android tests
neonphog Jan 10, 2024
69a32ee
checkpoint work on tx5 protocol
neonphog Jan 16, 2024
5a78f64
working tx5 proto
neonphog Jan 17, 2024
b0b48f3
integrate new protocol
neonphog Jan 20, 2024
6e03ebc
checkpoint, need to cleanup conns on errors
neonphog Jan 25, 2024
48f2131
test fix
neonphog Jan 29, 2024
0d13cac
fix panics & closed runtimes
neonphog Jan 29, 2024
88cad87
older rust visibility warn
neonphog Jan 29, 2024
2e88886
try again
neonphog Jan 29, 2024
ea4fc6a
Merge branch 'main' into async-conn-events
neonphog Jan 30, 2024
0bcbc0c
Merge branch 'async-conn-events' into ep3
neonphog Jan 30, 2024
b28d834
test fix
neonphog Jan 30, 2024
3948120
win test tweak
neonphog Jan 30, 2024
a573f92
Apply suggestions from code review
neonphog Jan 31, 2024
716bcb0
maybe test fix
neonphog Jan 31, 2024
b63669a
upgrade pion
neonphog Jan 31, 2024
3769bb6
debug
neonphog Jan 31, 2024
122d0b2
debugging
neonphog Jan 31, 2024
7a7fbd0
event tweak
neonphog Jan 31, 2024
28614cd
event timeout
neonphog Jan 31, 2024
5a242a0
add event dispatcher unit tests
neonphog Feb 1, 2024
0741954
impl Debug on Ep3
neonphog Feb 1, 2024
9f8c3d9
code review comment
neonphog Feb 2, 2024
885dcf4
code review comment
neonphog Feb 2, 2024
0bea4b1
code review comment
neonphog Feb 2, 2024
4bd02d1
Update crates/tx5/src/proto.rs
neonphog Feb 2, 2024
9521006
remove convenience conversion per code review
neonphog Feb 2, 2024
7608bfa
code review comment
neonphog Feb 2, 2024
430e250
code review comment
neonphog Feb 2, 2024
599a051
core review comment
neonphog Feb 2, 2024
84c519c
code review comment
neonphog Feb 2, 2024
6cc8ace
code review comment
neonphog Feb 2, 2024
4a24d8b
code review comment - simplified AbortableTimedSharedFuture
neonphog Feb 2, 2024
f2f04d8
simplify event dispatcher
neonphog Feb 5, 2024
3b40847
cleanup
neonphog Feb 5, 2024
b8e9c77
switch to ubuntu + kvm for android test runners
neonphog Feb 5, 2024
23215ce
debug config and bump ver
neonphog Feb 5, 2024
e3ac16e
rebuild lock file
neonphog Feb 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,26 @@ on:
- main
jobs:
test:
runs-on: macos-latest
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
#android-arch: ["arm64-v8a", "x86_64"]
android-arch: ["x86_64"]
android-api-level: [29]
android-api-level: [29, 33]
android-ndk-version: ["26.0.10792818"]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Enable KVM
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm

- name: Go Toolchain
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: '=1.20.0'

Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,21 @@ jobs:
static-analysis:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [
ubuntu-latest,
]
toolchain: [
stable,
1.71.1
1.75.0
]
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Go Toolchain
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: '=1.20.0'

Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
name: Test
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [
ubuntu-latest,
Expand All @@ -25,10 +26,10 @@ jobs:
]
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Go Toolchain
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: '=1.20.0'

Expand All @@ -45,5 +46,6 @@ jobs:

- name: Cargo Test
env:
RUST_LOG: error
RUST_BACKTRACE: 1
run: cargo test -- --nocapture
Loading
Loading