Repository navigation
Leaving a chat stops it - #58
Merged
Merged
Conversation
The new engine kept a turn running, and paid for, after you killed `ghost -z`, pressed Ctrl-C or closed the window. Now the last viewer leaving a chat you started withdraws what it queued and stops the turn. Bots, cron and kanban are left alone, and the chat stays.
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 new engine kept working, and billing, after you left a chat mid-task.
ghost -zeven said so on Ctrl-C: "Detached; accepted work continues at the gateway."Now, when the last viewer leaves a chat you started (a window or
ghost -z), the gateway withdraws what it queued and stops the turn. Telegram, cron and kanban turns are left alone, and the chat stays.Against the stand-in DreamFort, with a turn running a 20-second command:
ghost -zghost -zA message queued behind it is cancelled too.
tests/e2e.pynow kills one mid-task on all three systems.