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: Skip expected error from web socket #9194

Merged
merged 1 commit into from
Apr 22, 2024
Merged

Conversation

gt2345
Copy link
Contributor

@gt2345 gt2345 commented Apr 18, 2024

Ticket

MD-363

Description

When the web socket connection closes from client side, server side read would receive expected error, and it can be confusing if displayed.

Test Plan

Monitor the master log, then refresh the webpage, there should not be any error regarding web socket

Checklist

  • Changes have been manually QA'd
  • User-facing API changes need the "User-facing API Change" label.
  • Release notes should be added as a separate file under docs/release-notes/.
    See Release Note for details.
  • Licenses should be included for new code which was copied and/or modified from any external code.

@gt2345 gt2345 requested a review from a team as a code owner April 18, 2024 17:20
@gt2345 gt2345 requested a review from kkunapuli April 18, 2024 17:20
@cla-bot cla-bot bot added the cla-signed label Apr 18, 2024
@gt2345 gt2345 requested review from jgongd and removed request for kkunapuli April 18, 2024 17:21
Copy link

netlify bot commented Apr 18, 2024

Deploy Preview for determined-ui ready!

Name Link
🔨 Latest commit baada59
🔍 Latest deploy log https://app.netlify.com/sites/determined-ui/deploys/66268f028906e4000896a11b
😎 Deploy Preview https://deploy-preview-9194--determined-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

codecov bot commented Apr 18, 2024

Codecov Report

Attention: Patch coverage is 0% with 5 lines in your changes are missing coverage. Please review.

Project coverage is 44.72%. Comparing base (1b212ae) to head (baada59).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9194      +/-   ##
==========================================
- Coverage   44.72%   44.72%   -0.01%     
==========================================
  Files        1266     1266              
  Lines      154770   154774       +4     
  Branches     2438     2438              
==========================================
+ Hits        69225    69226       +1     
- Misses      85313    85316       +3     
  Partials      232      232              
Flag Coverage Δ
backend 41.56% <0.00%> (-0.01%) ⬇️
harness 64.14% <ø> (ø)
web 35.38% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
master/internal/stream/publisher.go 65.46% <0.00%> (-1.07%) ⬇️

... and 1 file with indirect coverage changes

Copy link
Contributor

@jgongd jgongd left a comment

Choose a reason for hiding this comment

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

LGTM!

@gt2345 gt2345 changed the title Fix: Skip expected error from web socket fix: Skip expected error from web socket Apr 19, 2024
@gt2345 gt2345 force-pushed the gt/363-skip-expected-error branch from f14b296 to f82b5b7 Compare April 19, 2024 20:57
@gt2345 gt2345 force-pushed the gt/363-skip-expected-error branch from f82b5b7 to baada59 Compare April 22, 2024 16:23
@gt2345 gt2345 merged commit 3568f27 into main Apr 22, 2024
83 of 96 checks passed
@gt2345 gt2345 deleted the gt/363-skip-expected-error branch April 22, 2024 17:20
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.

2 participants