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

Ouverte
#2,705 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 3 jours

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
12/100
Type d'issue
Refactorisation
Clarté
Plutôt claire
Activité
Active
Stack technique
typescript

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
TypeScript
Étoiles
2k
Forks
301
Merge moyen
3 j 14 h
PR mergées (30 j)
103

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de Zoo-Code-Org/Zoo-Code

Toutes les issues de Zoo-Code-Org/Zoo-Code

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.