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

Bug/401 from the backend during ssr will crash the node server #357

Conversation

myieye
Copy link
Contributor

@myieye myieye commented Oct 30, 2023

Resolves #352.

The first 2 commits are the functional changes and are small.
The 3rd commit is big, but only tests.

It was a bit messy deciding exactly what cases I should test. But, all the interesting things are covered I think...and some more.

@github-actions
Copy link

github-actions bot commented Oct 30, 2023

UI unit Tests

1 tests  ±0   1 ✔️ ±0   0s ⏱️ ±0s
1 suites ±0   0 💤 ±0 
1 files   ±0   0 ±0 

Results for commit fde27f1. ± Comparison against base commit 4076bcb.

♻️ This comment has been updated with latest results.

@myieye myieye force-pushed the bug/352-401-from-the-backend-during-ssr-will-crash-the-node-server branch from ede88cb to fd4490b Compare October 31, 2023 13:36
Copy link

github-actions bot commented Oct 31, 2023

C# Unit Tests

34 tests   34 ✔️  13s ⏱️
  6 suites    0 💤
  1 files      0

Results for commit fde27f1.

♻️ This comment has been updated with latest results.

@myieye myieye force-pushed the bug/352-401-from-the-backend-during-ssr-will-crash-the-node-server branch from fd4490b to 959f1b1 Compare October 31, 2023 13:45
@myieye myieye force-pushed the bug/352-401-from-the-backend-during-ssr-will-crash-the-node-server branch 2 times, most recently from c153e70 to 05cf3f6 Compare November 7, 2023 15:39
@myieye myieye marked this pull request as ready for review November 7, 2023 15:39
Copy link
Collaborator

@hahn-kev hahn-kev left a comment

Choose a reason for hiding this comment

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

looks good, man is this complicated.

frontend/src/lib/user.ts Outdated Show resolved Hide resolved
backend/Testing/Browser/Base/PageTest.cs Outdated Show resolved Hide resolved
frontend/src/lib/gql/gql-client.ts Outdated Show resolved Hide resolved
@myieye
Copy link
Contributor Author

myieye commented Nov 8, 2023

@hahn-kev the more complicated a PR is the less change-requests you get so...
😆........😬

@myieye myieye force-pushed the bug/352-401-from-the-backend-during-ssr-will-crash-the-node-server branch from 05cf3f6 to 4c3d407 Compare November 8, 2023 10:39
@myieye myieye force-pushed the bug/352-401-from-the-backend-during-ssr-will-crash-the-node-server branch from 4c3d407 to fde27f1 Compare November 8, 2023 10:43
@myieye
Copy link
Contributor Author

myieye commented Nov 8, 2023

For the record, the last commit got a bit overloaded, it also contains a few error tracing additions and changes. For one, I started trying to log trace IDs in server-code, in the hope that it's easier to debug error logs.

@myieye myieye merged commit 22c5f0a into develop Nov 8, 2023
11 checks passed
@myieye myieye deleted the bug/352-401-from-the-backend-during-ssr-will-crash-the-node-server branch November 8, 2023 10: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.

401 from the backend during SSR will crash the node server
2 participants