microsoft / microsoft/durabletask-dotnet

Purge instance history (but keep instance metadata)

Open
#152 5 comments 3 reactions 1 assignee View on GitHub

@YunchuWang is already working on this.

Since Dec 18, 2025.

Ease of use Enhancement P2
Dominant language
C#
Stars
193
Forks
60
Avg merge
3d 12h
Merged PRs (30d)
4

Description

Issue
Currently there seems to be no way to purge instance history. Something corresponding to in-process IDurableOrchestrationClient .PurgeInstanceHistoryAsync.

Context
I'm trying to do a TimerTrigger based purge of instance history as shown in purge-instance-history, but for a durable function in an isolated worker.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.