snix/ops
Oleksandr Knyshuk 8d0ae4f7ae feat(ops/gerrit-webhook-to-irccat): notify when CLs are undrafted
- Extend the notification template to handle `wip-state-changed` events where a change is undrafted (i.e., `.Change.Wip` is false or not present).
- Add test cases for undrafting (should notify) and re-drafting (should not notify).
- Ensure correct handling of `.Changer.Username` for undraft notifications.
- Update Go module dependencies for test coverage. (`go mod tidy`)

This allows the IRC bot to notify when a change is moved out of
WIP/draft state, improving visibility for ready-for-review CLs.

Fixes #167.

Change-Id: I6a6a69642369726c3bd9f523ae025c34dba8c4aa
Reviewed-on: https://cl.snix.dev/c/snix/+/30641
Reviewed-by: Oleksandr Knyshuk <olk@disr.it>
Tested-by: besadii
Reviewed-by: Florian Klink <flokli@flokli.de>
2025-08-04 12:50:22 +00:00
..
besadii doc(ops/besadii): update docstring 2025-05-02 01:11:06 +00:00
buildkite feat(*): initialize new Snix infrastructure 2025-03-17 17:15:07 +00:00
buildkite-api-proxy feat(ops/buildkite-api-proxy): init 2025-05-03 22:36:42 +00:00
dashboards fix(treewide): add missing final newlines 2025-03-21 13:33:32 +00:00
dns feat(ops/dns): manage snix.{store,systems} in DO 2025-05-12 14:39:47 +00:00
gerrit-autosubmit chore: finish migration to 2024 edition 2025-08-03 20:10:05 +00:00
gerrit-tvl fix(ops/gerrit-tvl): query buildkite-status endpoint and re-enable 2025-05-03 22:49:43 +00:00
gerrit-webhook-to-irccat feat(ops/gerrit-webhook-to-irccat): notify when CLs are undrafted 2025-08-04 12:50:22 +00:00
hcloud fix(ops): delete email config for now 2025-03-18 21:52:06 +00:00
hetzner-s3 feat(*): initialize new Snix infrastructure 2025-03-17 17:15:07 +00:00
keycloak feat(ops/keycloak): configure Buildkite SAML 2025-05-05 12:36:30 +00:00
machines feat(ops/machines/*01): install kitty terminfo 2025-07-29 11:47:25 +00:00
modules fix(ops/gerrit): send mail with the triggering user's name on it 2025-07-28 20:34:03 +00:00
pipelines fix(ops): add +x for /nix/var/nix/gcroots 2025-03-23 15:02:22 +00:00
secrets feat(ops/meta01): deploy irccat 2025-05-15 14:31:42 +00:00
users refactor(ops): use ops.users for ssh keys consistently 2025-03-20 12:21:44 +00:00
nixos.nix refactor(ops/machines/snix-cache): use new snix.store domain 2025-05-07 21:03:57 +00:00