Skip to content

#930 Try to close WebSocket destination when state is Open or CloseReceived #2091

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

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

hogwartsdeveloper
Copy link
Contributor

@hogwartsdeveloper hogwartsdeveloper commented Jun 8, 2024

Fixes #930

Proposed Changes

  • error occurs when trying to close connections but destination status == abort
Screenshot 2024-06-09 at 02 29 46

@raman-m raman-m added bug Identified as a potential bug Websockets Ocelot feature: Websockets 2023 Annual 2023 release labels Jun 10, 2024
@raman-m raman-m added this to the Annual 2023 milestone Jun 10, 2024
@raman-m
Copy link
Member

raman-m commented Jun 10, 2024

Zhannur, thank you for the pull request!

Firstly, have you managed to reproduce the issue through tests?
I understand you've debugged the problem during runtime, but we need to verify the bug with tests.
Therefore, unit and acceptance tests are necessary before the team can proceed with a review.

P.S.

Please, update your develop branch in forked repo, and pay attention I've rebased the feature branch, so you need to re-checkout the branch locally.

@PaulARoy
Copy link
Contributor

PaulARoy commented Aug 26, 2024

Hello, is this branch only missing tests to fix the bug? Can we contribute and if so, what would be the best way to do it? (Fork the branch on our side?)

@raman-m
Copy link
Member

raman-m commented Aug 26, 2024

@PaulARoy Hi Paul!

Hello, is this branch only missing tests to fix the bug?

Yes, it is. The lack of tests breaches our Dev Process (refer to point 5). I cannot proceed with a code review without tests, as we cannot be certain that the bug fix is effective.

Can we contribute and if so, what would be the best way to do it? (Fork the branch on our side?)

The optimal approach is to pair-program with the author @hogwartsdeveloper to gain access to his forked repository. He will need to add you as a collaborator to his repository. If this is not feasible, please inform me again. We should wait a few weeks for him to add you as a collaborator.

@raman-m raman-m added Oct'24 October 2024 release and removed 2023 Annual 2023 release labels Aug 26, 2024
@raman-m raman-m modified the milestones: Annual 2023, September'24 Aug 26, 2024
@raman-m
Copy link
Member

raman-m commented Aug 26, 2024

@hogwartsdeveloper Hello Zhannur!
Are you available? I requested that you write tests for this PR nearly three months ago.

Do you plan to complete your PR with tests?
If not, please add @PaulARoy as a collaborator to your forked repository here to assist with tests.

P.S. Your PRs have been moved to the September'24 milestone.

@raman-m raman-m added Spring'25 Spring 2025 release and removed Oct'24 October 2024 release labels Oct 26, 2024
@raman-m raman-m modified the milestones: October'24, Autumn'24 Oct 26, 2024
@raman-m raman-m force-pushed the develop branch 7 times, most recently from b0cdbd6 to fa54613 Compare April 3, 2025 11:23
@raman-m raman-m force-pushed the develop branch 13 times, most recently from 908d84f to 0678e7a Compare April 19, 2025 15:13
@cda963
Copy link

cda963 commented May 1, 2025

Any news on this?

@raman-m
Copy link
Member

raman-m commented May 2, 2025

Hi @hogwartsdeveloper
When will you add tests, both unit and acceptance?

@coveralls
Copy link
Collaborator

coveralls commented May 2, 2025

Coverage Status

coverage: 85.804% (+0.05%) from 85.75%
when pulling 98c11bb on hogwartsdeveloper:issues-930
into e78fe42 on ThreeMammals:develop.

@raman-m raman-m added the high High priority label May 2, 2025
@raman-m raman-m changed the title WebSocket Destination state abort Close fix #930 Try to close WebSocket destination when state is Open or CloseReceived May 2, 2025
@raman-m raman-m deployed to build.cake May 2, 2025 11:47 — with GitHub Actions Active
@raman-m raman-m requested review from RaynaldM, raman-m and ggnaegi May 2, 2025 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Identified as a potential bug high High priority Spring'25 Spring 2025 release Websockets Ocelot feature: Websockets
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The WebSocket is in an invalid state (Aborted) for this operation. Valid states are: Open, CloseReceived
6 participants