Skip to content

HOTFIX: Incorrect "You are not in queue" message#630

Merged
mewilker merged 2 commits intomainfrom
oauth
Jan 28, 2026
Merged

HOTFIX: Incorrect "You are not in queue" message#630
mewilker merged 2 commits intomainfrom
oauth

Conversation

@mewilker
Copy link
Contributor

Overview

This is a hotfix for the error message that says "You are not in the queue" even though users are in fact in the queue.

The root of the problem was the change in my last PR of the cookie to HttpOnly. These queue updates rely on websocket messages that were intiated by sending the user's auth token. In response, they got grading updates. Now that the token is inaccessable, the backend can't get the user.

This was fixed by reading the cookie instead of the websocket message.

Details

Before

image image

After

image image

Testing

  • Added/updated unit tests
  • Tested edge cases
  • Manual testing (if needed)

Future Work

There's a good chance this will cause an error for Test Student, but I'd rather everyone else have the correct display. There's probably also some code cleanup that needs to happen, but I will address this later.

@mewilker mewilker self-assigned this Jan 28, 2026
@mewilker mewilker requested a review from a team January 28, 2026 02:50
Copy link
Collaborator

@TheDavSmasher TheDavSmasher left a comment

Choose a reason for hiding this comment

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

Funny

@mewilker mewilker merged commit b1c5a55 into main Jan 28, 2026
3 checks passed
@mewilker mewilker deleted the oauth branch January 28, 2026 02:54
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.

2 participants