Skip to content

[不合併] develop rebase 到 v1.4.252 的 CI 驗證 - #144

Closed
audichuang wants to merge 501 commits into
ci-base/v1.4.252from
rebase/v1.4.252
Closed

audichuang wants to merge 501 commits into
ci-base/v1.4.252from
rebase/v1.4.252

Conversation

@audichuang

Copy link
Copy Markdown
Owner

只用來在 rebase 後的 develop 上跑 Fork PR Checks,不會合併。base 是指向上游 v1.4.252 的暫時分支 ci-base/v1.4.252(對 develop 開會因兩份歷史衝突而跑不了 CI),驗完就刪。自動 rebase(RUN=20261107T041730Z)。

Summary

-develop = v1.4.251 + 491 個 fork commit(含 PR merge 前的 commit,rebase 後線性化)
+develop = v1.4.252 + 490 個 fork commit(1 個變空被丟)+ 6 個修正

MANUAL:13 個停點(含 rerere 重放)、1 個 commit 變空、6 個額外修正 commit。

衝突解法

  • review/use-hosted-review-creation.ts(9874363ab9、8c158c4cd9):import 區塊;上游的 openAppHttpLink 新路徑 @/lib/browser/navigation/app-http-link-open,下一行接 fork 的 ../folder/worktree-scope import(9874363ab9 時是 useSourceControlWorktreeScope、8c158c4cd9 改成 useSourceControlForeground)。筆記 3228095 照做。
  • sync/use-git-history-commit-actions.ts(4e77127a52、927f38d84a):hunk 1 採 fork(explain 相關 import 已搬到 fork 的 git-history-commit-explain.ts);hunk 2 採 fork 的 import,openWorkspaceBrowserTab 用上游新路徑 @/lib/browser/workspace/workspace-browser-tab-open。最終檔與 canary 解法檔逐位元組相同。筆記 3228095 照做。
  • app-shell/use-global-keybindings.ts(2094a9a1dd):採上游 matchAppShortcut 結構,在 sidebar.childWorkspaces.toggle 前加回 fork 的 sourceControl.openGitGraph(也用 matchAppShortcut)。與 canary 解法檔相同。筆記 25d677f 照做。
  • lib/workspace/persistence/workspace-session.ts(9a846319d8,上游從 lib/workspace-session.ts 搬來):hunk 1 只留 WorkspaceVisibleTabType 新路徑 import;hunk 2 export { buildSanitizedTabsByWorktree }(上游不再轉出 buildActiveConnectionIdsAtShutdown)。與 canary 解法檔相同。筆記 3228095 照做。
  • rpc/methods/source-control/git/git-diff-methods.ts(81e4d6b243、0ab01a46fd,上游 refactor(main): group RPC and orchestration modules by feature ownership stablyai/orca#38813 搬家):import 區塊採上游,加 fork 的 gitDiffReadArgs import(先 diff-render-limit-options、後 git-diff-read-options)。與 canary 解法檔相同。筆記 0314da7 照做。
  • store/slices/editor/actions/open-file-apply.ts(04442bfac7):只放 fork 的 linkSplitGroupState import;上游改的 createBrowserUuid 來源(shared/non-secure-context-uuid)搬到 fork 的 open-file-link-split.ts。筆記 3228095 照做。
  • config/flaky-test-pattern-baseline.txt(37c2c07707、18b1f257db):兩次都採上游。37c2c07707 加的 fork 行由 18b1f25 全部拿掉(FORK.md:這個檔不放 fork 行),所以 37c2c07 變空被丟(range-diff 的 <),最終檔與 v1.4.252 相同。
  • src/main/persistence/profile-state/profile-state-access.test.ts(43a93aa389):上游 test: remove 513 low-value persistence and benchmark tests stablyai/orca#38922(590f945a5e)重寫此檔。照 FORK.md「Deliberate departures」那條採上游整檔、丟掉 fork 的假 PID 修改(筆記 590f945 建議保留 staleOwnerPid,跟 FORK.md 不同;FORK.md 是規則來源,且保留的那幾行改回去不會有測試變紅,無法證明)。FORK.md 那一段同步改寫。
  • clipcode/clipcode-copied-toast.sonner.test.tsx(18b1f257db,modify/delete)、editor/ChangesModeView.fork.test.tsx(c21dbec624,modify/delete)、.github/workflows/fork-pr.yml 與 FORK.md(286c621f98,rerere 重放):都是 fork 自己的 commit 因為 rebase 把 merge 線性化而互撞,不涉上游。前兩個照舊 develop 的最終狀態(toast 測試保留 18b1f25 版、ChangesModeView.fork.test 已併進 folder-diff-notes.fork.test.tsx、刪除)。

核對:fork 新增的 592 個檔,HEAD 與舊 develop 只差 open-file-link-split.ts(刻意改 import)與 folder-diff-notes.fork.test.tsx(線性化丟掉 c21dbec 的一行,修正 commit 補回);fork 改過的 215 個上游檔,上游沒動的 162 個 HEAD 與舊 develop 相同,上游動過的 53 個 fork 的 +/- 行與舊 develop 相同,或對應到上面的衝突與搬家。

額外 commit

  • docs(fork): profile-state-access now follows upstream's rewrite (#38922):FORK.md 改成四個帶 fork 修改的上游測試檔。
  • test(fork): restore the folder diff notes test's edit-mode file lost when the rebase flattened its merge:見上。
  • fix(fork): move fork wsl-move dispositions to a fork file…(筆記 1c950ba 照做):新 src/shared/wsl-move/fork-local-storage-dispositions.ts,上游檔回到 300 行內。
  • fix(fork): move EditorPanel's diff file wiring to a fork file…(筆記 c5383af 照做):新 editor/editor-panel-diff-files.tsx,EditorPanel.tsx 回到 400 行內。
  • fix(fork): pass Git Graph's branch name to useSourceControlGitHistory(筆記 b53db37 照做)。
  • fix(fork): follow upstream's renderer lib and RPC module moves in fork files(筆記 3228095、0314da7ed8 照做):git mv 5 個 fork 檔到上游新目錄、改 import/vi.mock 路徑、seam 清單路徑;另外補了筆記沒列的 terminal-pane/pty-connection-test-environment.test.ts(上游把受測檔搬到 pty-connection/test-fixtures/)。

用到的筆記條目

  • 3228095、0314da7ed8、25d677f7ad、b53db37643、c5383afb6c、1c950baf33 — 照做(canary 快取 20261106T213052Z-55140 的解法檔,fork 獨有檔直接採用;上游檔逐行比對只差 fork 的改動)
  • 590f945 — 跟 FORK.md 不符,改照 FORK.md 採上游整檔
  • 待人判斷的 2 條(folder 外部變更配對、vi.mock 路徑)與 folder 筆記 owner 那條未做(不在無人值守範圍)

Merge Danger

Door: two-way(不合併;develop 移動前有備份分支)

Blast Radius: 全部 fork 功能

audichuang and others added 30 commits November 7, 2026 12:19
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FvVSY12we7czWFwdZhmgWu
…sitional params

The fork appended optional positional params to upstream functions; when upstream adds
a param in the same slot, the fork value binds to it with no type error. Fork values now
travel in an options object, reusing an upstream one where it exists:

- skipRenderLimit rides getDiff's GitRuntimeOptions; buildDiffResult, IGitProvider.getDiff
  and getRuntimeGitDiff take a trailing GitDiffReadOptions. The RPC method spreads it only
  when set, so the call keeps upstream's arity; the duplicated ternary calls are gone.
  Wire fields (IPC args, git.diff zod params) are unchanged.
- openAllDiffs, openBranchAllDiffs, openCommitAllDiffs, openConflictReviewFile and
  openConflictReview take GitOwnerOpenOptions; all nine open actions share one
  resolveOpenGitWorktreeId.
- readAgentLaunchChoice/agentsOfferedForLaunch take upstream's tuiCustomization shape;
  buildHydratedEditorSessionState and reconcileOpenFilesForStatus take one options object.
- Pin the history panel's commit combined diff call with a contract test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…w opens

- The real-git skipRenderLimit test never reached the settled diff cache: it writes the
  repo just before reading, inside the stamp's 2s racy-write margin, so nothing is stored.
  A settled repo does cache the viewer's limited read, and without skipRenderLimit in the
  key Copy Full Source got that truncated result. Backdate the repo and pin both reads.
- Render SourceControlPanelContent and CombinedDiffViewer with the real store and stub only
  the leaf controls that hand back callbacks, so each of the seven combined-view opens goes
  red when it drops the folder repo's git owner.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…remaining hops

- openUncommittedEntry takes tabWorktreeId in its options; openCommitFile and the commit
  file list's onOpenFile take { sequence } / { entries }; waitForRefusedNavigation and
  withPlannedLaunch take { armGraceNow } / { launchCwd }.
- Name the store actions' trailing object gitOwner; rename diff-render-limit-options.ts
  to git-diff-read-options.ts.
- A moved submodule gitlink's inner-file diff now honours skipRenderLimit.
- Real-store tests: a folder repo's commit combined diff and commit file (with its file
  sequence) keep the repo as git owner; a folder-relative tab's conflict survives the
  repo's repo-relative status; a real-git submodule test pins the full inner text.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…k helper

Folder repo sections re-derived the tab owner (folder editor) and git owner
(repo worktree) inline in several upstream files. resolveTabOwners and
useSourceControlOwners in folder/worktree-scope.ts now hold that rule,
composed on resolveOpenGitWorktreeId, and the discard paths' dual-owner
quiesce/notify loops move to folder/repo-editor-owner-save-holds.ts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… seams

A note opened from a folder repo section must open in the folder editor with
the repo as git owner; no test covered it. The discard autosave-hold and
preview-open folder tests now run as seam tests too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…d branch rows

Real-store tests now go red when a folder repo section's discard stops
notifying the folder's tabs (helper fan-out, single and bulk callers), when
a markdown note loses its folder tab or repo git owner, and when a branch
row drops its git owner. The owner helpers take plain string ids and the
save-hold helpers an array, deriving each target's owners from its own repo.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…arget or a list

Keeps the discard call sites in use-entry-mutations.ts at their smallest;
owners are still derived per target inside the helper.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…into fork slots

ClipCode's menu items and buttons were written inline into upstream source control
and file explorer components, with callbacks drilled through the listing and explorer
rows. A fork-owned context is now provided once per repo panel (single-repo-panel) and
once per explorer row list (ClipcodeExplorerVirtualRows), and fork components read it:

- entry-context-menu takes one typed slot (viewItems / copyItems), like GitHistoryPanelSlots;
  Open to the Side, Show File History and Copy Full Source render through it.
- uncommitted-sections, bulk-action-bar and the explorer row menu render one fork
  component each; section-file-list, FileExplorerRow and FileExplorerVirtualRows are back
  to upstream.

Behavior, order, labels and disabled states are unchanged. New real-store seam test
panel-clipcode-actions.fork.test.tsx covers the row menu, section header and bulk bar;
the explorer wiring test now right-clicks real rows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Panel seam test asserts separator placement around the fork view and copy items,
  and finds the bulk bar's copy button without walking parentElement.
- Branch compare rows and commit file menus assert their Open to the Side item.
- New bulk-action-bar.fork.test.tsx (seam-listed) asserts the copy button is disabled
  while a bulk action runs.
- Commit files menu test asserts each slot action exists before calling it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Upstream v1.4.240 (stablyai#6282) expires terminal path-existence misses with its
own {exists, checkedAt} cache, so the fork fix 078ffe8 was dropped in the
rebase. Its two seam tests asserted the fork's 3s TTL constant and go with it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v1.4.240 reverted stablyai#32320, so getOpenFilesForExternalFileChange takes two
arguments again; the folder discard seam test still passed the store as a
third one and broke the web typecheck.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The toast clearance resolved during the v1.4.240 rebase had no test that
went red when mobileOffset fell back to upstream's static value: the
clearance unit tests never render the Toaster and the rendered journey runs
wider than Sonner's 600px breakpoint. Render the Toaster and assert both
--offset-bottom and --mobile-offset-bottom carry the clearance variable.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ered seams

The rebase review's mutation pass found two more seams that no seam test
turned red: dropping the bulk action bar's toastBottomClearanceRef, and the
folder-routing and gitWorktreeId persistence hunks whose only red tests sat
outside config/fork-seam-tests.txt. Assert the bar lifts toasts above itself,
and list the four existing tests that already go red under those mutations.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… stacking

Repeated copies stacked up to three "file(s) copied" toasts at the bottom
right. When the pointer rested on the stack after a context-menu click, sonner
expanded it and paused its timers, so it covered the Staged rows and the
section's Copy Full Source button until the pointer left (fork e2e S9a/S9b).
The clipboard only holds the latest copy, so dismiss the previous copy toast
when showing the next. S9a now checks there is one copy toast and that it
leaves the rows and the Staged header button it clicks next uncovered.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… the exit window

The S9a check measured toast/row overlap, which is stricter than a click: at a
1280x720 window one toast overlaps the next row while Playwright scrolls it out
and the click succeeds. Keep the one-copy-toast assertion and trial-click the
upcoming targets instead, which runs the real hit-target check.

Add the component case where a copy lands during the previous toast's exit
animation; reusing a stable toast id loses that notification.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Trial clicks were still stricter than the real right-click at a 1280x720
window (shorter retry budget, and the bulk bar covers rows there too). The
count assertion is what goes red on the old stacking code; the scenario's own
clicks remain the clickability check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…are check

Why: in a narrow window the diff editor renders inline, and its deleted-line
view zone also carries .view-lines, so the locator matched two elements and
failed in strict mode (PR #64 CI run 40160587129).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Upstream's dead-code passes cannot see fork readers, and every export the
fork adds to an upstream internal is a rebase conflict point.

- Use public upstream symbols instead: EditorSaveQuiesceTarget via
  Parameters<typeof requestEditorSaveQuiesce>, GitHistoryCommitFilesLayout
  via GitHistoryCommitFiles' props.
- Copy small pure helpers into fork files (origin named for re-sync) and
  revert the added exports: initialsFor, GraphPath,
  createParentDirectoriesForNewFile; drop the unread SWIMLANE_CURVE_RADIUS
  export.
- Move fork-added code out of upstream files: commitDiffTabId,
  SOURCE_CONTROL_OPEN_TO_SIDE_EVENT and its shortcut label, asar statSync.
- Pin what cannot be copied (isSafeGitRemoteName, GitHistoryGraphNodeMarker,
  SWIMLANE_HEIGHT/WIDTH) in config/fork-upstream-api.txt, checked by
  fork-upstream-api.mjs in fork-check-lint.
- Test the inner fork-distribution guards in UpdaterNudge and
  checkForPinnedBuild unmocked; joins the updater seam group.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The regex check passed default, aliased and commented-out exports and failed
indented, commented, multi-declarator and star-re-exported ones. Walk the
TypeScript AST instead, following relative `export *` with a visited set, and
table-test each of those cases.

Bind the copied createParentDirectoriesForNewFile to the runtime file clients
upstream passes in, and test its EEXIST, non-directory and routing behavior.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…k-editor-tab-kinds

Upstream editor-kind sites now call a fork module instead of carrying inline
'git-graph' branches: src/shared/fork-editor-tab-kinds.ts (kind predicate and
set helper) and git-graph-tab/fork-editor-tab-kinds.tsx (lazy view, icons,
header copy state). Wire formats and union types keep their literals.

A source-scan guard (src/shared/fork-editor-tab-kinds.test.ts) fails when a
file naming 'check-details' handles neither git-graph nor the fork module, so
a new upstream editor-kind site cannot silently miss the Git Graph case. New
seam tests cover the sites no test pinned before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…editor-kind modules

- EditorContent.fork.test: the Git Graph view's first import fails and the
  retrying loader recovers it, so a switch to React.lazy goes red.
- old-client-session-tabs-projection.fork.test: a live Git Graph tab publishes
  no row beside a file tab.
- RecentTabSwitcher.fork.test asserts the Git Graph option exists.
- Rename the renderer module to git-graph-editor-surfaces.tsx (JSX icon) and the
  guard to fork-editor-kind-sites.guard.test.ts, documented as a heuristic.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ndow does

The window sends a Git Graph tab's file only inside its view, so the fixture
drops the top-level file record and asserts the view landed. It now guards a
Git Graph tab published as a synthetic file row from its view.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ting the ticket

The v1.4.240-fork.1 release failed twice at `xcrun stapler validate` with
Error 68 ("The network connection was lost." from api.apple-cloudkit.com),
after notarization succeeded and the ticket was stapled. stapler fetches the
ticket from CloudKit, so a hosted runner's flaky path to Apple threw away a
ten-minute signed build, and the workflow made that round trip twice.

- config/scripts/fork-stapler-validate.sh retries only exit 68 (EX_NOHOST),
  three attempts 30s apart; any other failure, such as a missing ticket
  (65/66), still fails at once. make fork-dmg uses it.
- The workflow's verify step checks the stapled ticket offline from the
  codesign output instead of asking CloudKit a second time; the Developer
  ID, team, codesign --verify and spctl checks are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…se and wiring-shape rules

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tate on fork-canary-notes

The canary and auto-rebase skills move from ~/.claude/skills into .claude/skills
(force-added: upstream ignores the directory), with their prechecks. Their shared
state moves to the orphan branch fork-canary-notes, written only through
config/scripts/fork-notes.sh, which never forces and exits 2 when another run
wrote first. The canary now removes only the worktree it kept, matching
fork-canary.sh and FORK.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…it compares against

Also keeps a run worktree someone took over, drops the scope sentence the
limits section repeats, and updates the description to the notes branch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
auto-rebase: push the verified sha instead of an unborn local branch, push
ci-base as a commit, take the lock before rebasing, carry OLD_DEVELOP in the
PR so a RESUME cannot drop PRs merged meanwhile, drop the attempt when the
lease fails, delete consumed notes only after develop moves, keep worktrees a
live run or the user still uses, name temporary worktrees per run, inline the
release cleanup, and define the review gate.

canary: fetch notes before running, keep the summary on setup errors, compare
new root causes against the notes as they were, rebuild conflicts with
merge-file, never commit or record rerere in the kept worktree, keep reports
outside the run worktree; its precheck only skips an in-flight rebase and
alerts on failure.

fork-notes.sh: a failed fetch no longer reads as a concurrent write.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…he verified head

A RESUME posts a heartbeat first; every outcome that keeps rebase/vNEW for a
person opens the PR if needed and marks it needs-human, which both prechecks
and step 0 treat like verified. gh calls name the fork; the drop recipe
converts the sha to git's short length and checks the range-diff; the release
tags the head step 6 pushed and refuses if develop moved; the backup push
gates the develop push.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@audichuang

Copy link
Copy Markdown
Owner Author

CI 第 2 輪(run 42350655455,head fcd1dc2):30 個 check 全綠。static 的 fork-lint-run 40 步 251.8s 通過(type-aware 90.7s、code-quality:changed 49.9s 錯開),max RSS 14.2 GB。

@audichuang

Copy link
Copy Markdown
Owner Author

resume 開始(RUN=20261107T225957Z)

@audichuang

Copy link
Copy Markdown
Owner Author

本機閘門開始(RESUME,head fcd1dc2;上游基準沿用 run 408 對同一 tag v1.4.252 的結果:tc/lint/daemon-protocol-crossing 全綠)

@audichuang

Copy link
Copy Markdown
Owner Author

盲審開始(RESUME,head fcd1dc2):run 408 的 A、B、Codex 第 1 輪(head 547d4c7)已完成且皆 ACCEPTABLE,沿用;hunk 掃描沿用 547d4c7 的結果(到 fcd1dc2 只多 fork-lint-run.mjs 與其測試)。本輪補跑審查者 C,並對 fcd1dc2 做第 2 輪(Codex 同 thread+一個新 Claude 審查者)。

@audichuang

Copy link
Copy Markdown
Owner Author

第 1 輪修正:審查者 C 的兩個 BLOCKING(fork-lint-run 互斥接線、GitGraphTabView branchName 值都沒有測試會紅)補測試,跑本機 static 中。

@audichuang

Copy link
Copy Markdown
Owner Author

第 2 輪修正:Codex 指 Git Graph 新案例只斷言讀取次數(違反測試規則),改成斷言切分支後畫面顯示新分支的 commit;跑本機 static 中。

@audichuang

Copy link
Copy Markdown
Owner Author

審查結果(head f8e749e)

審查者 審的 head VERDICT
A 衝突忠實度(run 408) 547d4c7 ACCEPTABLE
B 上游 API 漂移(run 408) 547d4c7 ACCEPTABLE
C 測試與 seam fcd1dc2 NOT ACCEPTABLE(2 BLOCKING,已修)
D 修正 commit fcd1dc2 fcd1dc2 ACCEPTABLE
E 修正 6620da4、4e32a70d0f 4e32a70 ACCEPTABLE
F 修正 f8e749e f8e749e ACCEPTABLE
Codex(同一 thread 01a1b447…) 547d4c7 → fcd1dc2 → 4e32a70 → f8e749e ACCEPTABLE → ACCEPTABLE → NOT ACCEPTABLE(1 BLOCKING,已修)→ ACCEPTABLE

A、B 審完之後到 f8e749e 只多了 fcd1dc2(fork-lint-run.mjs 與其測試)和三個只改 fork 測試的 commit,沒有動產品程式碼或上游檔。

確認為真的 BLOCKING 與處理

  1. C:config/scripts/fork-lint-run.mjs:126 把 EXCLUSIVE_STEPS 判斷傳給 runStepPool 的接線沒有測試守(改成 () => false 仍 4/4 綠)。→ 6620da4 新增以真實 package script 跑 runLintSteps 的案例。變異證明:接線改 () => false → fork-lint-run.test.mjs > keeps the two type-aware package scripts apart…:AssertionError: expected true to be false。
  2. C:GitGraphTabView.tsx:73 的 branchName: worktreeBranchName(worktree) 改成 '' 時沒有測試會紅(Codex 第 1 輪也列為 NON-BLOCKING)。→ 4e32a70 新增「HEAD 不變只切分支要重抓」的案例。
  3. Codex:上面那個案例只斷言讀取次數,違反 repo 測試規則(work counts)。→ f8e749e 改成斷言畫面從 Initial commit 變成新分支的 Feature work。變異證明:branchName: '' → GitGraphTabView.component.test.tsx > refetches when the repo switches branch without moving HEAD… 紅在 toHaveTextContent;F 與 Codex 另外確認「讀取照發但畫面保留舊結果」的變異也會紅。

NON-BLOCKING(留待,列進通知)

  • C:use-git-history-commit-actions.ts:228、:273(open-remote 的 workspaceId: tabOwnerId、explain 的 { tabOwnerId, initialCwd })呼叫點沒有測試;不是這次的衝突 hunk(這個檔的衝突只在 import 區塊,跟舊 develop 只差一行 import 路徑),既有缺口。
  • C:cmd-j/quick-action-context.ts:212 刪掉 ...buildGitGraphQuickActionContext(...) 時 seam 組測試全綠,只有 pnpm tc:web 報 TS6133(未使用的 import);上游這版只改了這個檔的一個 type import,不在 resolved-files。既有缺口。
  • C:source-control-entry-context-menu.fork.test.tsx、entry-context-menu.show-file-history.test.tsx 的 vi.mock('@/lib/workspace/ownership/worktree-runtime-owner') 沒有作用(新舊路徑都綠,等價);Codex 第 1 輪也列了 repos-nested-scan-options.test.ts、pty-agent-pane-launch.fork.test.ts 指向不存在模組的既有 mock(pwsh 屬 Windows 範圍)。
  • C:workspace-session.ts 抽出 buildSanitizedTabsByWorktree 是等價搬移,在 v1.4.252 已不需要它也不會超過 max-lines。
  • C:fork-local-storage-dispositions.ts 的 spread 在 v1.4.252 沒有任何讀者(只在 WSL 搬移生效);搬檔本身由 max-lines 守。
  • C:EXCLUSIVE_STEPS 不像 EXCLUDED 會檢查名稱是否過期,上游改名時互斥會無聲失效。
  • D:type-aware 步驟跑時另一路仍並行其他 oxlint,16 GB runner 的記憶體餘裕很薄(max RSS 14.2 GB)。

逐 hunk 證明(摘要,完整表在 C 的結果)

  • guarded(redBy):git-diff-methods.ts:30、use-global-keybindings.ts:226、EditorPanel.tsx:67/:272、use-hosted-review-creation.ts:147/:176/:204、use-git-history-commit-actions.ts:113/:243、workspace-session.ts:147、open-file-apply.ts:146/:166。
  • skipped(tc 守):git-diff-methods.ts:8、EditorPanel.tsx:13、use-hosted-review-creation.ts:25、use-git-history-commit-actions.ts:6、workspace-session.ts:1、open-file-apply.ts:6/:33。
  • crash-only → 手動:EditorPanel.tsx:57(連 :67 改回 → expected false to be true)、:360/:414(改回 <DiffNavigationProvider> → Unable to find an accessible element with the role "status")、open-file-apply.ts:46/:69(6 例 AssertionError)、use-hosted-review-creation.ts:87(用到它的 hunk 皆 guarded)。
  • survived → lint:use-hosted-review-creation.ts:254(deps 刪 review, → react-hooks(exhaustive-deps),--deny-warnings exit 1);open-file-apply.ts:105(改回 → max-lines (305))。
  • 修正 commit:547d4c7ca5(max-lines (302) 與 3 個 AssertionError)、1d4538ec9d(EditorPanel.tsx max-lines (403))、6ef8d65559(wsl-move-storage-dispositions.ts max-lines (302))、aa68ea7444(expected '' to contain 'Review the repo change')、803b2f4ecf(見 BLOCKING 2、3)、2da902e144(import 路徑 → TS2307;vi.mock 路徑 → AssertionError 或 timeout;fork-seam-tests.txt → fork-test-inventory.mjs check exit 1)、fcd1dc2932(見 BLOCKING 1)。
  • 整檔採上游、沒有 fork hunk:flaky-test-pattern-baseline.txt、profile-state-access.test.ts。

seam 抽樣(上游這版改過的檔)

git.history graph option、Agent launch cwd、Folder SC action routing、Editor folder git-owner routing:拿掉 fork 接線都紅在斷言。git-graph tab type(Cmd+J spread):只有 tc 紅(見上)。

importer-sweep 人工確認

CI:f8e749eb3e 的 run 42426447240 30 個 check 全綠(「Fork PR checks passed」來自 fork-pr.yml)。本機 make -k fork-check-static 在 f8e749e 綠(40 lint 步);make fork-check-seams 在 fcd1dc2 147 檔 699 例全過(之後只改測試檔)。

@audichuang

Copy link
Copy Markdown
Owner Author

develop 已移到 f8e749e(備份 backup/develop-v1.4.251-20261107T225957Z = 37d8486)。Cmd+J seam(quick-action-context.ts:212):上游 v1.4.251..v1.4.252 對這個檔只改一行 type import 路徑(native-chat-split-shortcut → native-chat-pane-shortcut),沒有行為改動;拿掉 fork spread 由 pnpm tc:web(TS6133)擋下,列為既有缺口不擋。本機 fork-check-seams 在 f8e749e 147 檔 700 例全過。接著發版。

@audichuang

Copy link
Copy Markdown
Owner Author

發版開始 v1.4.252-fork.1

@audichuang

Copy link
Copy Markdown
Owner Author

v1.4.252-fork.1 已發佈:https://github.com/audichuang/orca/releases/tag/v1.4.252-fork.1(release run 42427320152 綠,tap 已是 1.4.252-fork.1;MacBook 上 Orca 開著,未自動升級)

@audichuang audichuang closed this Nov 8, 2026
@audichuang
audichuang deleted the rebase/v1.4.252 branch November 8, 2026 00:04
audichuang added a commit that referenced this pull request Nov 8, 2026
#132 改成兩路並行後,audit:code-quality:type-aware 與 check:code-quality:changed
會在約 80 秒時疊在一起。單一 type-aware 程序就約 14 GB RSS(run 42258894569),
rebase PR #144 有 617 個變更檔,兩個同時跑會耗盡 16 GB 的 CI runner:
run 42338744711 兩次 attempt 都在 fork-lint-run 約 80 秒被 SIGTERM(exit 143)。
這兩步改成互斥,其他步驟照舊兩路跑;每步開始時印名稱,下次被殺能看出是哪步。
audichuang added a commit that referenced this pull request Nov 8, 2026
#132 改成兩路並行後,audit:code-quality:type-aware 與 check:code-quality:changed
會在約 80 秒時疊在一起。單一 type-aware 程序就約 14 GB RSS(run 42258894569),
rebase PR #144 有 617 個變更檔,兩個同時跑會耗盡 16 GB 的 CI runner:
run 42338744711 兩次 attempt 都在 fork-lint-run 約 80 秒被 SIGTERM(exit 143)。
這兩步改成互斥,其他步驟照舊兩路跑;每步開始時印名稱,下次被殺能看出是哪步。
audichuang added a commit that referenced this pull request Nov 10, 2026
#132 改成兩路並行後,audit:code-quality:type-aware 與 check:code-quality:changed
會在約 80 秒時疊在一起。單一 type-aware 程序就約 14 GB RSS(run 42258894569),
rebase PR #144 有 617 個變更檔,兩個同時跑會耗盡 16 GB 的 CI runner:
run 42338744711 兩次 attempt 都在 fork-lint-run 約 80 秒被 SIGTERM(exit 143)。
這兩步改成互斥,其他步驟照舊兩路跑;每步開始時印名稱,下次被殺能看出是哪步。
audichuang added a commit that referenced this pull request Nov 10, 2026
#132 改成兩路並行後,audit:code-quality:type-aware 與 check:code-quality:changed
會在約 80 秒時疊在一起。單一 type-aware 程序就約 14 GB RSS(run 42258894569),
rebase PR #144 有 617 個變更檔,兩個同時跑會耗盡 16 GB 的 CI runner:
run 42338744711 兩次 attempt 都在 fork-lint-run 約 80 秒被 SIGTERM(exit 143)。
這兩步改成互斥,其他步驟照舊兩路跑;每步開始時印名稱,下次被殺能看出是哪步。
audichuang added a commit that referenced this pull request Nov 12, 2026
#132 改成兩路並行後,audit:code-quality:type-aware 與 check:code-quality:changed
會在約 80 秒時疊在一起。單一 type-aware 程序就約 14 GB RSS(run 42258894569),
rebase PR #144 有 617 個變更檔,兩個同時跑會耗盡 16 GB 的 CI runner:
run 42338744711 兩次 attempt 都在 fork-lint-run 約 80 秒被 SIGTERM(exit 143)。
這兩步改成互斥,其他步驟照舊兩路跑;每步開始時印名稱,下次被殺能看出是哪步。
audichuang added a commit that referenced this pull request Nov 13, 2026
#132 改成兩路並行後,audit:code-quality:type-aware 與 check:code-quality:changed
會在約 80 秒時疊在一起。單一 type-aware 程序就約 14 GB RSS(run 42258894569),
rebase PR #144 有 617 個變更檔,兩個同時跑會耗盡 16 GB 的 CI runner:
run 42338744711 兩次 attempt 都在 fork-lint-run 約 80 秒被 SIGTERM(exit 143)。
這兩步改成互斥,其他步驟照舊兩路跑;每步開始時印名稱,下次被殺能看出是哪步。
audichuang added a commit that referenced this pull request Nov 14, 2026
#132 改成兩路並行後,audit:code-quality:type-aware 與 check:code-quality:changed
會在約 80 秒時疊在一起。單一 type-aware 程序就約 14 GB RSS(run 42258894569),
rebase PR #144 有 617 個變更檔,兩個同時跑會耗盡 16 GB 的 CI runner:
run 42338744711 兩次 attempt 都在 fork-lint-run 約 80 秒被 SIGTERM(exit 143)。
這兩步改成互斥,其他步驟照舊兩路跑;每步開始時印名稱,下次被殺能看出是哪步。
audichuang added a commit that referenced this pull request Nov 16, 2026
#132 改成兩路並行後,audit:code-quality:type-aware 與 check:code-quality:changed
會在約 80 秒時疊在一起。單一 type-aware 程序就約 14 GB RSS(run 42258894569),
rebase PR #144 有 617 個變更檔,兩個同時跑會耗盡 16 GB 的 CI runner:
run 42338744711 兩次 attempt 都在 fork-lint-run 約 80 秒被 SIGTERM(exit 143)。
這兩步改成互斥,其他步驟照舊兩路跑;每步開始時印名稱,下次被殺能看出是哪步。
audichuang added a commit that referenced this pull request Nov 18, 2026
#132 改成兩路並行後,audit:code-quality:type-aware 與 check:code-quality:changed
會在約 80 秒時疊在一起。單一 type-aware 程序就約 14 GB RSS(run 42258894569),
rebase PR #144 有 617 個變更檔,兩個同時跑會耗盡 16 GB 的 CI runner:
run 42338744711 兩次 attempt 都在 fork-lint-run 約 80 秒被 SIGTERM(exit 143)。
這兩步改成互斥,其他步驟照舊兩路跑;每步開始時印名稱,下次被殺能看出是哪步。
audichuang added a commit that referenced this pull request Nov 18, 2026
#132 改成兩路並行後,audit:code-quality:type-aware 與 check:code-quality:changed
會在約 80 秒時疊在一起。單一 type-aware 程序就約 14 GB RSS(run 42258894569),
rebase PR #144 有 617 個變更檔,兩個同時跑會耗盡 16 GB 的 CI runner:
run 42338744711 兩次 attempt 都在 fork-lint-run 約 80 秒被 SIGTERM(exit 143)。
這兩步改成互斥,其他步驟照舊兩路跑;每步開始時印名稱,下次被殺能看出是哪步。
audichuang added a commit that referenced this pull request Nov 19, 2026
#132 改成兩路並行後,audit:code-quality:type-aware 與 check:code-quality:changed
會在約 80 秒時疊在一起。單一 type-aware 程序就約 14 GB RSS(run 42258894569),
rebase PR #144 有 617 個變更檔,兩個同時跑會耗盡 16 GB 的 CI runner:
run 42338744711 兩次 attempt 都在 fork-lint-run 約 80 秒被 SIGTERM(exit 143)。
這兩步改成互斥,其他步驟照舊兩路跑;每步開始時印名稱,下次被殺能看出是哪步。
audichuang added a commit that referenced this pull request Nov 20, 2026
#132 改成兩路並行後,audit:code-quality:type-aware 與 check:code-quality:changed
會在約 80 秒時疊在一起。單一 type-aware 程序就約 14 GB RSS(run 42258894569),
rebase PR #144 有 617 個變更檔,兩個同時跑會耗盡 16 GB 的 CI runner:
run 42338744711 兩次 attempt 都在 fork-lint-run 約 80 秒被 SIGTERM(exit 143)。
這兩步改成互斥,其他步驟照舊兩路跑;每步開始時印名稱,下次被殺能看出是哪步。
audichuang added a commit that referenced this pull request Nov 20, 2026
#132 改成兩路並行後,audit:code-quality:type-aware 與 check:code-quality:changed
會在約 80 秒時疊在一起。單一 type-aware 程序就約 14 GB RSS(run 42258894569),
rebase PR #144 有 617 個變更檔,兩個同時跑會耗盡 16 GB 的 CI runner:
run 42338744711 兩次 attempt 都在 fork-lint-run 約 80 秒被 SIGTERM(exit 143)。
這兩步改成互斥,其他步驟照舊兩路跑;每步開始時印名稱,下次被殺能看出是哪步。
audichuang added a commit that referenced this pull request Nov 20, 2026
#132 改成兩路並行後,audit:code-quality:type-aware 與 check:code-quality:changed
會在約 80 秒時疊在一起。單一 type-aware 程序就約 14 GB RSS(run 42258894569),
rebase PR #144 有 617 個變更檔,兩個同時跑會耗盡 16 GB 的 CI runner:
run 42338744711 兩次 attempt 都在 fork-lint-run 約 80 秒被 SIGTERM(exit 143)。
這兩步改成互斥,其他步驟照舊兩路跑;每步開始時印名稱,下次被殺能看出是哪步。
audichuang added a commit that referenced this pull request Nov 21, 2026
#132 改成兩路並行後,audit:code-quality:type-aware 與 check:code-quality:changed
會在約 80 秒時疊在一起。單一 type-aware 程序就約 14 GB RSS(run 42258894569),
rebase PR #144 有 617 個變更檔,兩個同時跑會耗盡 16 GB 的 CI runner:
run 42338744711 兩次 attempt 都在 fork-lint-run 約 80 秒被 SIGTERM(exit 143)。
這兩步改成互斥,其他步驟照舊兩路跑;每步開始時印名稱,下次被殺能看出是哪步。
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.

1 participant