canonical / canonical/jhack

`jhack tail` produces lots of "not found in history... simulating one" lines with Juju 4

Open
#232 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
60
Forks
31
Avg merge
2d 15h
Merged PRs (30d)
1

Description

### Bug Description

```
Listening for events...ERROR:jhack./home/ubuntu/.local/share/uv/tools/jhack/lib/python3.11/site-packages/jhack/utils/tail_charms/core/processor.py:mysql-k8s/0:mysql_pebble_ready not found in history... simulating one.
ERROR:jhack./home/ubuntu/.local/share/uv/tools/jhack/lib/python3.11/site-packages/jhack/utils/tail_charms/core/processor.py:mysql-k8s/1:mysql_pebble_ready not found in history... simulating one.
ERROR:jhack./home/ubuntu/.local/share/uv/tools/jhack/lib/python3.11/site-packages/jhack/utils/tail_charms/core/processor.py:mysql-k8s/2:mysql_pebble_ready not found in history... simulating one.
ERROR:jhack./home/ubuntu/.local/share/uv/tools/jhack/lib/python3.11/site-packages/jhack/utils/tail_charms/core/processor.py:mysql-k8s/0:config_changed not found in history... simulating one.
ERROR:jhack./home/ubuntu/.local/share/uv/tools/jhack/lib/python3.11/site-packages/jhack/utils/tail_charms/core/processor.py:mysql-k8s/2:config_changed not found in history... simulating one.
```

### To Reproduce

(TBC)

### Environment

```
juju info v0.1
┌──────────────┬───────────────────────────────────────────────────────────────┐
│ jhack │ 0.4.4.0.24 │
│ python │ 3.11.14 (/home/ubuntu/.local/share/uv/tools/jhack/bin/python) │
│ juju-* snaps │ juju │ 4.0.0 - 33191 (4.0/stable) │
│ microk8s │ Not Installed. │
│ lxd │ 5.21.4 LTS │
│ multipass │ Not Installed. │
│ multipassd │ Not Installed. │
│ os │ Ubuntu 24.04.3 LTS │
│ kernel │ Linux 6.8.0-88-generic x86_64 │
└──────────────┴───────────────────────────────────────────────────────────────┘
```

### Relevant log output

```shell
(See above)
```

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.