Real-Dev-Squad / website-backend

The backend code for all our website-related apps
https://api.realdevsquad.com/
MIT License
44 stars 200 forks source link

2005 reimplement orphan tasks filteration logic #2013

Closed MehulKChaudhari closed 2 months ago

MehulKChaudhari commented 2 months ago

Date: 13/04/2024

Developer Name: @MehulKChaudhari


Issue Ticket Number

Description

Reimplement the logic to filter the orphan tasks, now we have a separate cron job and API to filter the orphan tasks but we should do it when we are marking user archived: true. we are reimplementing this so that we have data consistency, with the current implementation there might be a case where the user is archived earlier and their undone tasks are not marked BACKLOG till the next corn runs to filter the tasks.

Documentation Updated?

Under Feature Flag

Database Changes

Breaking Changes

Development Tested?

Test Coverage

image

Additional Notes

This is a re-implementation of - https://github.com/Real-Dev-Squad/website-backend/pull/1996