qwen-code/docs/plans
Zqc 6a726f6c63
refactor(core): centralize extension runtime refresh (#6152)
* refactor(core): centralize extension runtime refresh

* test(core): add regression tests for allSettled and try/catch resilience in refreshExtensionRuntime

* test(core): add restartMcpServers reject test and restore design rationale comments

Address @wenshao's review feedback:
- Add test for restartMcpServers rejection (the only fatal error path)
- Restore key 'why' comments about allSettled and try/catch design decisions
- Logger tag change to EXTENSION_RUNTIME_REFRESH is intentional (standalone module)

* docs(core): add error-handling tier contract to refreshExtensionRuntime

Add block comment documenting the three-tier error-handling contract
(fatal/swallow/swallow) so future maintainers know which tier applies
when adding new refresh steps. Addresses review feedback on #6152.

---------

Co-authored-by: 俊良 <zzj542558@alibaba-inc.com>
Co-authored-by: 易良 <1204183885@qq.com>
2026-07-05 07:47:48 +00:00
..
2026-03-22-agent-tool-display-design.md feat(vscode-ide-companion): add agent execution tool display (#2590) 2026-04-18 23:39:26 +08:00
2026-05-14-auto-compaction-threshold-redesign.md feat(core)!: redesign auto-compaction thresholds with three-tier ladder (#4345) 2026-05-25 21:11:08 +08:00
2026-05-18-qwen-runtime-memory-investigation.md fix(core): replace structuredClone with shallow copy to prevent OOM in long sessions (#4286) 2026-05-21 10:28:59 +08:00
2026-07-01-extension-runtime-refresh-implementation.md refactor(core): centralize extension runtime refresh (#6152) 2026-07-05 07:47:48 +00:00
memory-diagnostics-reference-design.md feat(cli): add structured memory diagnostics JSON (#3785) 2026-05-17 19:52:46 +08:00