Skip to content

chore: sync with upstream/main (13f89ae0a) - #90

Merged
Fryuni merged 721 commits into
mainfrom
fryuni/merge-upstream-preserve-fork-intent-1
Nov 14, 2026
Merged

Fryuni merged 721 commits into
mainfrom
fryuni/merge-upstream-preserve-fork-intent-1

Conversation

@Fryuni

@Fryuni Fryuni commented Nov 14, 2026 •

Copy link
Copy Markdown
Owner

Problem

The fork is 719 commits behind upstream/main. This sync keeps the features recorded in docs/adr and uses upstream's implementation wherever it can.

Change

Merged pingdotgg/t3code main at 13f89ae0a. 27 files had content conflicts. git show --remerge-diff 3963297f82 shows the whole resolution.

Workflows (ADR 0011). The fork keeps its own ci.yml layout and required check names. Upstream's other workflows, which it modified in this range, are dropped again, along with its new issue-vouch.yml. ci.yml and server-linux-release.yml now pin their actions to the same commit SHAs as upstream (pingdotgg#33696).

Implemented upstream

No upstream commit in this range supersedes a whole ADR.

Re-homed on upstream's structure

Fixes for new upstream interactions

  • Upstream's new ThreadDetailsPanel and useComposerSelection browser tests now pass the fork's props.
  • A mobile triage test mock now includes environment, which the fork's capability read needs.
  • In PullRequestSyncReactor.test, the shared-PR test keeps the fork's lowercase repository expectation.
  • Upstream's build-desktop-artifact test for the macOS preview (fix(ci): macOS PR previews no longer run the PR's bundle next to signing secrets pingdotgg/t3code#36407) reads desktop-macos-preview-publish.yml, which the fork drops, so the test is dropped too (ADR 0011).

ADRs

All ADRs now compare against 13f89ae0a. Notes were added in 0002, 0008, 0009, 0011, 0020, 0023, 0025 and 0028.

Verification

  • vp run typecheck: 41/41 packages pass.
  • vp run check:changed origin/main:
    • Format, lint, knip, GraphQL, typecheck, node --test and the React compiler pass.
    • The 819-file test stage hit the local 900 s limit, so CI's full suites cover it.
    • unused patches failed. That check resolves dependencies fresh, without the lockfile, and a newly published unenv trips an infra/relay peer warning. The manifests are identical to upstream's, and no unused patch was reported.
  • Targeted tests on every file both sides changed, all passing:
    • Server: 26 files / 1,525 tests, plus storageCleanup (223) and AgentContextBudget.
    • Packages: provider-pi, contracts, shared, client-runtime, source-control-forgejo.
    • Web: 19 unit files / 637 tests, plus 13 browser files / 91 tests in Chromium.
    • Mobile: 8 files / 145 tests.
    • Desktop: 3 files / 34 tests.
    • scripts/dev-runner.
  • Three GitManager tests fail locally because this machine's global git config sets push.default=upstream. They pass with GIT_CONFIG_GLOBAL=/dev/null.
  • An independent review checked every conflict resolution and all 145 files both sides changed against the ADRs. It found no defects introduced by the merge.

Not run locally: a manual pass in a real client, the fork release workflow end to end, and the full test suites, which CI runs.

Model: Claude Opus 5.5; harness: Claude Code in T3 Code.

🤖 Generated with Claude Code

juliusmarminge and others added 30 commits November 13, 2026 08:55
… forward (pingdotgg#30173)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…model (pingdotgg#34149)

Co-authored-by: Ali Alwan <Ali-Al1@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…lank cell (pingdotgg#35341)

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…tgg#36211)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
StiensWout and others added 17 commits November 14, 2026 01:16
…dotgg#36561)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ingdotgg#25874)

Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…gg#36602)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…nel (pingdotgg#36606)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…#36610)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
pingdotgg#36604)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ingdotgg#25858)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ingdotgg#26069)

Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…dotgg#36584)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…#36608)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Copilot AI balanced review requested due to automatic review settings November 14, 2026 10:46
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-14T10:58:44.291415Z 0b830c7 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3963297f82

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copilot AI balanced review requested due to automatic review settings November 14, 2026 10:54

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

Comment thread packages/ssh/src/tunnel.ts Resolved
@fryuni-proval

fryuni-proval Bot commented Nov 14, 2026

Copy link
Copy Markdown

@Fryuni, thanks for the work on desktop startup and remote-connection reliability.

Overview

The reviewed paths add faster backend readiness signaling, safer update handoffs, preview-browser controls and certificate approvals, and Linux process-spawning safeguards. My targeted review focused on desktop lifecycle, SSH ownership, and the new spawning wrapper; it was not exhaustive across all 1,837 changed files. Tests were inspected but not executed.

Main Issues

Recommendation: request changes for the two failure cases detailed inline.

⚫️ apps/server/src/process/NonBlockingSpawner.ts:27–31 — Two hung filesystem checks exhaust the global slots and indefinitely block unrelated local process spawns.

⚫️ packages/ssh/src/tunnel.ts:673–675 — Reusing a remote server overwrites its launcher owner, enabling another desktop to claim that process after an alias change.

Both would benefit from focused regression tests: an unrelated spawn while two checks remain hung, and two desktop launcher IDs sharing the same SSH state key before a rename.

@fryuni-proval

fryuni-proval Bot commented Nov 14, 2026

Copy link
Copy Markdown

@Fryuni, thanks for aligning the packaging tests with the fork’s workflow policy.

Overview

This follow-up removes the assertion that reads the intentionally absent macOS preview workflow and documents that exclusion in the ADR. The runtime regression test that checks an untrusted macOS bundle never executes remains in scripts/build-desktop-artifact.test.ts:1433. Tests were inspected, not executed.

Good points

🟢 docs/adr/0011-fork-release-source.md:36 records the specific workflow-dependent test exclusion and links its upstream change, helping future syncs preserve the fork boundary without dropping shared packaging coverage.

Main Issues

No new actionable issues found in this two-file push. No additional changes requested for this follow-up; the earlier PR-wide recommendation is unchanged.

@Fryuni
Fryuni merged commit 5cd6ba9 into main Nov 14, 2026
9 checks passed
@Fryuni
Fryuni deleted the fryuni/merge-upstream-preserve-fork-intent-1 branch November 14, 2026 11:07
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.