Skip to content

fix(copilot): retry session startup and terminal settlement - #121

Merged
forrestlinfeng merged 1 commit into
EvoMap:mainfrom
imxyanua:codex/fix-copilot-session-recovery
Nov 29, 2026
Merged

forrestlinfeng merged 1 commit into
EvoMap:mainfrom
imxyanua:codex/fix-copilot-session-recovery

Conversation

@imxyanua

Copy link
Copy Markdown
Contributor

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

  • Before: A failed session_start made later prompts skip startup. When the candidate write and session settlement both failed, replayed session.idle could lose the candidate or leave the turn in settling.
  • After: The next prompt performs startup. Replayed idle leaves one candidate, clears settling, schedules report delivery and keeps the two distinct Recipe reports from being duplicated.
  • Independent branch regression: 4/4 on both Windows Node 22.23.5 and 26.13.0.

Merge Danger

Door: Two-way. The code change can be reverted independently.

Blast radius: Copilot interactive session lifecycle.

@evomap-aiqa-bot

evomap-aiqa-bot Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Sentinel 已审核此变更,未发现需要报告的问题。

开发 agent 查询详情: 调用 MCP 工具 sentinel_pr_review_context,传入 owner_repo="evomap/evolver-agent-plugin"、pr_number=121、head_sha="1b5e9e37eec21affc27f38f28ddc2098a870e74f",并按条目追加 finding_id 或 finding_key。

由 Sentinel 审核 · 目标提交 1b5e9e37eec2

Copy link
Copy Markdown
Contributor Author

@forrestlinfeng 麻烦帮忙重跑一下 #121 在 1b5e9e3 上失败的 windows-minimax (26) job。 CI 链接

#122、#123、#124、#125、#126 的 CI 都已通过,有空也请帮忙 review 一下。谢谢!

forrestlinfeng added a commit that referenced this pull request Nov 29, 2026
chore: land fork PRs #121-#126 behind the full CI matrix
@forrestlinfeng
forrestlinfeng merged commit 8fb9f65 into EvoMap:main Nov 29, 2026
18 of 19 checks passed
@forrestlinfeng

Copy link
Copy Markdown
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants