Skip to content

keeper: graceful shutdown and in-flight round draining in watch mode #152

Description

@karagozemin

Summary

services/keeper watch mode should handle SIGINT/SIGTERM by finishing any in-flight reveal/settle operation before exiting, instead of terminating mid-transaction.

Motivation

Killing the keeper mid-settle can leave a round in an ambiguous state and require manual recovery.

Acceptance criteria

  • Signal handler that stops picking up new rounds and waits for the current one to complete (with a timeout).
  • Structured log line on shutdown start/finish.
  • Test simulating a shutdown signal during a queued round.
  • README note on operational behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26area: keeperPermissionless keeper servicecomplexity: mediumExpected medium implementation complexityenhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions