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

fix(windows-client): allow sign out while connlib is raising the tunnel #4766

Merged
merged 4 commits into from
Apr 24, 2024

Conversation

ReactorScram
Copy link
Collaborator

Closes #4763

Previously it would get stuck signing in and say that the situation was impossible, it was actually possible.

I tested this manually by forcing the tunnel to error out in the place where wintun fails for #4765

I simulated a wintun error like the one that causes #4765, and the message
is correct - It's not that Tauri did something impossible, it's that there's a
window between `Session::connect` and the tunnel being ready where we don't
have a useful way to cancel the sign-in
@ReactorScram ReactorScram added kind/bug Something isn't working area/windows_client Issues related to the Windows client labels Apr 24, 2024
@ReactorScram ReactorScram self-assigned this Apr 24, 2024
Copy link

vercel bot commented Apr 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
firezone ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 24, 2024 6:46pm

Copy link

github-actions bot commented Apr 24, 2024

Terraform Cloud Plan Output

Plan: 15 to add, 14 to change, 15 to destroy.

Terraform Cloud Plan

Copy link

github-actions bot commented Apr 24, 2024

Performance Test Results

TCP

Test Name Received/s Sent/s Retransmits
direct-tcp-client2server 233.0 MiB (-5%) 234.8 MiB (-5%) 274 (-38%)
direct-tcp-server2client 245.4 MiB (+0%) 246.8 MiB (+1%) 129 (-74%)
relayed-tcp-client2server 223.2 MiB (-1%) 224.1 MiB (-1%) 243 (0%)
relayed-tcp-server2client 237.0 MiB (-0%) 237.8 MiB (-0%) 429 (+22%)

UDP

Test Name Total/s Jitter Lost
direct-udp-client2server 50.0 MiB (-0%) 0.05ms (-56%) 0.00% (NaN%)
direct-udp-server2client 50.0 MiB (-0%) 0.01ms (+8%) 0.00% (NaN%)
relayed-udp-client2server 50.0 MiB (-0%) 0.07ms (+64%) 0.00% (NaN%)
relayed-udp-server2client 50.0 MiB (-0%) 0.01ms (-30%) 0.00% (NaN%)

@ReactorScram ReactorScram marked this pull request as ready for review April 24, 2024 15:41
Copy link
Member

@jamilbk jamilbk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ReactorScram ReactorScram added this pull request to the merge queue Apr 24, 2024
@jamilbk
Copy link
Member

jamilbk commented Apr 24, 2024

@ReactorScram sorry -- will need to remove from queue and rebase because #4746 changed the test names :-(

@jamilbk jamilbk removed this pull request from the merge queue due to a manual request Apr 24, 2024
@jamilbk
Copy link
Member

jamilbk commented Apr 24, 2024

Once that ones in I can update this PR and re-add it.

@jamilbk jamilbk enabled auto-merge April 24, 2024 18:44
@jamilbk jamilbk added this pull request to the merge queue Apr 24, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 24, 2024
@ReactorScram ReactorScram added this pull request to the merge queue Apr 24, 2024
Merged via the queue into main with commit a3e1901 Apr 24, 2024
134 checks passed
@ReactorScram ReactorScram deleted the chore/clarify-error branch April 24, 2024 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/windows_client Issues related to the Windows client kind/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug(windows-client): Getting impossible error
2 participants