Periodically purge disposals
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 72
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
For very long-running tasks it's possible that disposal information may pile up arbitrarily high without being helpful. This could especially be a problem if a workflow is used as the main loop of an application.
We should provide a way for disposals to be periodically purged even while a workflow session is still active, especially for disposals that are very old or whose nodes have been revisited.
Perhaps we could choose to only retain the latest disposal of a node per session, or put a cap on how many disposals are stored per node per session.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how disposal information is stored during an active workflow session and how nodes are revisited. Define a concrete retention policy for old or repeated disposals, then verify that long-running sessions no longer accumulate them without bound while retaining the required latest information.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100