Skip to content
Snippets Groups Projects
  1. Sep 06, 2022
    • vlorentz's avatar
      Return HTTP 503 on AioRpcError · fcca8787
      vlorentz authored
      AioRpcError exceptions used to trigger the default error handler
      of SWH's RPC framework, which msgpacks the exception.
      
      Under some circumstances, this caused the msgpack to hit
      recursion limits, and logged very large errors to Sentry.
      
      Additionally, SimpleTraversalView now calls wait_for_connection()
      before returning 200; which allows catching some gRPC errors early
      and returning 503 instead.
      
      This does not work all the time though; gRPC errors occuring in the
      middle of the stream still raise `ChunkedEncodingError` on the client
      side, but there is not much we can do about that.
      v1.0.2
      fcca8787
    • vlorentz's avatar
      Kill GraphServerProcess on test teardown · 4a7f3f76
      vlorentz authored
      There is no reason to terminate it nicely.
      4a7f3f76
    • vlorentz's avatar
      conftest: Refactor GraphServerProcess to be more flexible · 81d3deb2
      vlorentz authored
      1. queue is now encapsulated
      2. object in the queue is now a dict instead of a tuple (to allow
         adding more keys easily in the future + for readability)
      
      This will be used in a future commit, to get the queue's object
      twice from different functions.
      81d3deb2
  2. Sep 05, 2022
  3. Aug 30, 2022
  4. Jun 30, 2022
  5. Jun 29, 2022
  6. Jun 24, 2022
  7. Jun 23, 2022
  8. Jun 22, 2022
  9. Jun 15, 2022
Loading