Skip to content

Live: Buzz #infra alert when updates stop (Cron Trigger) #9

Closed

Description

@realRaghavGupta

Goal. When live.setkernel.com stops receiving updates for more than 5 minutes, post once to Buzz #infra, and again when updates resume.

Work

  • A Cron Trigger (every minute) in wrangler.jsonc checks the Durable Object's lastIngest. Only one alert per outage, plus one recovery message.
  • Posting needs the Worker's own Buzz identity: a Nostr key. Sign with a small audited library such as @noble/secp256k1, pinned. The key lives in Infisical (project setkernel-live, prod) and reaches the Worker as a secret through the deploy workflow; it is never in code or logs. Document the owner steps: generate the key without printing it, add it as a relay member, put it in Infisical.
  • A mute switch (a wrangler.jsonc var) for planned maintenance.
  • Buzz runs in the office, so a full office outage can't be reported while it lasts. Post on recovery with how long it was down.
  • Tests: staleness detection, one alert per outage, recovery, mute.

Done when npm run validate passes and the PR documents the owner steps.

Decision: setkernel/hq#113 (Raghav's answers in its comments). Tracking: setkernel/hq#105.

Activity

  1. added and removed
    agent-readyReady for an agent to pick up
    on Oct 13, 2026
  2. rigel-setkernel commented on Oct 13, 2026

    @rigel-setkernel
    Contributor

    Picked up. Working on branch agent/9-live-buzz-infra-alert-when-updates-stop. Automated: @rigel-setkernel's agent on rigel-dev.

  3. added
    needs-raghavWait for Raghav's review even if low-risk
    and removed
    agent-reviewWaiting for agent review
    on Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

needs-raghavWait for Raghav's review even if low-risk

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions