Repository navigation
chore: sync upstream main 0bdf33a; drop cursor-hygiene-webhook (关联 #31) - #32
Conversation
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
…s junctions point to (pingdotgg#21099) Co-authored-by: sheehanmunim <80079528+sheehanmunim@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ngdotgg#22730) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…tgg#22686) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Upstream deleted .github/workflows/cursor-hygiene-webhook.yml in 3e250a8. Remove the fork copy and let the fork-boundary release test treat a missing workflow as "forwarding cannot run", while still requiring the upstream repository guard whenever the file exists. The APK publication check is unchanged and still requires its workflow.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d8e659a980
ℹ️ 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".
| .execute({ | ||
| operation: input.operation, | ||
| cwd, | ||
| args, | ||
| maxOutputBytes: INDEX_LIST_MAX_BYTES, | ||
| ...(env === undefined ? {} : { env }), |
There was a problem hiding this comment.
Preserve the removal timeout for Windows preflight commands
On Windows, a non-forced linked-worktree removal now runs git ls-files and git status through this helper, but these calls omit timeoutMs and therefore inherit the driver's 30-second default. The previous git worktree remove path allowed five minutes, so a clean large worktree whose status scan takes 30–300 seconds will now fail before deletion. Pass the worktree-removal timeout through to these preflight executions as well.
Useful? React with 👍 / 👎.
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
概要
将上游
pingdotgg/t3codemain 同步到 fork main(前一次同步为 #31,同步到680152e27b)。0bdf33a34dc520d3ab1364cd116686b3492184bd(refactor(web): the add environment dialog owns its form state (refactor(web): the add environment dialog owns its form state pingdotgg/t3code#22686))b001e934078f9605cfd0198c19069bd7f6a64dea680152e27b2a961686389ca69a1557cbb2c55f089179178fdfdocs(agents): proof for a bug fix depends on the bug (docs(agents): proof for a bug fix depends on the bug pingdotgg/t3code#23008)fa42465ff6fix(server): removing a worktree on Windows no longer deletes what its junctions point to (fix(server): removing a worktree on Windows no longer deletes what its junctions point to pingdotgg/t3code#21099)5a0d1594e8perf(web): a streaming thread re-renders only its own sidebar row (perf(web): a streaming thread re-renders only its own sidebar row pingdotgg/t3code#22730)0bdf33a34drefactor(web): the add environment dialog owns its form state (refactor(web): the add environment dialog owns its form state pingdotgg/t3code#22686)提交
85189f76d5Merge upstream pingdotgg/t3code main 0bdf33a into fork main(git merge,未 rebase)d8e659a980fix(ci): drop cursor-hygiene-webhook workflow to match upstream冲突及处理
无冲突。
apps/server/src/vcs/GitVcsDriverCore.test.ts由 git 自动合并(fork 与上游都改过该文件),已单独跑过其测试(见下)。git diff origin/main HEAD涉及的文件集合与上游680152e27b..0bdf33a34d的文件集合完全一致(14 个文件),fork 独有改动未受影响。ci.yml(setup-vp、PR Gate 结构)、release.yml(仓库守卫)、model-manifest.json(orchestrationProtocolVersion:opencode/1 <0.0.46 = 1,opencode >=0.0.46 = 2,pi/2 = 2)本次均未改动。删除文件检查
git diff --diff-filter=D origin/main HEAD:.github/workflows/cursor-hygiene-webhook.yml。该文件来自上游(b5febb1b47添加),上游已在3e250a8387删除(3e250a8387是 merge base 的祖先,所以 merge base 中已无此文件);fork 曾在e37d4dd445恢复了一份带守卫的版本。它不是 fork 独有文件。测试改动与 workflow 删除
上游在
3e250a8387删除了.github/workflows/cursor-hygiene-webhook.yml。为与上游保持一致,本 PR 删除 fork 中的该文件,并调整.github/scripts/opent3code-release.test.cjs中的测试 “upstream APK publication and Cursor forwarding cannot run in the fork”:forwardjob 带有if: github.repository == 'pingdotgg/t3code'守卫;mobile-android-apk.yml/mirror)不变,文件缺失或缺少守卫依然失败。同时更新
docs/operations/pr-actions.md中关于该 webhook 的描述(仓库内唯一的其他引用;knip 配置中无引用)。验证(仅运行该测试):
if:守卫,测试已修改cursor-hygiene-webhook.yml must keep a job-level upstream identity boundarymobile-android-apk.yml去掉守卫,测试已修改mobile-android-apk.yml must keep a job-level upstream identity boundarymobile-android-apk.yml缺失,测试已修改所有临时改动均已还原。
本地测试结果(逐个运行)
node --test .github/scripts/opent3code-*.test.cjsnode --test .github/scripts/*.test.cjspython3 .github/scripts/stage-preview-bundle.test.pynode .github/scripts/opent3code-source-integrity.cjs --placeholder-only origin/main HEADapps/server:vp test run src/provider/providerMaintenanceRunnerapps/server:vp test run src/provider/providerCompatibility.test.ts src/provider/ModelManifest.test.ts(含 #28 守卫)apps/server:vp test run src/vcs/GitVcsDriverCore.test.ts src/storageCleanup.test.ts(自动合并文件)vp lint .github/scripts/opent3code-release.test.cjsvp fmt --check(改动的测试文件与文档)未验证
AddEnvironmentDialog.tsx、ConnectionsSettings.tsx、Sidebar相关)及packages/client-runtime的单元测试未在本地运行