Repository navigation
chat: fix persistent progress and Draw animation lifecycles - #339050
Merged
Justin Chen (justschen) merged 1 commit intoOct 1, 2026
Merged
Conversation
Suppress delayed progress messages while tools or progress tasks are active. Observe response completion directly to hide retained progress and stop its inactivity timer. Use the latest intersection update so Draw resumes reliably after visibility changes. Add lifecycle regression coverage and update chat accessibility help. Co-authored-by: Copilot <[email protected]>
Contributor
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The scoped lifecycle fixes are consistent with their model contracts and have focused regression coverage.
Review effort: Balanced
Findings: None
What changed in this PR
Fixes persistent chat-progress timing, completion, and Draw animation visibility lifecycles.
Changes:
- Defers inactivity warnings while tools or progress tasks remain active.
- Reacts directly to response completion, cancellation, and reopening.
- Uses the latest batched visibility entry and adds regression coverage.
| File | Description |
|---|---|
chatWorkingLogo.ts |
Corrects batched visibility handling. |
chatProgressContentPart.ts |
Fixes inactivity and completion lifecycle behavior. |
chatAccessibilityHelp.ts |
Documents corrected inactivity behavior. |
chatWorkingLogo.test.ts |
Tests visibility changes and remounts. |
chatListRenderer.test.ts |
Tests timing, completion, cancellation, and reopening. |
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Contributor
Justin Chen (justschen)
marked this pull request as ready for review
October 1, 2026 06:20
Justin Chen (justschen)
enabled auto-merge (squash)
October 1, 2026 06:20
Alex Ross (alexr00)
approved these changes
Oct 1, 2026
Giuseppe Cianci (Giuspepe)
approved these changes
Oct 1, 2026
Justin Chen (justschen)
deleted the
agents/fix-rendering-issues-and-progress
branch
October 1, 2026 09:27
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
Fix three persistent chat-progress lifecycle issues:
Includes regression tests for the 90-second threshold, completion/cancellation, response reopening, batched visibility changes, and real DOM hide/show/remounts. Updates chat accessibility help to describe the corrected inactivity behavior.
Validation
npm run transpile-client- passed.npm run typecheck-client- attempted; blocked by existing Copilot SDK and local-transcription dependency type mismatches outside this change. No diagnostics in the changed files.Exact focused test and lint commands
./scripts/test.sh \ --run src/vs/workbench/contrib/chat/test/browser/widget/chatWorkingLogo.test.ts \ --run src/vs/workbench/contrib/chat/test/browser/widget/chatListRenderer.test.ts \ --grep 'ChatWorkingLogo|persistent progress|persistent footer|working progress|retained progress|working phrase' \ --reporter dotResult: 125 passing.
Result: all five files passed.
Recorded UI verification
All six UI checks passed in an isolated macOS arm64 Code OSS 1.141.0 dev window, using the production chat renderer with a locally simulated terminal tool and real-time waits (no external model or terminal command):
Captioned FFmpeg recordings and the per-step report were verified locally; the videos are not attached to this PR.