Skip to content

task run Spot→on-demand fallback drops StorageScript and TaskFlushScript #1144

Closed

Description

@scttfrdmn

Split from #1133.

Found in code while writing the tasks guide for spore-host/spore-host#585 part 3. 2 and 3 come from reading the code; none were run on AWS.

  1. Spot→on-demand fallback launches without the task's storage and flush hook. The first Provision passes StorageScript and TaskFlushScript (cmd/task.go:587-590), but the retry passes launcher.Options{} (:596). A fallback instance loses its EFS/FSx/volume mounts and the terminal flush that writes a completion record on a TTL kill.

Gate:

  • (3): both Provision calls must get the same Options.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions