Skip to content

Debounce With Delay#1298

Merged
kraftp merged 4 commits into
mainfrom
kraftp/debounce
Jul 7, 2026
Merged

Debounce With Delay#1298
kraftp merged 4 commits into
mainfrom
kraftp/debounce

Conversation

@kraftp

@kraftp kraftp commented Jul 6, 2026

Copy link
Copy Markdown
Member

Reimplement the debouncer to use DELAYED workflows instead of an internal workflow with signaling mechanism. This both simplifies and improves the performance of the debouncer, eliminating the rounds of communication in the previous implementation. Analogous to dbos-inc/dbos-transact-py#752

Migration note: this eliminates _dbos_debouncer_workflow. If using debouncers but not using versioning, upon upgrading to the version containing this PR, you should cancel any leftover _dbos_debouncer_workflow as they will not be recovered. Actual running workflows will not be affected. This notice will be added to the release notes of the next version.

Comment thread src/debouncer.ts Outdated
@kraftp kraftp merged commit 9741ccd into main Jul 7, 2026
9 of 10 checks passed
@kraftp kraftp deleted the kraftp/debounce branch July 7, 2026 19:22
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