Parts 1 and 5 of #42. Parts 2–4 (clear notes, checking Thor first, dedup_key) come later, so this doesn't close#42.
Title tag and footer (part 1)
Titles now follow the wiki format [source][auto][app][area] Summary [scope][environment][type], e.g. [node][auto][hwmon][hardware] Drive X has SMART issues [single-node][production][problem].
Descriptions end with Reported automatically by hwmonDaemon on <host>.
No ticket is re-keyed. Checked against tinker_tickets helpers/TicketHash.php on main:
It isn't one of the environment tags the hash keeps.
Network keys already strip bracketed tags.
Tinker updates an open duplicate's title silently (create_ticket_api.php), so open hwmon tickets will pick up the new title on their next report without a comment.
Per-check switches (part 5)
CPU_ENABLED, LXC_STORAGE_ENABLED and NETWORK_ENABLED in /etc/hwmonDaemon/.env. All default to on, so nothing changes until one is flipped.
Off means no tickets, not no check. The check still runs and reports its metrics (dry-run summary, Prometheus, details in other tickets). It just doesn't open tickets or count toward P1 escalation. That fits the migration plan: Thor goes live, adopts the open tickets, and the switch goes off in one change, so there's never two writers.
A typo can't turn a check off. Accepted values are true/false, 1/0, yes/no and on/off. Anything else logs a warning and leaves the switch as it was.
CEPH_ENABLED is unchanged and still skips the Ceph check entirely.
When any switch is off, the dry-run summary lists it.
The README documents the switches and the title format.
Testing
pytest: 137 passed (18 new). flake8 is clean.
The new tests cover:
the title tag on single-node and cluster-wide tickets, and the footer
each switch turning off only its own tickets
switched-off checks not escalating other tickets
ECC tickets unaffected with every switch off
.env parsing, including a typo leaving the check on
A real --dry-run on a Proxmox node runs cleanly, but that node had no issues to ticket, so the new title hasn't been seen on a live ticket yet.
Parts 1 and 5 of #42. Parts 2–4 (clear notes, checking Thor first, `dedup_key`) come later, so this doesn't close #42.
## Title tag and footer (part 1)
- Titles now follow the wiki format `[source][auto][app][area] Summary [scope][environment][type]`, e.g. `[node][auto][hwmon][hardware] Drive X has SMART issues [single-node][production][problem]`.
- Descriptions end with `Reported automatically by hwmonDaemon on <host>.`
**No ticket is re-keyed.** Checked against tinker_tickets `helpers/TicketHash.php` on `main`:
- The first tag is still the host or cluster.
- `hwmon` matches no category keyword (smart, ZFS, LXC, memory, cpu, network, ceph).
- It isn't one of the environment tags the hash keeps.
- Network keys already strip bracketed tags.
Tinker updates an open duplicate's title silently (`create_ticket_api.php`), so open hwmon tickets will pick up the new title on their next report without a comment.
## Per-check switches (part 5)
`CPU_ENABLED`, `LXC_STORAGE_ENABLED` and `NETWORK_ENABLED` in `/etc/hwmonDaemon/.env`. All default to on, so nothing changes until one is flipped.
- **Off means no tickets, not no check.** The check still runs and reports its metrics (dry-run summary, Prometheus, details in other tickets). It just doesn't open tickets or count toward P1 escalation. That fits the migration plan: Thor goes live, adopts the open tickets, and the switch goes off in one change, so there's never two writers.
- **A typo can't turn a check off.** Accepted values are `true`/`false`, `1`/`0`, `yes`/`no` and `on`/`off`. Anything else logs a warning and leaves the switch as it was.
- `CEPH_ENABLED` is unchanged and still skips the Ceph check entirely.
- When any switch is off, the dry-run summary lists it.
- The README documents the switches and the title format.
## Testing
- `pytest`: 137 passed (18 new). `flake8` is clean.
- The new tests cover:
- the title tag on single-node and cluster-wide tickets, and the footer
- each switch turning off only its own tickets
- switched-off checks not escalating other tickets
- ECC tickets unaffected with every switch off
- `.env` parsing, including a typo leaving the check on
- A real `--dry-run` on a Proxmox node runs cleanly, but that node had no issues to ticket, so the new title hasn't been seen on a live ticket yet.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Part 1 of #42: titles now carry the reporting app,
[source][auto][hwmon][area] Summary [scope][env][type], and descriptions end
with a footer naming hwmonDaemon and the host. Checked against Tinker's
TicketHash.php: the tag matches no category keyword, isn't an environment
tag, and network keys already strip bracketed tags, so no existing ticket is
re-keyed. Tinker updates the title of an open duplicate silently.
Part 5 of #42: CPU_ENABLED, LXC_STORAGE_ENABLED and NETWORK_ENABLED in
/etc/hwmonDaemon/.env, default on. Off means the check still runs and reports
metrics but opens no tickets and doesn't count toward P1 escalation, so each
check can be handed to thor with no gap and never two writers. An
unrecognised value logs a warning and leaves the check on.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Parts 1 and 5 of #42. Parts 2–4 (clear notes, checking Thor first,
dedup_key) come later, so this doesn't close #42.Title tag and footer (part 1)
[source][auto][app][area] Summary [scope][environment][type], e.g.[node][auto][hwmon][hardware] Drive X has SMART issues [single-node][production][problem].Reported automatically by hwmonDaemon on <host>.No ticket is re-keyed. Checked against tinker_tickets
helpers/TicketHash.phponmain:hwmonmatches no category keyword (smart, ZFS, LXC, memory, cpu, network, ceph).Tinker updates an open duplicate's title silently (
create_ticket_api.php), so open hwmon tickets will pick up the new title on their next report without a comment.Per-check switches (part 5)
CPU_ENABLED,LXC_STORAGE_ENABLEDandNETWORK_ENABLEDin/etc/hwmonDaemon/.env. All default to on, so nothing changes until one is flipped.true/false,1/0,yes/noandon/off. Anything else logs a warning and leaves the switch as it was.CEPH_ENABLEDis unchanged and still skips the Ceph check entirely.Testing
pytest: 137 passed (18 new).flake8is clean..envparsing, including a typo leaving the check on--dry-runon a Proxmox node runs cleanly, but that node had no issues to ticket, so the new title hasn't been seen on a live ticket yet.🤖 Generated with Claude Code