GitHub Copilot App Adds Stacked Sessions to Chain Multiple AI Coding Tasks Into Sequential Pull Requests
GitHub has added stacked sessions and pull requests to the GitHub Copilot app, allowing developers to break large coding tasks into a sequence of dependent Copilot sessions that each produce their own PR. GitHub demonstrated the feature by using it to modernize an old codebase.
What's new
GitHub has introduced stacked sessions and pull requests in the GitHub Copilot app, a workflow feature that lets developers chain multiple Copilot coding sessions together so each one builds on the output of the last. Instead of asking Copilot to complete one large, monolithic task, developers can split the work into a sequence of smaller sessions, with each session generating its own pull request that depends on the branch created by the prior one.
GitHub detailed the feature in a blog post authored by a GitHub engineer who used stacked sessions to modernize a legacy personal codebase, according to the company. The post walks through breaking a large refactor into discrete steps — for example, upgrading dependencies, updating syntax, and restructuring code — with each step handled by its own Copilot session and surfaced as a separate, stacked PR.
How stacked sessions work
The stacking model mirrors the "stacked diffs" workflow already familiar to developers who use tools like Graphite or Sapling, where each PR builds on top of the previous one rather than all changes landing in a single branch. Applied to Copilot, this means:
- Each session in the stack starts from the branch produced by the session before it.
- Every session generates an independent pull request, keeping changes reviewable in smaller, ordered chunks.
- Developers can review and merge stacked PRs sequentially, or adjust an earlier session in the stack and propagate changes downstream.
GitHub did not disclose specific technical details on how conflicts between stacked sessions are resolved, nor did it specify which underlying model or models power the sessions. Pricing for the feature was not addressed in the post; it appears to be part of the existing GitHub Copilot app rather than a separately billed product.
Confirmed vs. claimed
The existence of the stacked sessions and pull requests feature in the Copilot app is confirmed by GitHub's own blog post. The specific example — modernizing an old codebase — is presented by GitHub as a real-world demonstration, but performance claims (time saved, code quality improvements) are not quantified in the source material and should be treated as anecdotal rather than benchmarked.
What this means
Stacked sessions address a real limitation of single-shot AI coding agents: large, multi-step refactors are hard to review and hard to safely automate in one pass. By breaking work into a dependency chain of sessions and PRs, GitHub is borrowing a code-review pattern already popular among engineering teams and applying it to agentic coding workflows. This makes Copilot-generated changes easier to audit incrementally rather than reviewing one sprawling diff.
The move also signals competitive pressure from tools like Cursor (Anysphere), Cline, and Sourcegraph's Amp, which have been pushing agentic, multi-step coding workflows. Whether stacked sessions meaningfully reduce review burden or introduce new complexity — such as managing rebases when an early session in the stack changes — will depend on real-world adoption. GitHub has not published data on error rates, merge conflict frequency, or time savings, so early users should treat the feature as workflow tooling rather than a fully validated productivity gain.
Related Articles
GitHub Publishes Guide to Slash Commands in the Copilot App
GitHub has published a guide covering slash commands available in the GitHub Copilot app, designed to extend Copilot beyond simple chat into planning, team collaboration, task automation, and workflow customization. The guide targets developers looking to get more structured, repeatable value out of Copilot's interface.
GitHub Retires Copilot Billing Preview App, Shifts Spend Management to Native Billing Settings
GitHub has retired the Copilot Billing Preview app, removing it from availability entirely. Copilot spend tracking and management now happens directly within GitHub's standard billing settings.
Anthropic Adds Cross-Session Messaging to Claude Code v2.1.224
Claude Code v2.1.224 introduces cross-session messaging, letting separate Claude Code instances on macOS and Linux send each other summaries to coordinate work. The feature does not support approving permissions or executing commands remotely.
Anthropic Sets Claude Code Auto Mode as Default Starting August 14
Anthropic will switch Claude Code's default permission setting to auto mode on August 14 for Pro, Max, and Team users. The company says its safety classifier caught 89% of dangerous commands in testing, compared to 13.6% for human reviewers, and will no longer charge extra tokens for the classifier itself.
Comments
Loading...