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

feat: automatic reconnect #22

Merged
merged 8 commits into from
Aug 16, 2024
Merged

feat: automatic reconnect #22

merged 8 commits into from
Aug 16, 2024

Conversation

vaind
Copy link
Collaborator

@vaind vaind commented Aug 16, 2024

Android builds tend to get disconnected on getLog() - see the issue appium/java-client#2088 (comment)

This PR adds a reconnection logic so when an error ocurs, we just go ahead and start another appium client.

Copy link

github-actions bot commented Aug 16, 2024

ios Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1286.50 ms 1296.86 ms 10.36 ms
Size 3.33 MiB 7.73 MiB 4.39 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
bacea1c 1330.25 ms 1337.00 ms 6.75 ms
48be639 1301.00 ms 1321.67 ms 20.67 ms
4c4f3df 1292.50 ms 1333.40 ms 40.90 ms
bf6b3dc 1272.00 ms 1310.25 ms 38.25 ms
fc0d02d 1304.75 ms 1319.25 ms 14.50 ms
0590622 1313.75 ms 1321.50 ms 7.75 ms
f8dc4f2 1323.00 ms 1321.00 ms -2.00 ms
7297039 1322.25 ms 1345.40 ms 23.15 ms

App size

Revision Plain With Sentry Diff
bacea1c 3.33 MiB 7.73 MiB 4.39 MiB
48be639 3.33 MiB 7.73 MiB 4.39 MiB
4c4f3df 3.33 MiB 7.73 MiB 4.39 MiB
bf6b3dc 3.33 MiB 7.73 MiB 4.39 MiB
fc0d02d 3.33 MiB 7.73 MiB 4.39 MiB
0590622 3.33 MiB 7.73 MiB 4.39 MiB
f8dc4f2 3.33 MiB 7.73 MiB 4.39 MiB
7297039 3.33 MiB 7.73 MiB 4.39 MiB

Copy link

github-actions bot commented Aug 16, 2024

android Performance metrics 🚀

  Plain With Sentry Diff
Startup time 441.07 ms 1575.53 ms 1134.47 ms
Size 25.32 KiB 31.80 MiB 31.77 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
bacea1c 389.00 ms 1761.00 ms 1372.00 ms
48be639 580.80 ms 2137.00 ms 1556.20 ms
4c4f3df 332.33 ms 1517.33 ms 1185.00 ms
bf6b3dc 327.67 ms 1623.40 ms 1295.73 ms
fc0d02d 321.00 ms 1656.50 ms 1335.50 ms
0590622 552.67 ms 2093.67 ms 1541.00 ms
f8dc4f2 472.75 ms 1766.00 ms 1293.25 ms
7297039 421.33 ms 1663.33 ms 1242.00 ms

App size

Revision Plain With Sentry Diff
bacea1c 25.32 KiB 31.80 MiB 31.77 MiB
48be639 25.32 KiB 31.80 MiB 31.77 MiB
4c4f3df 25.32 KiB 31.80 MiB 31.77 MiB
bf6b3dc 25.32 KiB 31.80 MiB 31.77 MiB
fc0d02d 25.32 KiB 31.80 MiB 31.77 MiB
0590622 25.32 KiB 31.80 MiB 31.77 MiB
f8dc4f2 25.32 KiB 31.80 MiB 31.77 MiB
7297039 25.32 KiB 31.80 MiB 31.77 MiB

Previous results on branch: feat/automatic-reconnect

Startup times

Revision Plain With Sentry Diff
f0c7d08 419.47 ms 1555.60 ms 1136.13 ms
c8dea9a 371.16 ms 1779.14 ms 1407.97 ms

App size

Revision Plain With Sentry Diff
f0c7d08 25.32 KiB 31.80 MiB 31.77 MiB
c8dea9a 25.32 KiB 31.80 MiB 31.77 MiB

@vaind vaind force-pushed the feat/automatic-reconnect branch from dfe668e to f0b6f4a Compare August 16, 2024 13:06
@vaind vaind force-pushed the feat/automatic-reconnect branch from 981bfb0 to 169ea17 Compare August 16, 2024 15:19
CHANGELOG.md Outdated Show resolved Hide resolved
@vaind vaind merged commit 9615bad into main Aug 16, 2024
8 checks passed
@vaind vaind deleted the feat/automatic-reconnect branch August 16, 2024 18:10
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.

1 participant