Skip to content

rust: retry transient executor HTTP responses without fencing #963

Closed

Description

@athvin

Evidence

Work-order and start requests classify every non-200 response, including 500/503, as permanent stale_start. Heartbeats treat every non-200 as an immediate fence. The server can return 500 on database faults; 409 is the actual fence response. Source.

Change

Classify authoritative refusals separately from transient server failures. Retry transient work-order/start responses within a bounded window and apply the heartbeat miss budget before fencing.

Done when

  • 409 remains terminal at the appropriate call sites.
  • 500/503 at work-order, start, and heartbeat follow bounded retry behavior.
  • A transient 500 no longer reports stale_start or immediately fences a running task.

Activity

  1. added
    code-cleanup
    on Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    code-cleanup

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions