Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement periodic job to clean up test data #717

Open
5 tasks
Ahmed-Ghanam opened this issue Feb 17, 2025 · 0 comments
Open
5 tasks

Implement periodic job to clean up test data #717

Ahmed-Ghanam opened this issue Feb 17, 2025 · 0 comments
Labels
kind/feature-request New feature or request

Comments

@Ahmed-Ghanam
Copy link
Contributor

Description

We need to implement a periodic job to clean up test data from the Notifications database to maintain a clean and efficient environment.

Additional Information

This cleanup job is crucial for sustaining system performance by preventing the accumulation of test data. It must be designed to operate automatically without disrupting system operations and should include safeguards to prevent the accidental deletion of non-test data.

Tasks

  • Define the criteria for test data

    • Identify what constitutes test data within our system.
    • Determine the age threshold for data to be considered for cleanup.
  • Implement the cleanup job

    • Develop a script or service that will run periodically.
    • Ensure the job can identify and delete test data based on the defined criteria.
  • Schedule the job

    • Utilize a scheduling tool (e.g., cron, Azure Functions) to execute the job at regular intervals.
    • Ensure the job runs without impacting system performance.
  • Testing and validation

    • Validate that the job does not delete any non-test data.
  • Documentation

    • Document the implementation details and configuration instructions for the job.

Acceptance Criteria

  • The periodic job runs successfully at the scheduled intervals.
  • Test data older than the specified threshold is deleted.
  • No non-test data is affected by the cleanup job.
  • Documentation is complete and clear.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature-request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant