Repository navigation
[不合併] develop rebase 到 v1.4.248 的 CI 驗證 - #115
audichuang wants to merge 439 commits into
Conversation
…cale Upstream v1.4.238 adds Brazilian Portuguese (pt.json). fork-locale-parity needs every fork key in every locale, so add pt translations for the 170 fork strings, following pt.json's existing terms. FORK.md stops counting the locale files. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… Show File History Upstream v1.4.238 renames runtimeEnvironmentIdWithLegacyFallbackUnlessTwin to runtimeEnvironmentIdOrLocalUnlessTwin; the fork test's module mock still named the old export, so the context menu threw before rendering. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Upstream v1.4.238 adds dependency-security-release.test.mjs, which runs the prepare-dependency-audit action's script and that script calls rg. Upstream's unit shards run on Blacksmith images that ship ripgrep; the fork's hosted ubuntu-24.04 runners do not, so the test failed with "rg: command not found". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…banner With unsaved edits in Changes mode, a file changed on disk wraps the Changes view in a block div next to the banner. ChangesModeView sizes itself with flex-1, which a block parent ignores, so the diff editor collapsed to zero height and the tab showed only the banner. Make the wrapper a flex column like the edit-mode surface. S20 in the folder e2e opens an edit tab in Changes mode, types without saving, changes the file on disk and asserts the diff editor still has height under the banner; it fails without this change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Source Control panel hides Copy Full Source for a capped status listing - packaged fork distribution never configures or runs electron-updater - folder panel notice counts hidden worktrees under the folder - openConflictFile tracks folder conflicts under the git owner and keeps it on reopen - an unbound folder tab still takes upstream's in-place re-own and renameEditorFiles Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rounds The unattended rebase runs fork-check-e2e, but session restore, the external-change banner and agent launch cwd were only checked by hand before a release. Cover them in the fork e2e so every rebase run and PR checks them in a hidden window: - folder-workspace-tab-restart-restore.spec.ts: a folder edit tab keeps its repo (gitWorktreeId) across a restart, shown by its Changes view diffing against the repo's HEAD. - S21: the banner's Compare shows disk vs unsaved text, Keep My Edits dismisses without writing, and the next save writes the kept text. - S22: Explain changes starts the agent in the selected repo, not the folder (a fake agent records its cwd; nothing real runs). The MultiProduct import setup moves to a helper both specs share. Mutations checked: dropping the explain launch's initialCwd turns S22 red; dropping gitWorktreeId on session hydrate turns the restart spec red. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Feature PRs merge once the finish pipeline and Fork CI pass; the auto-rebase moves develop for CLEAN rebases and for MANUAL ones whose every resolved hunk has a test proven to turn red, then releases. A red CI job gets one rerun at the CI level, never inside a fork-check target. The release UI set now runs as fork e2e, so hands-on rounds are only for PRs that add or change UI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e restart diff S22 picked its agent from the host's detected list, so it only passed on machines with a real agent CLI; seed the detection cache and the default agent instead, and quote the fake agent's path. The restart spec now asserts the original side holds HEAD's commits, not just that it lacks the unstaged line. Type H.api in the shared scenario context. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…slot Upstream's commit context menu is back to its release form plus a `children` slot (4 lines), so upstream's coming UI work on it rebases cleanly. The fork's entries now live in git-history-commit-fork-menu.tsx: one commit gets upstream's menu with Copy Full Source and Show in Git Graph in the slot; several selected commits (a fork-only gesture) get the fork's own menu with the counted labels. Behaviour is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…he multi-commit menu as a mirror Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…it menu It opens only the right-clicked commit, and reading the focused workspace's browser policy from a fork file trips the focus-read ratchet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…st the page, and offer tags The full Git Graph now loads the next 100 commits when the end of the list scrolls near, says so at the 1000-commit cap, and keeps the Load more button as a fallback. The sidebar Commits list keeps its button only. A fold arrow whose far end is past the loaded commits now knows that commit (from the lane's parent id) and loads deeper history to jump to it, through the same reveal path as Show in Git Graph. The branch filter lists tags (newest first) for a client that asks with listTags, can walk one tag's history, and has a Tags source toggle (off by default) that adds --tags to All branches. Hosts that predate this list no tags, so the toggle stays hidden there; older clients never ask, so they never see tags filed under Local. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A search drops commits but keeps their parent links, so a fold arrow's far end may never be listed; the arrow now says so (with Clear filters) instead of reading 1000 commits for nothing. A deeper read that still misses the commit says the same. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… when laying lanes out A search or the 1000-commit cap now leaves such arrows inert at layout instead of failing on click. The not-loaded toast is shared with the tab reveal, the next-page step with the Load more button, and the filter's sections name their kind. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…size, list tags newest first The decision whether a deeper read can list more is shared by auto-load and fold arrows, so an older host that ignores `limit` no longer offers a jump it cannot make. The branch tree lists tags in the host's newest-first order. Seam tests pin listTags and source.tags through IPC, RPC and the runtime chain, and the Tags source through a tab's save and restore. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t hops Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… Tags source Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ve-tab content load hook Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e tab has one v1.4.239's overview test pins the four-argument read; without a git owner the loader already falls back to the tab's worktree. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…r workspaces Opening a conflicted file, refreshing the snapshot and retrying an overview read each carry the review's gitWorktreeId; removing any one turns its case red. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The lcu round scripts lived in a local skill directory, so no UI PR ever updated them and the 10-21 Source Control redesign broke most cases silently. They now live in tests/ui-rounds next to the code they drive: - round.sh runs Orca Dev from this checkout (no shared app-src to switch), takes the root from ORCA_UI_ROOT, and holds a screen lock so two sessions cannot drive one screen; it stops only its own process tree. - ui-map.mjs is the one place that knows how controls read in the AX tree (role names in either system language, repo rows, the open repo's sections), and lcu-orca.mjs exposes openMP/selectRepo/rowIn/ sectionButton plus a preflight that names a stale finder before cases run. - config/scripts/ui-rounds-map.test.mjs fails a PR that renames a label a round script relies on. - The fixture is the folder e2e's own; it now removes only its own dirs so a round keeps its profile. - Case files split by area to stay under max-lines; each group's shared steps live in a *-actions.mjs module. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The copy toast now shows its numbers on separate lines, tokens first. ui-map's toastNote rebuilds the stats.py line from them so cases keep comparing against measured clipboard stats; note() and ccNote use it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Toasts are read one per toast under the Notifications region, the collapsed NO CHANGES group opens before cases look for a repo row, and CC-04 expects untracked files inside CHANGES. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… switch The preview opens after the payload is read, so cases wait for it instead of a fixed pause. ED and SC each toggled Auto Save their own way; both now use setAutoSave, and RS-21 turns it off and opens the file tab from the diff tab. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
graph-fixture.sh lived outside the repo, so GG ran without feature/login. The repository picker is a flat list now and its value drops the middle dot; 'Open all changes together' became 'Open all changes'. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MD-04 queried port 9466, failed, and then passed on the previous run's result file. The pre script now drops that file first and uses the port the round recorded. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The panel title is the repo name plus its Current branch, arrow keys now select the repo, untracked files count in CHANGES, and idle repos sit in the NO CHANGES group at the end. Count checks ignore list order, V1-A3 restarts Orca to see the default pick, and V1-J1 marks the fixture dirty. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ure test (upstream a7d6926)
…h shortcut test (upstream 999160b)
…red on - EditorPanelHeader draws the diff file position and press-again hint. - EditorPanel reads a folder tab's branch entries from its repo. - The source-control toolbar renders the repo Git Graph button. - EditorEditFileSurface keeps the Changes view in a flex column under the external-change banner. Each test turns red when its wiring is removed; all join fork-seam-tests.txt.
…aunch cwd (upstream ed54ecf)
|
本機閘門開始(head ade3cf8) |
…upstream's settings move (upstream fced292)
|
本機閘門第 2 輪開始(static r1 只紅 oxlint max-lines:wsl-move-storage-dispositions.ts 301 > 300,照 f758771 條目縮行,bfc1ff287b) |
|
本機閘門綠(static r2、seams 128 檔 635 例),推 bfc1ff2;盲審開始 |
|
CI 綠:bfc1ff287b 的 Fork PR checks(run 41768151114,03:36:17 → 03:47:59 UTC), |
|
第 2 輪開始:審查者 C 的 NON-BLOCKING 既有缺口 EditorPanelHeader.tsx:119/244/270(diffNavigationDisabled)在上游這次改過的檔上,補測試 01f0e84;跑 static r3 後推。 |
|
CI 第 2 輪綠:01f0e84e94(run 41770865931,04:03:37 → 04:13:01 UTC), |
審查結果(盲審 03:36 → 04:01;第 2 輪 04:03 → 04:20 UTC)
發現與處理
證明表(第 6 步「合格的 MANUAL」)
importer-sweep 人工確認(B)上游改了 updater 搬家( |
|
v1.4.248-fork.1 已發佈:https://github.com/audichuang/orca/releases/tag/v1.4.248-fork.1(release run 41772211646 成功,tap 1.4.248-fork.1;MacBook 上 Orca Fork 開著,沒有自動升級)。 |
只用來在 rebase 後的 develop 上跑 Fork PR Checks,不會合併。base 是指向上游 v1.4.248 的暫時分支
ci-base/v1.4.248(對 develop 開會因兩份歷史衝突而跑不了 CI),驗完就刪。這次是 MANUAL(有衝突、有額外 commit),所有閘門與審查通過、而且每個解過的 hunk 都有 mutation 證明時,排程才會自動移動develop;否則留言會附移動指令。Summary
rebase(RUN=20261104T031755Z)03:17 起。11 個停點、20 個衝突檔(含 3 個 modify/delete),全部照 canary 2026-11-03/11-04 寫的筆記條目解。
cee6406bd7(folder 多 repo):e59b843336 條目。ChangesModeView.tsx、EditorDiffFileSurface.tsx、combined-diff-section-list.tsx:worktreeId={getOpenFileGitWorktreeId(…)}+ 上游的noteSource;EditorPanelHeader.tsx:上游{ owner: commentOwner, comments }多行寫法、第一個參數換成getOpenFileGitWorktreeId(activeFile);CombinedDiffViewer.tsx:hunk 1 上游註解 +useVisibleWorktreeDiffComments(gitWorktreeId, file),hunk 2 採上游(owner: notesView.owner,不加回 fork 的worktreeId);notes-shelf.tsx:hunk 1 兩邊都留(上游owner在前),hunk 2owner={owner}+ fork 的sendWorktreeId。editor-open-diff.test.ts採上游(上游刪了那例,fork 的例子後面4a68cbd938搬去.fork.test);workspace-session-hydration-keys.test.ts、workspace-session.test.ts、git-status-reconciliation.perf.test.ts上游已刪(test: remove 170 low-value renderer tests stablyai/orca#37539/test: remove 659 low-value renderer tests stablyai/orca#37544/test: remove 153 low-value editor buffer and layout tests stablyai/orca#37595),git rm(fork 的例子在 develop 上已在.fork.test兄弟檔,舊 develop 對這幾個檔 diff 為空)。4636f76b7b(fork 發行打包):174fdd8ca5 條目。updater 5 個檔採上游 import 區塊,在import { app } from 'electron'後加import { isForkDistribution } from '../fork-distribution';自動合入的releases/updater-build-selection.ts的./fork-distribution改../。576230737d:896e2d21a2 條目,DiffSectionBody.tsx取上游兩行註解。79410d66ff、256fa57fe0:wsl-move-storage-dispositions.tsfork 的 Git Graph 兩個路徑在前,接上游搬家後的settings/browser/use/BrowserUsePane.tsx、settings/developer-permissions/local-network-connection-history.ts(fced292 搬家;f758771364 條目同型,但該 commit 不在 vNEW)。a593c7c666、d35362a50e、59527397b5、c96d9fb8a2:ed54ecfa9c 條目。上游的preferredSurface/preferredChatAgent參數在前,fork 的 cwd(最後成為tuiCustomization)接最後;chatEligibility先上游(preferredSurface !== 'chat' && …) ||再接 fork 的input.startsOutsideWorkspaceRoot === true ||;recovery-launch.ts用 fork 的launchWorkspace、上游的resolveSourceControlActionPreferredSurface(…)、fork 的{ cwd: initialCwd };use-saved-source-control-action-start.ts、source-control-launch-agent-args-applicability.ts兩邊欄位都留。4a68cbd938(搬 fork 測試到 .fork.test):同上 modify/delete,git rm/採上游。7cb527b61a(flaky baseline):ebf277b4aa 條目 2026-11-04 版,三個 hunk 照做;合完 fork 行 19 行,上游行一行沒動。5ae2e1e168 test(fork):e59b843336 條目:combined-diff-section-list.fork.test.tsx加commentOwner={null}、notes-shelf.fork.test.tsx的deleteDiffComment改 async、EditorPanelHeader.fork.test.tsx改部分 mock。5cd3bd82ee fix(fork):ed54ecfa9c 條目:agent-tab-shortcuts.ts補第 5 個參數undefined、folder-repo-launch-chat-route.test.ts4 處、recovery-launch.folder-cwd.test.tsmock 加_preferredSurface;host-chat-program.tsoxfmt 換行。ef817d1548 test(fork):174fdd8ca5 條目:git mv src/main/updater.fork-distribution.test.ts src/main/updater/,import 改./testing/…,vi.mock 清單照上游updater.nudge-campaign.test.ts;updater-nudge.fork.test.ts同上,./lifecycle/updater-setup;seam 清單換路徑。cbe30b564d test(fork):76472f27ce/534ecb730d/865b9544ae 條目:三個 renderer 測試 import@/runtime/agent-launch-settings/host-agent-launch-preferences-resource,兩個 IPC 測試 mock../worktrees/removal/registered-worktree-roots-cache。ade3cf801f test(fork):「既有無測接線(審查者 C 在 v1.4.247 rebase 列出)」fork 自身問題條目,補 3 個測試並加進config/fork-seam-tests.txt:use-panel-model.fork.test.tsx新例(folder 裡從 panel 開 repo 的 commit 檔):use-panel-model.ts轉給useGitHistoryCommitActions的editorWorktreeId改undefined→AssertionError: expected [ { …(16) } ] to deeply equal [ ObjectContaining{…} ]。editor-git-graph-split-open.test.ts新例(沒指定 group 重開 Git Graph 時聚焦原 group):git-graph-tab-actions.ts的existingGroupId改undefined→AssertionError: expected [ …(2) ] to deeply equal [ Array(1) ]。clipcode-restore-preview-dialog.test.tsx新例(Escape 關閉):拿掉clipcode-restore-preview-dialog.tsx:150的onCancel()→AssertionError: expected "vi.fn()" to be called 1 times, but got 0 times。bfc1ff287b fix(fork):static r1 的 oxlintmax-lines(wsl-move-storage-dispositions.ts301 > 300),照 f758771 條目把 hidden-repos 那筆縮成一行;改回 →eslint(max-lines): File has too many lines (301)。01f0e84e94 test(fork):審查者 C/Codex 的既有缺口(EditorPanelHeader.tsx:119/244/270的diffNavigationDisabled,上游這次改過該檔);三種改回各自紅,重掃:244、:270guarded。Evidence
上游基準(
fork-upstream-red.mjs v1.4.248):三項全綠,沒有 cherry-pick。
make fork-footprint:fork-canary-apply.sh套快取檔(快取是 canary 對上游 main 的最終樹,套在中間 commit 會把後面 commit 的改動提前),照條目文字手解。Merge Danger
不合併。CI 驗過、審查通過後由排程用
--force-with-lease=develop:ea0212f672推 develop;期間有 PR 合進 develop 時 lease 會失敗、這次作廢重來。