NewConnect Sentry, PostHog and your database
← All changes
fix· GitHub

A PR merged while the agent is still working now completes its task

If someone merges a task's pull request before the agent's turn ends, the task now moves to completed and you get the merged notice.

Before, the agent could miss a PR that closed before its turn finished. The task then stayed in replied with the PR shown as open, and no merged notice or email was sent. The sweep that checks GitHub for missed merges now also checks these tasks, so ones already stuck this way complete on their own. A PR that is closed without merging still leaves the task in replied, ready for your next message.