PR #11959 的延迟审查结果: feat(core): 从 models.dev 目录中解决模型限制和模式
Verified review findings from PR #11959 by yiliang114 whose fixes lie outside that PR's footprint, deferred by the autofix loop for follow-up. cc @yiliang114. Each rc: item links back to its original review comment. A maintainer or the PR author can turn any item into its own issue/PR and apply the ready-for-agent flow to that issue — nothing here is scheduled automatically. - rc:4112019766 docs/verification/models-dev-catalog/README.md: Verification README delegates evidence to a gitignored .Qwen/e2e-tests/ path reviewers cannot inspect; real docs-process fix belongs outside this critical-only round. — comment - rc:4112019769 integration-tests/test-helper.ts: Kill-switch stub lives in only one integration helper; other setups lack it. Real test-infra gap, not blocking: env-only guard with test-dir-scoped writes. — comment - rc:4112019770 packages/core/src/models/model-catalog.ts: Mid-session invalidateModelCatalog splits clamp inputs (contextWindowSize resolved pre-refresh, output post). Real; needs snapshot-commit or session-pin design beyond this round. — comment - rc:4112019775 packages/cli/src/utils/sandbox.ts: Sandbox passthrough lacks QWEN_CODE_MODELS_DEV_URL / *_REFRESH; only affects mirror users behind sandbox config. — comment - rc:4112019777 packages/core/src/config/config.ts: refreshModelCatalog caller at Config.initialize has no direct test witness; falsification probe suggested. — comment - rc:4112019778 packages/core/src/models/model-catalog-refresh.ts: 10s fetch timeout unpinned by tests; fake-timers test suggested. — comment - rc:4112019780 packages/core/src/models/model-catalog.ts: Stale-window lookup after invalidateModelCatalog unwitnessed. — comment - rc:4112019781 packages/core/src/models/model-catalog.ts: Served-source flip after mid-session refresh unwitnessed. — comment - rc:4112019782 packages/core/src/models/model-catalog-refresh.ts: REFRESH_INTERVAL_MS magnitude unpinned (boundary-relative tests only). — comment - rc:4112019784 packages/core/src/models/model-catalog-refresh.ts: sortedModels ordering unwitnessed. — comment - rc:4112019785 packages/core/src/models/model-catalog-refresh.ts: Unparseable-cache-vs-absent path unwitnessed. —
内容来源: QwenLM/qwen-code