Azure / Azure/azure-sdk-tools

Create a garbage collector for old Draft events

Open
#3,898 2 comments 0 reactions 0 assignees View on GitHub
Scheduling tool
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 1h
Merged PRs (30d)
143

Description

When any user clicks the button to create a new meeting, a new record is created in the Event tables with the `State` set to `DRAFT`. These records will stay forever in there if we don't clean them.

We should have a flow that works like a garbage collector, each day, it should delete old records that are still in DRAFT mode.

I'm thinking about deleting any draft that is 30 days or older.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by locating the Event tables and the existing mechanism for daily maintenance, then define completion as automatically deleting records that remain in DRAFT state for 30 days or longer.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.