Skip to content

Fix/600 improve process item deletion error handling#632

Open
neilcroft wants to merge 1 commit into
suitenumerique:mainfrom
neilcroft:fix/600-improve-process-item-deletion-error-handling
Open

Fix/600 improve process item deletion error handling#632
neilcroft wants to merge 1 commit into
suitenumerique:mainfrom
neilcroft:fix/600-improve-process-item-deletion-error-handling

Conversation

@neilcroft
Copy link
Copy Markdown
Contributor

@neilcroft neilcroft commented Mar 31, 2026

Purpose

Stale pending items cleaned up by clean_pending_items were removed from the database but their files were left behind on the object storage, leading to orphan files accumulating
over time.

Closes #600

Proposal

Soft-delete then hard-delete pending items, then schedule process_item_purge to clean both the storage file and the database record

@neilcroft neilcroft force-pushed the fix/600-improve-process-item-deletion-error-handling branch from becc1c1 to c74b116 Compare March 31, 2026 13:53
@sonarqubecloud
Copy link
Copy Markdown

Use process_item_purge to delete stale pending items so
that eventual files on the storage are also removed.

Closes suitenumerique#600
@neilcroft neilcroft force-pushed the fix/600-improve-process-item-deletion-error-handling branch from c74b116 to 2df020a Compare April 30, 2026 14:03
@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve error handling of process_item_deletion

1 participant