You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2fb1da2
Browse filesBrowse the repository at this point in the historyBrowse files
authored
feat: handle lifecycle slash commands natively in Windows chat (#1036)
* feat: add native lifecycle slash commands
Handle exact /new, /reset, and /compact commands through lifecycle RPCs, preserve structured compaction boundaries, and retain safe compatibility behavior for older gateways.
Co-authored-by: Copilot App <[email protected]>
Copilot-Session: c41e789a-73e3-41ae-ac62-1ff5287599c0
* fix: harden lifecycle command edge cases
Preserve explicit session selection and failed composer sends, retain live entries during authoritative reloads, widen compaction metrics, and clarify lifecycle timeout recovery.
Co-authored-by: Copilot App <[email protected]>
Copilot-Session: c41e789a-73e3-41ae-ac62-1ff5287599c0
* fix: order lifecycle commands with queued sends
Co-authored-by: Copilot App <[email protected]>
Copilot-Session: c41e789a-73e3-41ae-ac62-1ff5287599c0
* fix: guard authoritative history reload pending by connection generation
The _authoritativeHistoryReloadPending flag was consumed in
LoadHistoryCoreAsync's finally block without checking whether the
completing request belonged to the current connection generation.
A stale old-generation completion after disconnect/reconnect could
consume the flag and trigger an unintended authoritative reload
in the newer generation.
Fix:
- Only consume/schedule the pending authoritative reload when
requestConnectionVersion == _historyConnectionVersion (same
guard as _historyInFlight removal)
- Clear _authoritativeHistoryReloadPending in
AdvanceHistoryGenerationLocked so generation advances invalidate
stale pending flags
- Add deterministic regression test:
StaleGenerationAuthoritativeReload_DoesNotReloadInNewGeneration
Co-authored-by: Copilot App <[email protected]>
Copilot-Session: d2982ca8-bb56-4728-85bd-29542ce9d554
* Record paired-review history race fix
Co-authored-by: Copilot App <[email protected]>
Copilot-Session: 4f0e93ff-d320-454d-b00a-865dac727d0c
---------
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Scott Hanselman <[email protected]>
Error="The gateway did not respond before session creation timed out. Check the session list to see whether a new session was created before trying again."
0 commit comments