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(server): fix crash when session token returns no data in auth middleware #1814

Conversation

dyc3
Copy link
Owner

@dyc3 dyc3 commented Nov 7, 2024

fixes #1813

@dyc3 dyc3 enabled auto-merge (squash) November 7, 2024 13:11
Copy link

github-actions bot commented Nov 7, 2024

Bundle size diff

diff -u /tmp/bundle-size-base.txt/bundle-size.txt /tmp/bundle-size-head.txt/bundle-size.txt
--- /tmp/bundle-size-base.txt/bundle-size.txt	2024-11-07 13:14:47.234482078 +0000
+++ /tmp/bundle-size-head.txt/bundle-size.txt	2024-11-07 13:14:47.798483322 +0000
@@ -45,5 +45,5 @@
 dist/assets/VimeoPlayer-hash.js                           39.95 kB │ gzip:  12.51 kB
 dist/assets/Room-hash.js                                 164.04 kB │ gzip:  51.42 kB
 dist/assets/GoogleDrivePlayer-hash.js                    604.60 kB │ gzip: 173.41 kB
-dist/assets/index-hash.js                                748.75 kB │ gzip: 250.29 kB
+dist/assets/index-hash.js                                748.75 kB │ gzip: 250.28 kB
 dist/assets/PlyrPlayer-hash.js                         1,280.51 kB │ gzip: 379.29 kB

Copy link

codecov bot commented Nov 7, 2024

Codecov Report

Attention: Patch coverage is 80.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 61.6292%. Comparing base (e327ab5) to head (4ea0cc0).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
server/auth/index.ts 80.0000% 1 Missing ⚠️
Additional details and impacted files
@@               Coverage Diff                @@
##             master      #1814        +/-   ##
================================================
+ Coverage   61.6271%   61.6292%   +0.0020%     
================================================
  Files           169        169                
  Lines         25492      25496         +4     
  Branches       1446       1448         +2     
================================================
+ Hits          15710      15713         +3     
- Misses         9728       9729         +1     
  Partials         54         54                

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dyc3 dyc3 merged commit 2905d20 into master Nov 7, 2024
17 of 21 checks passed
@dyc3 dyc3 deleted the 11-07-fix_server_fix_crash_when_session_token_returns_no_data_in_auth_middleware branch November 7, 2024 13:16
Copy link

cypress bot commented Nov 7, 2024

OpenTogetherTube    Run #2025

Run Properties:  status check failed Failed #2025  •  git commit 3779fc164e ℹ️: Merge 4ea0cc02bc7d10a39cc5093b59cf470069624401 into e327ab5b01259525095a001f71a8...
Project OpenTogetherTube
Branch Review 11-07-fix_server_fix_crash_when_session_token_returns_no_data_in_auth_middleware
Run status status check failed Failed #2025
Run duration 05m 20s
Commit git commit 3779fc164e ℹ️: Merge 4ea0cc02bc7d10a39cc5093b59cf470069624401 into e327ab5b01259525095a001f71a8...
Committer Carson McManus
View all properties for this run ↗︎

Test results
Tests that failed  Failures 1
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 1
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 83
View all changes introduced in this branch ↗︎

Tests for review

Failed  tests/e2e/integration/playback.spec.ts • 1 failed test • E2E - electron

View Output

Test Artifacts
Video playback > should add and play a youtube video Test Replay Screenshots

Copy link

cypress bot commented Nov 7, 2024

OpenTogetherTube    Run #2026

Run Properties:  status check failed Failed #2026  •  git commit 2905d20df0: fix(server): fix crash when session token returns no data in auth middleware (#1...
Project OpenTogetherTube
Branch Review master
Run status status check failed Failed #2026
Run duration 05m 42s
Commit git commit 2905d20df0: fix(server): fix crash when session token returns no data in auth middleware (#1...
Committer Carson McManus
View all properties for this run ↗︎

Test results
Tests that failed  Failures 1
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 1
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 83
View all changes introduced in this branch ↗︎

Tests for review

Failed  tests/e2e/integration/playback.spec.ts • 1 failed test • E2E - electron

View Output

Test Artifacts
Video playback > should add and play a youtube video Test Replay Screenshots

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.

No session info exception causes server to crash
1 participant