Re-placement plan: #2235 buffer-core provider work (3 units; parent #1546)

Đang mở
#2,705 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 3 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
12/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
developer-experience

Hướng nghiên cứu

This is a planning ticket for splitting a closed, blocked PR into three units; no code change is asked for. Read the file list in the body: src/core/config/ContextProxy.ts and its spec, global-settings.ts, importExport.ts, ProviderSettingsManager.ts, and the large ClineProvider.spec.ts and ClineProvider.ts. Done means the lead posts per-unit changed-line counts and Stryker preflight results here before any unit PR opens.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Plan draft: re-place #2235 (vps2/n3-buffer-core) | draft for lead review | fixer, 2026-11-25

First-hand state (REST, HTTP 200): state closed, base main at 410e5ad3d54889147f317abdf265aa59fe087509, head 794542443ccc75d2e67ae525c24d5b46d106b157, changed_files 12, additions 3,693, deletions 26, mergeable true with mergeable_state blocked, label awaiting-maintainer. Its own title claims it is split 3/5 of #1546, so #1546 is the parent tracking issue; that claim is quoted from the title, not verified against the issue body.

Why a further split is required: one file pair carries the whole review surface - ClineProvider.spec.ts 2,164/9 and ClineProvider.ts 1,093/5 are 88% of the additions, so neither the size screen nor the executable-line cap can be met inside a single contract point, and a reviewer cannot hold 2,164 added test lines against 1,093 production lines in one pass.

Content source of record: kind commit, ref 794542443ccc75d2e67ae525c24d5b46d106b157 (the closed head), base = that commits parent, re-placed onto the current main tip rather than onto any stacked per-PR head.

Units (merge order = list order; each unit base = previous unit head):

  • U1 buffer-reads-at-proxy: src/core/config/ContextProxy.ts 82/10 plus ContextProxy.spec.ts 198/0. Gate scope: read path only.
  • U2 settings-round-trip: global-settings.ts 12/0, vscode-extension-host.ts 15/0, index tests 43/0 and 5/0, importExport.ts 6/0, importExport.spec.ts 44/0, ProviderSettingsManager.ts 14/1 and its spec 17/1. Gate scope: settings storage and export. This unit is the persisted-setting checklist owner.
  • U3 provider-post-and-persist: the ClineProvider.ts rows limited to getStateToPostToWebview plus the matching tests, cut along selector ranges so the unit stays under the cap. U3a posting surface, U3b persistence surface, if one cut still exceeds 500.

Port manifest: the 12 files above, partitioned exactly as listed; no file appears in two units; ClineProvider.spec.ts is partitioned by describe block rather than duplicated. Batch content is this named list.

Before opening PRs: because #2235 is closed and blocked, decide (lead) whether to re-open it or open fresh unit PRs citing #1546 and this plan; re-measure each unit standalone in changed executable lines, run the local Stryker preflight, and record the numbers here first.

LEAD RULINGS (issue owner): (1) #2235 stays CLOSED - no reopen; fresh unit PRs are opened citing this issue and #1546, and a pointer comment is left on #2235. (2) The 3/5-of-#1546 lineage was quoted from the title only; parent verified on creation - see this issue's first ledger action. (3) Per-unit numbers and Stryker preflight posted here before each PR opens; U3 cut along selector ranges if needed.

Ngôn ngữ chính
TypeScript
Star
2k
Fork
301
Merge trung bình
3 ngày 14 giờ
Pull request đã merge (30 ngày)
103

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Zoo-Code-Org/Zoo-Code

Tất cả issue của Zoo-Code-Org/Zoo-Code

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.