AIToday
Large Language ModelsAI Coding AssistantsGitHub Blog (AI)Published: Jul 31, 2026, 04:01 JST

GitHub Copilot app adds stacked sessions and pull requests for linked coding tasks

GitHub Copilot app adds stacked sessions and pull requests for linked coding tasks

3 Key Points

  1. What happened

    The GitHub Copilot app now supports stacked sessions and stacked pull requests—a series of AI-assisted coding tasks in the same repository where each session builds on the previous one, with each pull request targeting the branch below it in an ordered chain.

  2. Why it matters

    The author successfully modernized a decade-old personal project (running React 15 from 2016 and outdated dependencies) in a way that would have taken weeks to do manually. By breaking the work into discrete stacked sessions—frontend modernization, then react-bootstrap replacement—the tool reduced scope creep and made iterative AI-assisted development practical for messy, real-world codebases.

  3. What to watch

    Stacked sessions and pull requests are available now in the GitHub Copilot app and as pull request stacks anywhere you commit code on GitHub. Developers managing large refactors or dependency upgrades can try this approach to keep change scope manageable.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, in your inbox every morning.

Context & Analysis

The article chronicles a real modernization challenge that most developers face: maintaining legacy codebases with outdated dependencies. The author had attempted this work before using traditional methods and given up; the effort required to untangle React 15, Less, react-bootstrap, and years of accumulated cruft was simply not worth the time. The GitHub Copilot app changed that calculus by enabling iterative, scoped AI assistance rather than an all-or-nothing rewrite. The key insight the author describes is the problem of scope creep: when you don't have to write all the code yourself, it becomes tempting to balloon pull requests into 10,000-line monsters that tackle everything at once. By introducing stacked sessions and stacked pull requests, the tool let the author break the work into discrete, manageable chunks (frontend styles first, then the react-bootstrap replacement in a separate session), each building on the prior layer. The discovery of an old dev branch partway through also shows how messy real-world projects are—the AI assistant had to adapt on the fly, switching sessions rather than forcing the original plan. The author frames this as the future of developer experience, and the technical capability (ordering pull requests into a chain targeting one another) is now available in the GitHub Copilot app.

FAQ
What is a stacked session in GitHub Copilot?
A stacked session is a series of AI-assisted coding tasks in the same repository where each session builds off the previous one. The GitHub Copilot app automatically chains these sessions together, so when you complete one session and want to start a related task, it creates a new session that inherits context from the prior work and creates a stacked pull request on top of it.
How does a stacked pull request work?
A stack is a series of pull requests in the same repository where each pull request targets the branch of the pull request below it, forming an ordered chain that ultimately lands on your main branch. In the author's example, the first pull request targeted the dev branch, and the react-bootstrap replacement pull request targeted the branch of the first pull request.
What project did the author use this feature on?
The author modernized a personal app created around the end of 2014 that serves as a dashboard for calendars, smart devices, and task management. It was using React 15 (released in 2016), Less for CSS, and very old react-bootstrap—dependencies that had become difficult to work with.
GitHub Blog (AI)Read Original Article

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleMCP spec overhaul targets enterprise adoption hurdle