Skip to content

[NO-JIRA] Alert goose coordinator on upstream-sync.yml failures and 3-day silence - #1080

Merged
johnnymo87 merged 2 commits into
mainfrom
goose-sync-watch
Dec 2, 2026
Merged

johnnymo87 merged 2 commits into
mainfrom
goose-sync-watch

Conversation

@johnnymo87

Copy link
Copy Markdown
Owner

Description

Adds goose-sync-watch and an hourly cloudbox systemd user timer (goose-sync-watch.timer) so failures or 3-day silence in johnnymo87/goose upstream-sync.yml (L1) wake the goose program coordinator via pigeon /swarm/send instead of failing silently.

  • Queries johnnymo87/goose upstream-sync.yml scheduled runs (event=schedule&per_page=100) via gh api using /run/secrets/github_api_token.
  • Alerts the goose coordinator (resolved dynamically via coordinator goose) over pigeon /swarm/send (no Slack) for failed, timed-out, or cancelled scheduled runs, deduplicated by (run_id, run_attempt) in ~/.local/state/goose-sync-watch/state.json.
  • Also covers the L1 dead-man half (no successful scheduled run in >3 days, 24h cooldown) decoupled from L3b (workstation-6w7i.27.9), and stamps ~/.local/state/goose-sync-watch/last-success on healthy ticks.
  • Suppresses rehearsal noise (test-* prefixes and workflow_dispatch by default) and provides --replay-run-id <id> --dry-run for proof/testing.
  • Adds 24 unit tests wired into flake.nix (checks.aarch64-linux.goose-sync-watch).

References

  • Bead workstation-6w7i.27.19 (epic workstation-6w7i.27, L7 dead-man workstation-6w7i.27.7)

@johnnymo87
johnnymo87 enabled auto-merge (squash) December 2, 2026 23:20
@johnnymo87
johnnymo87 merged commit bb0b1a4 into main Dec 2, 2026
2 checks passed
@johnnymo87
johnnymo87 deleted the goose-sync-watch branch December 2, 2026 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant