Repository navigation
fix(copilot): retry session startup and terminal settlement - #121
Merged
forrestlinfeng merged 1 commit intoNov 29, 2026
Merged
Conversation
|
Sentinel 已审核此变更,未发现需要报告的问题。 开发 agent 查询详情: 调用 MCP 工具 由 Sentinel 审核 · 目标提交 1b5e9e37eec2 |
Contributor
Author
This was referenced Nov 29, 2026
Contributor
|
Reviewed and merged with its commits unchanged through #127, after the full CI matrix (Linux, Windows, macOS, Node 22/26) passed on all six PRs together. Thanks. |
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
Keep session startup retryable after a state write fails. Carry the same settlement context across native terminal retries so Copilot can recover a missing candidate or finish closing a turn whose candidate was already saved.
Evidence
session_startmade later prompts skip startup. When the candidate write and session settlement both failed, replayedsession.idlecould lose the candidate or leave the turn insettling.settling, schedules report delivery and keeps the two distinct Recipe reports from being duplicated.Merge Danger
Door: Two-way. The code change can be reverted independently.
Blast radius: Copilot interactive session lifecycle.