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: handle auth check cancelation #710

Merged
merged 1 commit into from
Jun 12, 2020

Conversation

hkang1
Copy link
Contributor

@hkang1 hkang1 commented Jun 12, 2020

Description

During webui-e2e-tests, there is sometimes a race condition during login check that cancels user authentication check. The cancelation of the auth check causes the webui to clear out the cookie and log you out because it is considered an auth failure. Instead, we need to handle cancelation to skip the clearing of the cookies.

Test Plan

Pay special attention to CI webui-e2e-tests to see if failure occurs on the 5th test of the 02-loginout.spec.ts test suite (should redirect away from login when visiting login while logged in). This test should not fail due to aborted /users/me calls.

Commentary (optional)

Copy link
Member

@hamidzr hamidzr left a comment

Choose a reason for hiding this comment

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

🚢

@hamidzr hamidzr assigned hkang1 and unassigned hamidzr Jun 12, 2020
@hkang1 hkang1 merged commit 4f71eb4 into determined-ai:master Jun 12, 2020
@hkang1 hkang1 deleted the fix-auth-check-failure branch June 12, 2020 21:13
tayritenour pushed a commit to tayritenour/determined that referenced this pull request Apr 25, 2023
…2] (determined-ai#710)

Singularity/Enroot do not support overlapping mounts.   Allowing a user
mount under /run/determined conflicts with generated mounts, so fail
such attempts with a clean error message.
eecsliu pushed a commit to eecsliu/determined that referenced this pull request Jun 23, 2023
…2] (determined-ai#710)

Singularity/Enroot do not support overlapping mounts.   Allowing a user
mount under /run/determined conflicts with generated mounts, so fail
such attempts with a clean error message.
stoksc pushed a commit that referenced this pull request Jun 26, 2023
…2] (#710)

Singularity/Enroot do not support overlapping mounts.   Allowing a user
mount under /run/determined conflicts with generated mounts, so fail
such attempts with a clean error message.
eecsliu pushed a commit that referenced this pull request Jun 28, 2023
…2] (#710)

Singularity/Enroot do not support overlapping mounts.   Allowing a user
mount under /run/determined conflicts with generated mounts, so fail
such attempts with a clean error message.
eecsliu pushed a commit that referenced this pull request Jun 28, 2023
…2] (#710)

Singularity/Enroot do not support overlapping mounts.   Allowing a user
mount under /run/determined conflicts with generated mounts, so fail
such attempts with a clean error message.
stoksc pushed a commit that referenced this pull request Jul 20, 2023
…2] (#710)

Singularity/Enroot do not support overlapping mounts.   Allowing a user
mount under /run/determined conflicts with generated mounts, so fail
such attempts with a clean error message.
eecsliu pushed a commit that referenced this pull request Jul 24, 2023
…2] (#710)

Singularity/Enroot do not support overlapping mounts.   Allowing a user
mount under /run/determined conflicts with generated mounts, so fail
such attempts with a clean error message.
rb-determined-ai pushed a commit that referenced this pull request Oct 5, 2023
…2] (#710)

Singularity/Enroot do not support overlapping mounts.   Allowing a user
mount under /run/determined conflicts with generated mounts, so fail
such attempts with a clean error message.

[e2e_tests changes only]
rb-determined-ai pushed a commit that referenced this pull request Oct 10, 2023
…2] (#710)

Singularity/Enroot do not support overlapping mounts.   Allowing a user
mount under /run/determined conflicts with generated mounts, so fail
such attempts with a clean error message.

[e2e_tests changes only]
stoksc pushed a commit that referenced this pull request Oct 17, 2023
…2] (#710)

Singularity/Enroot do not support overlapping mounts.   Allowing a user
mount under /run/determined conflicts with generated mounts, so fail
such attempts with a clean error message.
rb-determined-ai pushed a commit that referenced this pull request Oct 27, 2023
…2] (#710)

Singularity/Enroot do not support overlapping mounts.   Allowing a user
mount under /run/determined conflicts with generated mounts, so fail
such attempts with a clean error message.

[e2e_tests changes only]
rb-determined-ai pushed a commit that referenced this pull request Oct 31, 2023
…2] (#710)

Singularity/Enroot do not support overlapping mounts.   Allowing a user
mount under /run/determined conflicts with generated mounts, so fail
such attempts with a clean error message.

[e2e_tests changes only]
rb-determined-ai pushed a commit that referenced this pull request Nov 2, 2023
…2] (#710)

Singularity/Enroot do not support overlapping mounts.   Allowing a user
mount under /run/determined conflicts with generated mounts, so fail
such attempts with a clean error message.

[e2e_tests changes only]
rb-determined-ai pushed a commit that referenced this pull request Nov 2, 2023
…2] (#710)

Singularity/Enroot do not support overlapping mounts.   Allowing a user
mount under /run/determined conflicts with generated mounts, so fail
such attempts with a clean error message.

[e2e_tests changes only]
azhou-determined pushed a commit that referenced this pull request Dec 7, 2023
…2] (#710)

Singularity/Enroot do not support overlapping mounts.   Allowing a user
mount under /run/determined conflicts with generated mounts, so fail
such attempts with a clean error message.

[excluding e2e_tests changes]
wes-turner pushed a commit that referenced this pull request Feb 2, 2024
…2] (#710)

Singularity/Enroot do not support overlapping mounts.   Allowing a user
mount under /run/determined conflicts with generated mounts, so fail
such attempts with a clean error message.

[excluding e2e_tests changes]
@dannysauer dannysauer added this to the 0.12.10 milestone Feb 6, 2024
rb-determined-ai pushed a commit that referenced this pull request Feb 29, 2024
…2] (#710)

Singularity/Enroot do not support overlapping mounts.   Allowing a user
mount under /run/determined conflicts with generated mounts, so fail
such attempts with a clean error message.

[excluding e2e_tests changes]
amandavialva01 pushed a commit that referenced this pull request Mar 18, 2024
…2] (#710)

Singularity/Enroot do not support overlapping mounts.   Allowing a user
mount under /run/determined conflicts with generated mounts, so fail
such attempts with a clean error message.

[excluding e2e_tests changes]
eecsliu pushed a commit that referenced this pull request Apr 18, 2024
…2] (#710)

Singularity/Enroot do not support overlapping mounts.   Allowing a user
mount under /run/determined conflicts with generated mounts, so fail
such attempts with a clean error message.

[excluding e2e_tests changes]
eecsliu pushed a commit to determined-ai/determined-release-testing that referenced this pull request Apr 22, 2024
…2] (determined-ai#710)

Singularity/Enroot do not support overlapping mounts.   Allowing a user
mount under /run/determined conflicts with generated mounts, so fail
such attempts with a clean error message.

[excluding e2e_tests changes]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants