Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

EVG-21018 Catch logout errors #2082

Merged
merged 1 commit into from
Oct 4, 2023
Merged

Conversation

khelif96
Copy link
Contributor

@khelif96 khelif96 commented Oct 4, 2023

EVG-21018

Description

This has been pretty noisy on the ops-alerts channel. Looks like we aren't catching any errors when the logout request happens.

@khelif96 khelif96 requested a review from a team October 4, 2023 16:57
@cypress
Copy link

cypress bot commented Oct 4, 2023

Passing run #13091 ↗︎

0 595 7 0 Flakiness 0

Details:

Catch logout errors
Project: Spruce Commit: 73a205fd29
Status: Passed Duration: 18:26 💡
Started: Oct 4, 2023 5:04 PM Ended: Oct 4, 2023 5:23 PM

Review all test suite changes for PR #2082 ↗︎

Copy link
Contributor

@SupaJoon SupaJoon left a comment

Choose a reason for hiding this comment

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

The spam will continue until we stop calling the logout endpoint here since the logout endpoint lives behind auth.

@khelif96
Copy link
Contributor Author

khelif96 commented Oct 4, 2023

The spam will continue until we stop calling the logout endpoint here since the logout endpoint lives behind auth.

The logout endpoint is called whenever we get an unauthed graphql request. So adding some error handling should prevent the unhandled error from being sent to sentry.

@khelif96 khelif96 merged commit 9b09e06 into evergreen-ci:main Oct 4, 2023
2 checks passed
@khelif96 khelif96 deleted the EVG-21018 branch October 4, 2023 21:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants