Repository navigation
chore(stage): merge upstream main 78552a8c6 into stage - #278
Merged
Merged
Conversation
…ingdotgg#15254) Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
…ge histories (pingdotgg#15149) Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ingdotgg#14992) Chat stays centered while the workspace card fits beside it with 32px to spare. When it does not fit, chat moves left only as far as needed, narrows only after it reaches the left padding, and the card becomes a popover below a 640px chat. The card is lighter: 280px wide, 32px rows, no section labels, no "Project folder" hint. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>
…gdotgg#15330) Takes over pingdotgg#14876. Co-authored-by: tris203 <admin@snappeh.com> Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ngdotgg#15333) Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
… you (pingdotgg#15346) Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…otgg#15009) Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
…itch (pingdotgg#15355) Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…own (pingdotgg#15388) Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
…dotgg#15334) Co-authored-by: scratchyone <11479077+scratchyone@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…" in release builds (pingdotgg#15142) Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: saphid <saphid@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…g#13217) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ingdotgg#16400) Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Co-authored-by: Yash Singh <saiansh2525@gmail.com>
Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>
…#16515) Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com> Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Merges 240 upstream commits (aad7329..78552a8, 2026-10-03 → 2026-10-06) into stage. 77 files conflicted; fork features are kept. Beyond the conflicts, the merge also carries: - Effect 4.0.1 (pingdotgg#16138): fork files move from `effect/unstable/*` to `effect/*`. - Server modules flattened (pingdotgg#16295) and layers renamed (pingdotgg#16282): fork imports and tests follow the new paths and names. - MCP scope reshape (pingdotgg#15219): the fork's principal/actor fields sit on upstream's thread/client/requestNamespace shape; external callers are thread-less clients; pull-request tools take upstream's `threadId`. - Upstream migrations 057/058 run at fork ids 1046/1047. - New lint rules (prefer-catch-tags, suppression reasons) applied to fork code; `node:crypto` in fork files is suppressed with a reason (follow-up: Effect Crypto). - New worktree branches use upstream's `t3/` prefix (`t3/<codename>`). - Root .gitmodules declares upstream's two vendored gitlinks (update = none). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Collaborator
Author
Merge difficulties log (full)Every place this merge cost time, with a lesson for how fork add-ons should be built. D1–D13 in the order they were found. D1. Upstream flattened
|
stage moved to 668aab6 (PR #277: expbkmain and the Claude rotation port) while the upstream merge was in progress. Two conflicts: one import line in ClaudeAdapterV2.test.ts, and the restored claudeUsageLimits test, which git moved out of provider/Layers/ (flattened upstream). publish-bk-desktop-dmg.ts follows the new prefer-catch-tags lint rule. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
RestartContinuation now reads turn items and recovers delegated tasks, and upstream's thread-search test mocks every atom, which the fork's offline search reads. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…er owner - orchestration.getTurnItem and secrets.answerRequest (new upstream RPCs) now require thread access, like the neighbouring diff and projection RPCs. - PR watch groups split by owner and source-control profile, so a group's reads never use another owner's credentials (regression from the merge). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…mping the nightly version Upstream's server browser tests (pingdotgg#15328) need a headless Chromium, which upstream CI installs. A new upstream CLI test reads the release channel from the package version, so the stage job now tests against the committed versions, as upstream CI does, and stamps the nightly version only for the build. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Collaborator
Author
Merge difficulties log, part 2 (D14–D18)Found after the first comment. D14–D18, in the order they were found. D14. The base branch moved during the merge
D15. CI round 1 and the fresh review found what local checks missed
D16. Upstream CI assumes runners the fork does not have
D17. The stage gate runs all suites on one runner; upstream's own timeouts assume it does not
D18. The fork's deploy workflow drifts from upstream CI's runner setup
|
Collaborator
Author
|
Merged by bk-agent-01 at head |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
stagewas 240 upstream commits behindpingdotgg/t3codemain(last syncaad732901, 2026-10-03). Tushar asked to bringstageup to date and deploy it.What this PR does
It merges upstream
mainat78552a8c6intostage. All fork features stay. 77 files had conflicts. About 230 more fork files did not conflict but did not compile after the merge, so this PR fixes those too.Decisions to review
principal,actorUserId,backgroundGrantHash) now sit on upstream's newthread/client/requestNamespaceshape. External users and operators are thread-less clients with afull-accessceiling. They no longer get a made-upexternal-user:<id>thread id.link_pull_request,unlink_pull_request,list_thread_pull_requests,watch_pull_requestandunwatch_pull_requesttake upstream'sthreadId. The fork'ssessionIdparameter is gone. I found no caller that sendssessionIdin bk-docs, the Linear bridge or Toolyard.requireForkTargetProject).ws.tsscope checksconfinedThreadId). It does not get "no restriction".057_ScheduledTaskWebhooksand058_WebhookRelayDeliveriesrun at fork ids 1046 and 1047. No existing id changed.t3/(pingdotgg#16220). New worktree branches are nowt3/<codename>. Oldt3code/*branches still count as taken.effect/unstable/*toeffect/*. One fork test changed how it injects a failure, because the 4.0.1 migrator treats a constraint error on the ledger insert as "locked" and returns no migrations.node:cryptonode:crypto. Each file now has an@effect-diagnosticssuppression with a reason. Moving them to EffectCrypto(pingdotgg#16377) is a follow-up..gitmodules.repos/. A marked root.gitmodulesdeclares them withupdate = none, so a full checkout does not fail.orchestration.getTurnItemandsecrets.answerRequestnow require thread access, like the diff and projection RPCs next to them. A denied secret answer reportsnot_found. A fresh review found these two gaps.onPongwarning inclient-runtime/src/rpc/session.tsis gone. Upstream pingdotgg#16200 reports dropped connections, and Effect 4.0.1 removed the hook.Follow-ups (not in this PR)
ThreadDetailScreen.tsxcan show two notices for a rejected queued message: the fork'sfailedOutboxDetailnotice and upstream'sComposerErrorNotice(fix(mobile): a message that fails to send now says why in the thread pingdotgg/t3code#15807).fork/integratedBrowserLinks.tsx,fork/pullRequestBrowserLinks.ts) still useisPreviewSupportedInRuntime(), so they do not use upstream's server-hosted browser (feat(preview): run the browser on the environment server pingdotgg/t3code#15328).SidebarChrome.tsxusesmin-h-8instead of upstream's clippingh-8wrapper, to keep the fork counters visible. This needs a visual check on stagebkt3.DirectEndpoints.resolve()runs tailscale probes on every config read. Watch stage for slow connects.connectDiscoveryCache.expbkt3.tscaches the same probes for other paths.node:cryptofork files to EffectCrypto.Checks run before push
contracts,shared,client-runtime,server,web,desktop,mobileandscriptsall pass with 0 errors.mainpasses.contracts(700),client-runtime(2,450) andmobile(2,079). Focusedweb(756) anddesktop(117) tests. About 1,500 focusedservertests for migrations, provider registry, worktrees, usage, MCP, webhooks, presence, Toolyard, auth, preview and orchestration-v2.Lessons for fork add-ons (from this merge)
The full log of every difficulty is in the first PR comment. These are the main points:
effect/unstable/*, and fork fields on an upstream interface that upstream reshaped.Model: Claude Opus 5.5 (orchestrator plus Opus subagents), Claude Code harness in T3 Code.
🤖 Generated with Claude Code