The Chonkerton

Stacked sessions and pull requests in the GitHub Copilot app

dev_tools

GitHub's Copilot app can now handle complex, multi-step refactoring through a new feature called stacked sessions. These are chained AI-guided coding tasks where each session builds off the previous one, each generating its own pull request. The GitHub Blog reports on a real case: an engineer modernizing a decade-old personal project that was still running React fifteen and other stone-age dependencies. Rather than tackle it all in one overwhelming pull request, they split the work across three stacked sessions—first modernizing the styling layer, then discovering and addressing react-bootstrap compatibility issues, and finally planning the replacement library migration. Each session could see the context from the one before it, and each produced its own pull request targeting the branch created by the previous one. The engineer credits stacked sessions with taming what would have been a painful, weeks-long refactor into a manageable, ship-worthy workflow.

Source: https://github.blog/ai-and-ml/github-copilot/stacked-sess...

Listen to this story

Hear this and more stories in a personalized audio briefing.

Open The Chonkerton