Tom Prince

Results 65 issues of Tom Prince

The current estimation of time is based on taking the average time for the crates that have been run in the current process. Since crates can vary significantly in how...

C-enhancement

This adjust `eliot_friendly_generator_function` to handle the use case of #472 but doesn't do the work of exposing it to users.

Fixes #449. I'm not sure if this a great solution, but it appears to fix the issue by letting Failure's stack walking find the right context. When an inlineCallback completes...

There is the private `eliot_friendly_generator_function`, which is almost what I need, but it initializes the context on the first call of `next`/`send`, rather than on creation. My use cases is...

It appears that it will serialize all messages, until the first one that does not validate, or none, if there are unflushed tracebacks.

bug

Instead of forcing the caller to create the appropriate context.

Perhaps by specifying the key to log to? This is particularly useful, since there isn't an easy way to call a function in a callback, without disturbing the response. (https://twistedmatrix.com/trac/ticket/6292)

- It is impossible to run the logs through `eliot-tree` otherwise. - It masks log messages that can't be logged as JSON. (This should probably actually result in a trial...

Given ``` diff diff --git a/flocker/node/agents/blockdevice.py b/flocker/node/agents/blockdevice.py index 540fcac..a97d000 100644 --- a/flocker/node/agents/blockdevice.py +++ b/flocker/node/agents/blockdevice.py @@ -1116,6 +1184,7 @@ class BlockDeviceDeployerLocalState(PClass): These are the only parts of the state that need...

bug