Skip to content

Return errors over Assist WS#27174

Merged
jakule merged 4 commits intomasterfrom
jakule/assist-return-errors
Jun 7, 2023
Merged

Return errors over Assist WS#27174
jakule merged 4 commits intomasterfrom
jakule/assist-return-errors

Conversation

@jakule
Copy link
Copy Markdown
Contributor

@jakule jakule commented May 31, 2023

Return error messages via WebSocket as a message that a client can understand instead of closing the WS without saying what went wrong.

Updates https://github.com/gravitational/teleport.e/issues/1489

@jakule jakule force-pushed the jakule/assist-return-errors branch from b74d793 to b2bd553 Compare June 2, 2023 04:06
@jakule jakule added the assist label Jun 2, 2023
@jakule jakule marked this pull request as ready for review June 2, 2023 04:07
Comment thread lib/web/assistant_test.go Outdated
Comment thread lib/web/assistant.go Outdated
Comment thread lib/web/assistant.go Outdated
Comment thread lib/web/assistant_test.go Outdated
@jakule jakule force-pushed the jakule/assist-return-errors branch from b2bd553 to e70cccb Compare June 2, 2023 18:03
@jakule jakule requested a review from rosstimothy June 2, 2023 18:23
@jakule jakule force-pushed the jakule/assist-return-errors branch from e70cccb to f545956 Compare June 7, 2023 21:26
@jakule jakule added this pull request to the merge queue Jun 7, 2023
Merged via the queue into master with commit cd6b091 Jun 7, 2023
@jakule jakule deleted the jakule/assist-return-errors branch June 7, 2023 22:24
justinas pushed a commit that referenced this pull request Jun 16, 2023
* Return errors over Assist WS

* Add test

* Address code review comments
Add check for the close message in assist WS

* Use UTC for getting time
justinas added a commit that referenced this pull request Jun 19, 2023
* Return errors over Assist WS (#27174)

* Return errors over Assist WS

* Add test

* Address code review comments
Add check for the close message in assist WS

* Use UTC for getting time

* Gracefully handle errors in Assist frontend (#27669)

* Bump e to include teleport.e#1634

* Fix error assertions in the test

This test is removed altogether in #27075,
but that has not been backported yet.

---------

Co-authored-by: Jakub Nyckowski <jakub.nyckowski@goteleport.com>
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.

3 participants