Repository navigation
fix(chat): count automated turns per conversation only - #1765
Merged
Merged
Conversation
Event tasks were sharing one channel-wide destination counter, so always-on triage bots paused after 10 fires across unrelated jobs. Count and gate only on the Conversation, including each event-task dispatch conversation. Co-Authored-By: David Cramer <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
1 screenshot change — 1 changed · 0 added · 0 removed Review screenshots in Frameshift
|
Drop the destination-wide consecutive-turn counter. Count and pause only on the Conversation. Event-task fires no longer share one channel budget. Co-Authored-By: David Cramer <[email protected]>
dcramer
marked this pull request as ready for review
September 2, 2026 19:52
dcramer
approved these changes
Sep 2, 2026
dcramer
added a commit
that referenced
this pull request
Oct 2, 2026
The chat runtime and event-automations READMEs said event-automation dispatches count toward the consecutive automated-turn limit on their Destination. That counter was removed on purpose in #1765. A shared channel budget paused unrelated always-on automations after about 10 fires. Each dispatch now runs in its own Conversation, so the limit applies only to Watches. Both READMEs now say this. Code is unchanged. The self-trigger risk from the issue still exists: nothing stops an event automation whose own work causes another matching event. A fix for that should be scoped to one automation, not a Destination, and is left for a follow-up. Fixes #2002 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The 10 automated-turn pause was counting every event task in a Slack channel together. That paused always-on bots after ~10 fires anywhere in the channel.
Change
Resource watches still pause after 10 automated turns in the same conversation with no user message. Separate event-task fires no longer share one channel budget.
Requested by David Cramer.
--
View Junior Session [Sentry]