Skip to content

[Enhancement] Refactoring the z_status for zim_tasks table to include DELETED flag #1100

@Best2Two

Description

@Best2Two

Why are we treating the file’s deletion status on the serverless side as detached from the database? This introduces inconsistency and adds extra logic throughout the codebase. For example, we now have conditions like isDeleted && status == 'FILE_READY'. Shouldn’t we refactor this to include a DELETED status in the database, especially if the record is going to remain in the database after it's deletion anyway?

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