Skip to content

Bug fixes & doc update - #74

Merged
AndWeHaveAPlan merged 2 commits into
mainfrom
bug-fixes
Sep 14, 2026
Merged

AndWeHaveAPlan merged 2 commits into
mainfrom
bug-fixes

Conversation

@AndWeHaveAPlan

Copy link
Copy Markdown
Collaborator

Fixes

  • Poller: per-tray failures (SetJob/DeleteTray/scaling) are logged and counted instead of returned, so one transient error no longer tears down the GitHub session and drops job events. New metric use: cattery_scaleset_poll_errors
  • Leader election: restarter and stale-tray cleanup now run under leases (cattery-restarter, cattery-stale-trays) instead of on every replica
  • Lease renewal: transient renew errors keep leadership until the TTL lapses; a stalled or failing store steps down exactly at expiry (no more split-brain window)
  • Nomad: insecure: true (unquoted) was ignored; now parsed with ParseBool

Docs & examples

  • README, docs/configuration.md: fixed stale-cleanup description, config search order, /agent/download route, provider list, Go version, App permissions; documented stale and coordination; removed unused namePrefix/project tray fields; maxTrays marked required; agentSecret marked as not yet supported by the agent
  • examples/example-config.yaml now loads (bad provider/org references, dead keys). example.md rewritten for the scale-set flow. Dockerfile-cattery-tiny builds with Go 1.26 (multi-stage)

@AndWeHaveAPlan
AndWeHaveAPlan merged commit e36993b into main Sep 14, 2026
11 checks passed
@AndWeHaveAPlan
AndWeHaveAPlan deleted the bug-fixes branch September 14, 2026 10:51
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.

2 participants