Skip to content

Conversation

@Mahmoud-Emad
Copy link
Collaborator

Description

Enhance health check endpoint with service status

Changes

  • Added comprehensive health check API endpoint to monitor database, Redis, Celery, and email service availability.
  • Provides detailed status and connection information for each service.
  • Improves system monitoring and troubleshooting capabilities.
  • Renamed celery task lock_balance to lock_balances for clarity.

Related Issues

Checklist

  • Tests included
  • Build pass
  • Documentation
  • Code format and docstrings
  • Screenshots/Video attached (needed for UI changes)

- Added comprehensive health check API endpoint to monitor database,
  Redis, Celery, and email service availability.
- Provides detailed status and connection information for each service.
- Improves system monitoring and troubleshooting capabilities.
- Renamed celery task `lock_balance` to `lock_balances` for clarity.
- Update the `lock_balance` task to lock transferred balances on
  April 1st instead of March 1st to correctly reflect the balance
  transfer process.
- Modify the `lock_balance` task to lock balances for the previous
  year instead of the current year.
- Improve the `lock_balance` task to return the processed year and
  the count of locked balances.
- Improve the `reset_balance` task to handle new year balances more
  efficiently.
- Enhance the `lock_old_balances` management command to support
  both locking and unlocking balances and  provide a dry run option.
@Mahmoud-Emad Mahmoud-Emad merged commit 1f01f49 into development Mar 24, 2025
2 checks passed
@Mahmoud-Emad Mahmoud-Emad deleted the development_health branch March 24, 2025 13:23
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.

2 participants