Allow pausing and resuming of the worker#229
Conversation
Codecov Report
@@ Coverage Diff @@
## main #229 +/- ##
==========================================
- Coverage 89.06% 88.57% -0.50%
==========================================
Files 41 41
Lines 1271 1339 +68
==========================================
+ Hits 1132 1186 +54
- Misses 139 153 +14
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
tpoliaw
left a comment
There was a problem hiding this comment.
It doesn't feel very RESTy to use query parameters for the payload of a PUT request. Should it be a {"status": "pause", "defer": true} body instead?
| '404': | ||
| description: Not Found | ||
| item: not found | ||
| detail: item not found |
There was a problem hiding this comment.
This is the same as the 404 message returned when a KeyError or ValueError is thrown. Using it as a standard will probably save us time later on.
|
|
||
|
|
||
| @pytest.fixture(scope="session") | ||
| @pytest.fixture |
There was a problem hiding this comment.
scope="session" left state hanging around, its inclusion was due to a misunderstanding of fixtures.
rosesyrett
left a comment
There was a problem hiding this comment.
just a few questions/comments
No description provided.