add graphql websocket subsciption tests - #768
Conversation
a0653ed to
8738722
Compare
de961c1 to
3503725
Compare
There was a problem hiding this comment.
LGTM, one question (see comment).
This pushes code coverage in the right direction 👍:
There are still a few gaps:
- Would be good to cover error handling, e.g, GraphQL validation errors.
- Would be good to cover more of the websocket subprocotocol (though note that we will change subprotocol soon)
- Would be good to cover connection termination (as this is something we've had issues with).
Yes, this is a work in process, I'll keep expanding the tests here (hopefully until 85% project coverage at min) |
3503725 to
e1c4e1f
Compare
1627744 to
5710e81
Compare
|
83% project coverage 🥇 Ping me when you want a review. |
Just need to bump up the websocket/subscription side of things first. |
aa4cf1c to
a212c89
Compare
|
@oliver-sanders - I think this will do for now, there's some more that could be done with the subscription handler.. But we might as well get this in as a first step for people to build on. |
|
(shifting this onto the 1.9.0 milestone as there are functional code changes) |
FYI: We'll be looking to release 1.9.0 shortly once the new Cylc Review is in, would be great to merge this pre-release. |
|
(Codecov sometimes jitters, I think test re-runs can cause it, a fresh run fixes it) |
f579490 to
f37416b
Compare
f37416b to
663a478
Compare
Co-authored-by: Ronnie Dutta <61982285+MetRonnie@users.noreply.github.com>
|
Kicking tests |
33b977c to
111aaeb
Compare
|
@dwsutherland, have pushed some lint fixes to this branch in order to nudge this forward. |
Adds an integration test for testing the graphql subscriptions via websocket connection.
Check List
CONTRIBUTING.mdand added my name as a Code Contributor.setup.cfg(andconda-environment.ymlif present).?.?.xbranch.