Files
vscode/extensions
Osvaldo OrtegaandCopilot 0ec7ad8323 Cloud sessions v2: forward-compat guard for isActiveTaskState (#325372)
Follow-up to the cloud sessions v2 "Copilot stopped" work, addressing PR
review feedback:

- Add an explicit `default` branch to `isActiveTaskState` so an unknown
  task state added server-side returns `true` (active) instead of falling
  through to `undefined`. This matches `taskStateToChatSessionStatus`
  (unknown -> InProgress) and avoids reintroducing the stuck "Session is
  in progress..." spinner when the detail view would otherwise settle
  while the session state still reads `in_progress`.
- Remove a stale duplicate comment block in the task history builder.
- Add tests covering `isActiveTaskState`/`isFailedTaskState` across all
  states plus the unknown/forward-compat case.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-13 23:17:04 +00:00
..
2026-07-10 12:59:32 +00:00
2026-07-08 19:02:49 +00:00