Skip to content

Delete output paths after upload #1434

Description

@yorickvP

Currently, you hand off the output file to cog and then none of your code runs and the file gets left in place.
However, there's a class of bug where models can return outputs for previous predictions if some overwrite fails.

This also stops us from using tmp files as output files, since they never get deleted. Cog should probably delete those files (or even give the user a temp directory/overlay to work in).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestrustPull requests that update rust code

    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