Skip to content

fix: add defensive checks for queue emptiness and add queue cleanup functions - #64

Merged
brancengregory merged 4 commits into
mainfrom
test
Feb 18, 2026
Merged

brancengregory merged 4 commits into
mainfrom
test

Conversation

@brancengregory

Copy link
Copy Markdown
Member
  • fix(queue): remove 14-day retention for completed queue entries
  • feat(queue): add function to reset stuck queue items
  • fix(dashboard): handle empty queue in entry detail module
  • fix: handle empty queue and null case values in dashboard

Closes #63

- resets cases stuck in 'working' status for over an hour
- respects max retry limit of 3 attempts
- integrated into run_job workflow
- prevent crash when no cases are available
- show diagnostic message with queue count for troubleshooting
- add null/na checks in entry detail, address entry, and documents
modules
- make get_case_from_queue return null instead of na when queue is empty
- cache case_id variable to avoid repeated reactive calls
@brancengregory brancengregory changed the title fix: add defiensive checks for queue emptiness and add queue cleanup functions fix: add defensive checks for queue emptiness and add queue cleanup functions Feb 18, 2026
@brancengregory
brancengregory merged commit 07e338e into main Feb 18, 2026
4 checks passed
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.

Error in queue/new case box on dashboard

1 participant