rubyforgood / human-essentials

Human Essentials is an inventory management system for diaper, incontinence, and period-supply banks. It supports them in distributing to partners, tracking inventory, and reporting stats and analytics.
https://humanessentials.app
MIT License
436 stars 449 forks source link

Clean up incorrect request statuses that have a distribution [#4275] #4370

Closed awwaiid closed 1 month ago

awwaiid commented 1 month ago

Validated by pulling down a production snapshot and running locally.

There are only 6 records that are fixed by this data cleanup, affecting helping_moms, sweetcheeks, and franciscan.

cielf commented 1 month ago

When I look at prod, I see 7 that should be fixed (status 1 and have a distribution ID ). What am I missing?

awwaiid commented 1 month ago

@cielf my prod snapshot was old, I just now ran it and also got 7 rather than 6. There is a new one from 2024-04-15. So .... I guess that means this can still happen?

cielf commented 1 month ago

Yeah. Let's make that investigating that a separate issue. It's uncommon, but there's some way to make it happen!

Noting that we'll also want to send a communication to the 3 affected banks.

cielf commented 1 month ago

The issue with setup is blocking me from doing a proper check on this. It's high on my list, though.

github-actions[bot] commented 1 month ago

@awwaiid: Your PR Clean up incorrect request statuses that have a distribution [#4275] is part of today's Human Essentials production release: 2024.05.26. Thank you very much for your contribution!