Skip to content

Fix batch error reporting to show failed entity count - #24

Open
jjroelofs wants to merge 1 commit into
feature/centralized-batch-processingfrom
jur/feature/centralized-batch-processing/#21-fix-batch-error-reporting
Open

Fix batch error reporting to show failed entity count#24
jjroelofs wants to merge 1 commit into
feature/centralized-batch-processingfrom
jur/feature/centralized-batch-processing/#21-fix-batch-error-reporting

Conversation

@jjroelofs

Copy link
Copy Markdown
Contributor

Summary

Fixes #21. batchFinished() only reported the processed count via a success message. Failed entities were not shown, making it appear that entities were silently skipped (e.g. "successfully checked 5 entities" when 90 others failed due to rendering errors).

Changes

  • Report failed count as a separate error message
  • Show individual error details so the user knows which entities failed and why
  • Show a warning if no entities were processed at all

Test plan

  • Trigger an entity rendering error (e.g. recursive media reference), verify the failure appears as a named error
  • Run a successful batch, verify only the success message appears (no spurious failure count)

batchFinished() only reported the processed count via a success
message. Failed entities were not reported, making it appear that
entities were silently skipped (e.g. "successfully checked 5 entities"
when 90 others failed).

Report the failed count as a separate error message and show
individual error details so the user knows which entities failed.

Closes #21
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.

1 participant