Skip to content

Bug: failed recording leaves an empty dataset directory behind #112

Description

@ravediamond

handle_start_recording writes the dataset directory (meta/info.json etc.) as soon as recording starts, before the first episode is actually captured. If something fails right away — camera drop, arm disconnect — before any episode gets saved, that directory is left on disk. It shows up in the local dataset list and picker even though nothing was actually recorded.

Should clean up the dataset directory when a recording fails with 0 saved episodes (and it wasn't resuming an existing dataset — don't want to touch a dataset that already had data in it).

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions