Skip to content

chore: sync 7 deferred upstream t3code commits (9/n) - #58

Open
chaitanyaprem wants to merge 2222 commits into
MiaAI-Lab:mainfrom
chaitanyaprem:sync/upstream-wave9
Open

chaitanyaprem wants to merge 2222 commits into
MiaAI-Lab:mainfrom
chaitanyaprem:sync/upstream-wave9

Conversation

@chaitanyaprem

Copy link
Copy Markdown

Stacked on #57 (which is stacked on #56, #55, #54, #53, #52, #50 and #49). Until those merge, this PR's diff includes their commits too. The new part is the last 7 commits, starting after 89a01a86bc.

Problem

Seven upstream commits from the previous sync wave were left out of #56 and #57: #44369 (and #46571, #46901, #47163 grouped with it), #45471, #46789, and #47181 (deferred until after the General Translation v12 move in #57).

Change

All 7 upstream commits, cherry-picked with -x on top of #57, keeping original authors, dates, and messages:

  • #44369 — perf(server): pull request sweeps share one thread read (payload-digest decode cache in ProjectionStore using Digest.Digest). Conflict resolved: kept RunMetrics.test.ts deleted and provided NodeCrypto.layerDigest inside Orchestrator.control-reads.test.ts's makeTestLayer.
  • #45471 — fix(server): skip ports already occupied on the configured loopback alias (plus [::1] host normalization in packages/shared/src/Net.ts).
  • #46571 — fix(server): keep pull request watches from waking moved threads.
  • #46789 — fix(web): open a gzip file made of several members (multi-member gzip decoding with bounded false-cut retries in binaryPreview.worker.ts). Conflict resolved: merged previewFailure import and appended tests after existing TAR tests.
  • #46901 — perf(server): index the archived-inclusive pull request thread sweep. Conflict resolved: renumbered migration 124_PullRequestThreadIndex to 147_PullRequestThreadIndex.
  • #47163 — fix(server): pull requests a workflow run opened now show that run. Conflict resolved: renumbered migration 125_WorkflowRunReferenceLookup to 148_WorkflowRunReferenceLookup.
  • #47181 — fix(web): the worktree Repositories filter focuses its search field when opened from the keyboard.

Verification

Run locally on macOS arm64 (Node v22.23.1; CI runs Node 26.13.1 from package.json):

  • Typecheck (apps/server, apps/web, packages/shared): zero new errors (apps/web and packages/shared pass cleanly; apps/server has only the pre-existing IssueService.test.ts:838 error).
  • Targeted tests:
    • ProjectionSettlement.test.ts, reconcileV2PreviewMigration.test.ts, WorkflowStore.test.ts, Workflows.test.ts: passed.
    • runtimeLayer.test.ts (#46571 moved-thread watch test): passed.
    • Net.test.ts (#45471 loopback alias / [::1] tests): passed (127.0.0.2 skips on macOS when alias is unconfigured; [::1] passes).
    • ProjectionStore.test.ts and Orchestrator.control-reads.test.ts: all tests pass except 3 pre-existing statement.stat is not a function failures under local Node 22.
    • binaryPreview.worker.test.ts: 16/17 pass locally; the crafted.gz test fails only because local Node 22.23.1's DecompressionStream("gzip") decodes multi-member gzip natively (CI runs Node 26.13.1).
    • WorktreeRepositoriesControl.browser.test.tsx: not run locally (Playwright headless shell not installed).
  • node scripts/i18n-check.ts: passed.
  • vp fmt --check on all 69 touched files: passed.

Agent: Gemini 4 Neon in Antigravity (M3 Code).

iamshadmantaqi and others added 30 commits December 3, 2026 17:28
…e moved (pingdotgg#44763)

Co-authored-by: Julius Marminge <julius0216@outlook.com>

(cherry picked from commit 748bb54)

Conflict resolved for M3 Code: added upstream's new tests in apps/desktop/src/app/DesktopObservability.test.ts; tests next to them that come from upstream changes not in M3 Code yet are left out.
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>

(cherry picked from commit a7484fb)

Conflict resolved for M3 Code: applied upstream's change on top of the fork's version (fork's M3 Code naming kept, imports from both sides merged, config lines matched by content) in pnpm-workspace.yaml.
…ctory (pingdotgg#42164)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Yash Singh <saiansh2525@gmail.com>
(cherry picked from commit 10df37a)
…gdotgg#44796)

Co-authored-by: Julius Marminge <julius0216@outlook.com>

(cherry picked from commit f9f5ccb)

Conflict resolved for M3 Code: added upstream's new tests in apps/server/src/project/ProjectService.test.ts; tests next to them that come from upstream changes not in M3 Code yet are left out.
…gg#44926)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
(cherry picked from commit 2bebf9e)
Co-authored-by: Julius Marminge <julius0216@outlook.com>

(cherry picked from commit 1237bd9)

Conflict resolved for M3 Code: applied upstream's change on top of the fork's version (fork's M3 Code naming kept, imports from both sides merged, config lines matched by content) in packages/provider-opencode/src/server/v2/adapter.ts.
… installed (pingdotgg#45014)

Co-authored-by: Alex Southwell <4596216+saphid@users.noreply.github.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Julius Marminge <julius0216@outlook.com>

(cherry picked from commit ed54785)

Conflict resolved for M3 Code: applied upstream's change on top of the fork's version (fork's M3 Code naming kept, imports from both sides merged, config lines matched by content) in apps/server/src/cli/service.ts.
…gdotgg#45013)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
(cherry picked from commit 1feecb3)
…erminal (pingdotgg#45048)

Co-authored-by: Julius Marminge <julius0216@outlook.com>

(cherry picked from commit bf20a2e)

Conflict resolved for M3 Code: added upstream's new tests in apps/server/src/terminal/NodePtyAdapter.test.ts; tests next to them that come from upstream changes not in M3 Code yet are left out.
… only the document (pingdotgg#45326)

Co-authored-by: Julius Marminge <julius0216@outlook.com>

(cherry picked from commit 424d5d2)

Conflict resolved for M3 Code: added upstream's new tests in apps/web/src/components/files/AttachmentFilePreview.browser.test.tsx; tests next to them that come from upstream changes not in M3 Code yet are left out.
…hone's (pingdotgg#45397)

(cherry picked from commit 5dfe5ca)

Conflict resolved for M3 Code: applied upstream's change on top of the fork's version (fork's M3 Code naming kept, imports from both sides merged, config lines matched by content) in apps/mobile/src/features/cloud/T3ConnectProfilePage.tsx.
…gg#45506)

Co-authored-by: Julius Marminge <julius0216@outlook.com>

(cherry picked from commit acd9812)

Conflict resolved for M3 Code: added upstream's new tests in apps/server/src/terminal/Manager.test.ts; tests next to them that come from upstream changes not in M3 Code yet are left out.
…-place catalog updates (pingdotgg#45584)

Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
(cherry picked from commit eeb12a1)
Co-authored-by: shivam <91240327+shivamhwp@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit ee52667)
…odel picker (pingdotgg#45505)

Co-authored-by: Yash Singh <saiansh2525@gmail.com>
(cherry picked from commit d43f7db)
… with a byte-order mark (pingdotgg#45754)

Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
(cherry picked from commit 5c46546)
…answers (pingdotgg#45919)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
(cherry picked from commit 28b572c)
…n-style ranges (pingdotgg#43492)

Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
(cherry picked from commit eb02325)
…ces (pingdotgg#46241)

Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
(cherry picked from commit 49f8de1)
…c host (pingdotgg#46261)

Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
(cherry picked from commit dcf2dee)
…ns filled in (pingdotgg#46579)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
(cherry picked from commit fda1c30)
(cherry picked from commit a269a67)

Conflict resolved for M3 Code: applied upstream's change on top of the fork's version (fork's M3 Code naming kept, imports from both sides merged, config lines matched by content) in pnpm-workspace.yaml.
…ingdotgg#46652)

Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>

(cherry picked from commit 9485d30)

Conflict resolved for M3 Code: applied upstream's change on top of the fork's version (fork's M3 Code naming kept, imports from both sides merged, config lines matched by content) in packages/provider-acp/src/server/mcpOverAcpBridge.ts.
StiensWout and others added 30 commits December 3, 2026 18:38
pingdotgg#47051)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
(cherry picked from commit 329a024)
…bar Update button (pingdotgg#43423)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Theo Browne <me@theo.li>

(cherry picked from commit f9ed85a)

Conflict resolved for M3 Code: merged line by line in apps/server/src/provider/AntigravityProvider.ts: each line comes from whichever side changed it, so upstream's change sits next to the fork's.
…during refreshes (pingdotgg#39361)

(cherry picked from commit c4d445b)

Conflict resolved for M3 Code: awaitEnrichmentOnRefresh is added to the fork's shared createPiDriver.
…ned from the keyboard (pingdotgg#47130)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
(cherry picked from commit 3c17dbf)
…ows (pingdotgg#47105)

Co-authored-by: Julius Marminge <julius0216@outlook.com>

(cherry picked from commit 59af88f)

Conflict resolved for M3 Code: applied upstream's change on top of the fork's version (fork's M3 Code naming kept, imports from both sides merged, config lines matched by content) in apps/web/src/components/Sidebar.browser.test.tsx.
…ingdotgg#47080)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
(cherry picked from commit 1e6e7d7)
…ngdotgg#47167)

Co-authored-by: Julius Marminge <julius0216@outlook.com>

(cherry picked from commit 06d024e)

Conflict resolved for M3 Code: applied upstream's change on top of the fork's version (fork's M3 Code naming kept, imports from both sides merged, config lines matched by content) in apps/web/src/components/chat/useChatShortcuts.browser.test.tsx.
…vering Snooze (pingdotgg#47225)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit f416d9e)
M3 Code numbers upstream migrations 23 higher (upstream 115 is 138 here). The picked tests import upstream's file names; they now import the fork's, and a test that already imports the fork's file no longer imports it twice.
The picks build on upstream code that M3 Code removed or has in another form:

- Client telemetry: the direct socket URL no longer takes client metadata or a connection method.
- Agent feedback: the composer's local-command check and the mobile thread screen drop the
  feedback inputs.
- Tracing and OTLP: the CLI config no longer imports the observability settings or creates a
  trace directory, and the git driver no longer imports the removed metrics.
- Clerk: the account page logic test and the Clerk mock in the Connect row test are removed.
- The machine-load banner import that the later pill replaced, and the Gitea gt-only
  discovery flag, are removed.

Line-wise conflict merges left a few spots wrong. Each now matches upstream's intent:
the settle-scripts layer joins the fork's ProjectStore/ThreadSearch merge, MCP toolkit
registration wraps withClientInput once, the model picker's inference label moves into upstream's
extracted sidebar item, the context budget test filters hidden tools before
the fork's lean/full measurement, and duplicate imports are removed.

The palette's add-project handler loses a stray line, the resource monitor test uses the fork's
query mock, and IssueService imports StandaloneIssueTrackerApi.

The add-project path check passes the platform the path helper now takes, and the mobile settings
row narrows its navigate call: with the fork's extra settings routes, TypeScript no longer
resolves the overload for the whole target union.
…k's strings after this sync

Picked commits and their resolutions change some strings (the plural token wording on the fork's usage rows, the handoff banner's waiting text) and add others. The English catalogs are regenerated, new keys fall back to English in the other locales, and the Polish catalogs are re-keyed to the fork's M3-branded strings.
- The uninstall test and the Antigravity 1.5.0 error say M3 Code (the driver's new message now
  does too).
- The V2 preview upgrade test lists upstream migrations 117, 119 and 122 under the fork's
  numbers (140, 142, 145).
- The peer link migration test runs migrations up to the fork's 142 and 143, not upstream's 119
  and 120.
- The fork's CLIProxyAPI test reads the accounts list that readAccounts now returns.
- agentContextBudget.json records the measured sizes, and keeps the fork's lean tool list entry
  that the picks' version of the file dropped.
…ches (pingdotgg#46460)

Co-authored-by: Julius Marminge <julius0216@outlook.com>

(cherry picked from commit b4b58d2)

Conflict resolved for M3 Code: upstream's tagged-template rewrite is applied to every call it touches, keeping the fork's M3 Code strings; files M3 Code removed (agent feedback, Clerk account pages, telemetry export, connection traces, T3 Connect profile) stay deleted; the catalogs are regenerated with gt 3 and filled from upstream's v12 translations where the hash or English text matches, with M3 naming where the English changed.
v12 drops the function form of gt() and of msg() with values or a context; upstream's pick
converts every call it touches. M3 Code-only code still used the old form and no longer
typechecked: the plugin host, local engines, uninstall and project defaults settings, a few
sidebar strings, the custom model options, connection badges and the end-to-end encryption
error. They now use upstream's forms:

  gt`No threads in ${{ project: … }} yet`
  gt({ context: "…" })`setup`
  msg({ context: "reasoning level" })`Low`

connectionSecurityBadgeText takes v12's M instead of MFunctionType. The catalogs are
regenerated: these strings were invisible to the extractor before, so they are now in every
locale, falling back to English where no translation exists.
)

(cherry picked from commit 531af2d)
Conflict resolved for M3 Code: keep RunMetrics.test.ts deleted and provide NodeCrypto.layerDigest inside Orchestrator.control-reads.test.ts's makeTestLayer.
…lias (pingdotgg#45471)

Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
(cherry picked from commit 40e9bb3)
…gdotgg#46571)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
(cherry picked from commit b3a0a02)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
(cherry picked from commit 307fa31)

Conflict resolved for M3 Code: merged previewFailure import and appended gzip tests after existing TAR tests.
…ingdotgg#46901)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit e4b3586)

Conflict resolved for M3 Code: renumbered migration 124 to 147 after the fork's migrations.
…ingdotgg#47163)

(cherry picked from commit 2557009)

Conflict resolved for M3 Code: renumbered migration 125 to 148 after the fork's migrations.
…hen opened from the keyboard (pingdotgg#47181)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
(cherry picked from commit e97a699)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.