Skip to content

Spot-reclaim and capacity-wait requeues fail at parameter serialization (make_interval infers float8) #1383

Done

Description

@athvin

Found by the #561 spot-reclaim proof on er-dev (2026-11-29). A runner node was drained under a running reconcile task. The executor saw the disruption and called requeue_launch, and every call failed:

WARN requeueing the row failed  er.task_instance_id=13b02390…  error="error serializing parameter 0"

The try stayed running with no pod. requeue_launch and capacity_wait both pass $wait_secs (declared bigint, bound as i64) into make_interval(secs => …), where Postgres infers float8. The disruption retry and the capacity wait have both been broken since they were written. No test executed either statement.

Done when both statements cast the parameter and a pg test executes both.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions