Leon

Results 48 comments of Leon

My bad, seems like `storage.tsdb.retention.size` is currently using **legacy binary** notation. Is that correct? ![image](https://user-images.githubusercontent.com/82407168/171034717-5625b570-2ed6-490f-a23a-127e1eb39611.png) but seems like `alecthomas/units` supports all three to some extent. Other than "kB" and "KB",...

I am new to mutmut and to mutation testing so I am not familiar with the internals. I was thinking: - Mutations are divided into categories, e.g. "off by one",...

Another regression in this update is stop-start behavior of the fans: at

There are two decision points I can think of: 1. exit right away if the expected memory is more than available (excluding swap) 2. exit if actual refresh rate exceeds...

fwiw, alertmanager has a `_common_exit_hook` because all alertmanager units need to know the address of at least one other unit, and prometheus needs to know them all (over relation data):...

Due to the complexity involved in charming stuff up, and in an attempt to keep things simple (dependency pattern is not simple), afaik, "one event to rule them all" is...

> In general I think just adding more special "Harness.simulate_sequence_[foo]" methods will not necessarily be the best/scalable approach. I agree in general but in my mind `upgrade` is in the...

> `begin_with_initial_hooks`' existence itself is considered controversial by some I get that, but when a test can be a unit test or an integration test, I'd rather it be a...

Side note: a [hypothesis extension](https://hypothesis.readthedocs.io/en/latest/strategies.html) for harness could be very interesting for test scalability and coverage. Silly example: ```python from ops.testing.strategy import happy_path from hypothesis import given @given(sequence=happy_path(...)) def test_startup(self,...

Reduced scope to reinitialize only. This now feels a bit confusing: - What does reinitialize mean outside the context of an upgrade? - Should statuses, relations, relation data be retained...