Skip to content
This repository was archived by the owner on Oct 1, 2026. It is now read-only.
This repository was archived by the owner on Oct 1, 2026. It is now read-only.

Stage 7: Checker triggers — Emails on automatic transitions #176

Description

@bakhterets

Integrate notification enqueuing into the checker layer to send emails on automatic status transitions.

Files: internal/checker/maintenance.go, internal/checker/checker.go

Tasks:

  • Enqueue kind status_changed, actor checker.
  • Publish inside the winning optimistic-lock transaction only.
  • On version conflict, publish nothing.
  • One notification per real transition (no duplicates from backfill).
  • Verify: integration test for transition and conflict paths.

Deliverable: Checker triggers send notifications on automatic maintenance transitions.

Depends on: Stage 4: Notification core, Stage 5: Transaction-safe writes

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions