Repository navigation
docs(jules): stop a session before closing its PR - #12438
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
A moderate active issue remains because the workflow may close a Jules PR before a follow-up watcher confirms the stop message was processed and the session can no longer push.
1 open issue
What changed in this PR
Updates the Jules workflow to stop a session before closing its losing or duplicate pull request, preventing it from waking and recreating its deleted branch.
Changes:
- Documents the stop-before-close sequence for losing or duplicate Jules PRs.
- Adds post-stop session settlement and branch cleanup guidance.
- Adds a changelog entry describing the operational fix.
- A moderate issue remains: the follow-up watcher must use
--follow-upto ensure an already-settled session processes the stop request before the PR is closed.
This pull request requires changes.
| File | Description |
|---|---|
changelog.d/jules-close-wakes-session.md |
Documents the Jules session shutdown change. |
.claude/skills/jules-task/SKILL.md |
Updates instructions for stopping sessions and cleaning up losing or duplicate PR branches. |
Review effort: Lite
Copilot review of #12438: without --follow-up the watcher reports a session that was already COMPLETED as settled before it read the stop message. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

Summary
jules-taskskill, a losing or duplicate Jules PR is now closed only after its session was told to stop and has settled. Closing a PR wakes its session: on 2026-10-29 the Gemini 3 Pro session of the closed refactor(app): replace react-helmet-async with React 19 native metadata #12420 pushed a new commit and recreated its deleted branch.Plan
N/A
Test plan
uv run python -m tools.changelog check --base origin/main