Repository navigation
chore(upstream): sync v2.1.1 - #15401
Conversation
Co-authored-by: fwang <83515+fwang@users.noreply.github.com>
|
➖ v2 migration progress: 1% → 1% (0 done, 0 total, 0 dropped; 95/9829 cells) Placement: 0 new marked lines in shared files, 0 new Ratchets: 25 core-internal imports (base 25); shared patches by rung 25 seam, 17 patch (base 25 seam, 17 patch). No change to the progress map. |
Code Review SummaryStatus: 1 Issue Found | Recommendation: Merge after a minor PR-body correction Overview
Sync verification (Kilo patches before vs after, Issue Details (click to expand)SUGGESTION
Files Reviewed (52 files)
Reviewed by deepseek-flash-latest · Input: 80.3K · Output: 15.7K · Cached: 1.5M Review guidance: REVIEW.md from base branch |
Merge with 'Create a merge commit'. Do not squash or rebase.
Release
v2.1.1(tagba546ec1598, 2026-10-20)e9ac459c2e6, parent of the tag, onupstream/dev9d90d892dcb..e9ac459c2e6(v2.1.0tov2.1.1): 13 commits, 65 files, harness change 28 files +692/-142b80adececc8chore(upstream): sync v2.1.1 (e9ac459c2e6).pinned()resolvesv2.1.1/e9ac459c2e6v2.1.1,v2.1.2,v2.1.3), 2.2 daysv2.1.2,v2.1.3), 2 days. Next sync:v2.1.2(c600cddc68f), thenv2.1.3(37d973754ba)Commits in this PR:
b80adececc8the sync merge (script/upstream/merge.ts --version v2.1.1 --base-branch HEAD).3c4b1fdf849merge oforigin/v2(fix(gateway): restore enterprise policy and organization modes #15372 landed while the branch was being verified, and the progress map history readsorigin/v2). Clean merge, no conflicts.8c577dc5eaedocs(migration): refresh the v2 baseline at v2.1.1.Upstream content: TUI dialogs under the opt-in
new-designsexperiment (model switcher, free model picker, settings and export dialogs;prioritizeFavoritesandsortModelOptionsmove tomodel-options.tsx), models.dev refresh broadcast server-wide, provider variants built after package normalization, bundled models.dev snapshot refresh, provider icons, stats and console docs.Conflicts
All 15 were resolved by the tooling. None hit a Kilo patch, so no plugin-first decision was needed.
bun.lockorigin/v2: only workspace version stringspackages/{app,console/app,desktop,function,gui-extensions,session-ui,web}/package.json,packages/stats/{app,core,server}/package.json,sdks/vscode/package.jsonskipFiles: product areas that Kilo removed)packages/stats/app/src/routes/{index.tsx,model-catalog.ts,model-catalog.test.ts}skipFiles)No new upstream workflows.
script/check-workflows.tsis unchanged (3 active workflows, 28 removed).Shared files touched
Upstream changed these Kilo-patched shared files. All merged without conflict, and the Kilo lines are unchanged:
package.json,packages/cli/package.json,packages/core/package.json,packages/tui/package.json: version bump only (rung 3 entries inshared-patches.json, unchanged).bun.lock: generated, not counted.check-shared-patches: 42 files, 275 marked lines, 39 unmarked lines, 0 deleted, all at their limits (no change). No limits to lower.Kilo-diff check
git diff --no-renames --name-status 9d90d892dcb origin/v2and... e9ac459c2e6 HEAD, measured at head8c577dc5eaeagainstorigin/v22663e72e7f8: identical file lists (3,740 entries).Per-file added and removed lines are identical except for:
bun.lock: workspace versions only.2.0.32to2.1.0, stats lab logos).migration-tracking/technical-notes/baseline/pinned-v2-baseline.md: the baseline refresh (see Tests).All three are intended.
git diff --stat origin/v2 HEAD -- 'packages/kilo-*' 'packages/*/src/kilocode' .github .kilo script: empty.git merge-treeagainst the open v2 PRs (feat(vscode): reuse the v1 extension on the v2 server #15370, feat(marketplace): add skill and MCP discovery and installation #15353, feat(vscode): reuse the v1 extension UI on v2 data #15349, docs(migration): record branch-name generation findings #15345, docs(migration): list v1 to v2 client breaking changes #15291, docs(migration): record the client, identity and sync-gate decisions of 2026-10-20 #15290, docs(migration): drop the v1 fixtures and session-policy units #15286): the conflict sets are identical to the conflict sets againstorigin/v2. The sync adds no conflicts. No open PR touches the upstream-changed TUI dialog, models.dev or provider files.Gateway work (accounts, enterprise policy and organization modes fix(gateway): restore enterprise policy and organization modes #15372, models, costs, errors) is untouched.
bun dev models --standalone: thekilo/list (16 models) is identical on this branch and onorigin/v2.Checks
All runs used bun 1.4.2 (
packageManager), afterbun install --linker hoisted --frozen-lockfile.bun run check(root)check-workflows,check-opencode-annotations(71 shared files vse9ac459c2e6),check-shared-patchesfind-reset-candidates --dry-runpackages/protocolandpackages/clientcheck:generatedprogress.tstwice +--checkv2-baseline.ts --checks(CI mirror)test(13 known host failures, see below) andlint:effect-patterns(27 errors, unchanged, not run by CI)Tests
Per package with isolated
OPENCODE_TEST_HOMEandXDG_*, on this branch and onorigin/v2a1e74c10d7d:origin/v2kilo-gateway-corekilo-plugincorecliservertuipluginAfter the
origin/v2merge, turbo test (--force) has 25/26 tasks pass.corehas 6,693 pass and 13 fail (the same 13).kilo-pluginhas 173 pass,kilo-gateway-core101,kilo-cli53,cli339.New failures: none. All failures are host-specific and fail the same way on
origin/v2:Session.shellcases: 5 s timeouts when the login shell is fish. WithSHELL=/bin/zshthe file passes 9/9.debug paths command(cli): fails only whenOPENCODE_TEST_HOMEis set. It passes without that variable and in the turbo run.Baseline delta:
pinned-v2-baseline.mdnow has av2.1.1capture (the doc still describedv2.0.30). The 23 ripgrep cases are no longer red (rgis on PATH). TheSession.shelllogin-shell cases are new to the doc but are not new failures. No test was skipped or edited.Self-test
Fresh
KILO_V2_PROFILEfor each run, signed out:bun dev run --standalone --model kilo/kilo-auto/free "Reply with only the word ok.": answeredok, nolevel=ERRORlog lines. Pass (on the sync merge and again on the final head).--mode none): the home screen loads; the model picker lists the Kilo Gateway models withAuto Freeselected; one prompt answeredokthroughAuto Free · Kilo Gateway;/connectlists Kilo Gateway;logsis empty. Pass.origin/v2merge): the home screen showsAuto Free · Kilo Gateway, the picker lists the Kilo models, and the permission prompt works. The free model asked to runfind /for a file question; the call was rejected. A follow-up@fileprompt was not confirmed because the harness call timed out. The TUI answered fully on the sync merge commit, and the CLI run answered on the final head.bun dev models --standalone: thekilo/list is identical toorigin/v2. Other providers differ only because of upstream's models.dev snapshot refresh (81b2d7a1b93), for example deprecatedamazon-bedrockentries and theopencodefree list.Tooling gaps
merge.ts --base-branch HEADprints "Open a PR from sync-v2-1-1 into sync-v2-1-1". With an in-place merge, it should namev2. This is cosmetic.origin/v2, soprogress.ts --checkturned stale whenorigin/v2moved during verification. The fix was to mergeorigin/v2. This is expected, but the sync procedure does not mention it.Follow-ups
v2.1.2(c600cddc68f), thenv2.1.3(37d973754ba), each in its own PR.