Results 203 issues of Dima Tisnek

### Description At some point during the deployment, app status matched the worst unit status: ```command ubuntu@ip-172-31-42-233:~/jgol/peer$ juju status Model Controller Cloud/Region Version SLA Timestamp testing concierge-k8s k8s 3.6.11 unsupported...

kind/bug
3.6
state/incomplete

James and I examined some of our uses of `typing.cast` and it seems that many cases can be rewritten to be more explicit. For example, here `self._is_leader` is validated above,...

rainy day

From: https://github.com/canonical/operator/issues/1757 Ref: https://github.com/canonical/opentelemetry-collector-k8s-operator/issues/143 When there's a config option to deploy OTEL collector to dump trace data into a file, we should add an integration testing example in our tracing...

docs
26.04
rainy day

The comment states: ```py # Note that ssl.create_default_context() doesn't allow setting the context.protocol in a # way that's the same across Python 3.8 and 3.10 onwards. Whip the context up...

small item
refactoring
26.04
rainy day

Our official solution correctly goes into the blocked state when not integrated with PostgresSQL. When it is integrated, it's all too eager to get to work... even when Postgres is...

26.04
rainy day

[test/test_pebble.py](https://github.com/canonical/operator/pull/1967/files/7c4bd420c772a1af8c3aa5262b6a8948e9df7e52#diff-4cce6d8f9579f921ed13f437c91fcffb7a763b7930c8d6b15c3d6613f4a8ce8d) ```diff @@ -4030,7 +4030,7 @@ def test_local_identity_from_dict(self): def test_local_identity_from_dict_with_access_enum(self): identity = pebble.Identity.from_dict({ 'access': pebble.IdentityAccess.ADMIN, 'access': pebble.IdentityAccess.ADMIN, # type: ignore ``` Member Author @[dimaqq](https://github.com/dimaqq) dimaqq [4 days ago](https://github.com/canonical/operator/pull/1967#discussion_r2262146198) This is...

26.04
rainy day

It's an awesome tool: - get live deployments in an interesting state - run the tool - it produces Sceanario state and context that matches live - continue developing much...

docs
small item
26.04
rainy day

We've switched to monorepo, but pre-commit got left behind. Today it looks like: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.11.2 hooks: - id: ruff E args: [ --preview ] # E:...

26.04
rainy day

Today, a charm would call: ```py self._amf_container = self.unit.get_container(self._amf_container_name) ... if not self._amf_container.can_connect(): ... ``` Which is: ```py def can_connect(self) -> bool: try: self._pebble.get_system_info() ... ``` Which is: ```py def...

small item
26.04
rainy day

``` Run if [ -e "test-requirements.txt" ]; then Creating virtualenv non-package-mode-0BGEE6m2-py3.12 in /home/runner/.cache/pypoetry/virtualenvs Updating dependencies Resolving dependencies... Because no versions of ops match >2.17.0,2.17.1,2.18.0,2.18.1,2.19.0,2.19.4,2.20.0,2.21.0,2.21.1,2.22.0,2.23.0,=2.17.0,2.17.1,2.18.0,2.18.1,2.19.0,2.19.4,2.20.0,2.21.0,2.21.1,2.22.0,2.23.0,=2.17.0,2.18.1,2.19.0,2.19.4,2.20.0,2.21.0,2.21.1,2.22.0,2.23.0,=2.17.0,2.19.4,2.20.0,2.21.0,2.21.1,2.22.0,2.23.0,=2.17.0,2.21.0,2.21.1,2.22.0,2.23.0,=2.17.0,2.22.0,2.23.0,=2.17.0,

26.04
rainy day