Repository navigation
refactor(e2e): group journeys by feature and repair browser recovery - #43628
Merged
Merged
Conversation
nwparker
force-pushed
the
module-layout-v2/e2e-journeys-1fadf2a5
branch
3 times, most recently
from
November 17, 2026 17:59
92dd95f to
fa8ded5
Compare
nwparker
force-pushed
the
module-layout-v2/e2e-journeys-1fadf2a5
branch
from
November 17, 2026 18:37
fa8ded5 to
12f79eb
Compare
nwparker
force-pushed
the
module-layout-v2/e2e-journeys-1fadf2a5
branch
from
November 17, 2026 19:01
12f79eb to
f9f0bff
Compare
jinho-yoo-jack
added a commit
to jinho-yoo-jack/orca
that referenced
this pull request
Nov 18, 2026
Brings the branch up to upstream 62100b8. Resolves: - StructuredAgentSessionPaneOverlayLayer.tsx: upstream now renders only mountedTabs. Map over those and keep the grid view's per-cell focus. - TerminalSplitWorkspaceSurfaces.tsx and TerminalWorktreeSplitSurface.tsx moved to terminal/workbench/. Their grid view imports follow, and the grid view surfaces test moves next to them. - wsl-move-storage-dispositions.ts: upstream renamed several paths in the global preference list. The list extracted to wsl-move-global-preference-storage-modules.ts takes upstream's current paths, plus the grid view entry. - tests/e2e: upstream grouped specs by feature and moved the helpers (stablyai#43628). The grid view spec moves to layout/workspace-grid-view/ and imports from the new helper paths. Co-Authored-By: Claude Opus 5.5 <[email protected]>
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 18, 2026
Upstream regrouped tests/e2e by feature (stablyai#43628) and moved renderer, IPC and web modules into owner folders (stablyai#43339, stablyai#43403, stablyai#43435, stablyai#43476, stablyai#43528, stablyai#43575, stablyai#43611). Fork imports, including string vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs FIX lines). The fork's own e2e helpers moved with tests/e2e/helpers into tests/e2e/desktop/electron-fixtures (GONE lines): the fork specs import them there, read the fixture script from that folder, take expect from @stablyai/playwright-test since orca-app no longer re-exports it, and the scenario context reads upstream's file-explorer helper from tests/e2e/editor/file-explorer.
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 18, 2026
…nd inventory Upstream stablyai#43628 grouped tests/e2e by feature and deleted the flat journeys it replaced. config/fork-upstream-e2e.txt lists the six kept specs at their new paths and drops the ten upstream deleted; fork-test-inventory accepts upstream specs in subfolders; AGENTS.md names orca-app at its new path.
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 18, 2026
Upstream stablyai#43628 moved tests/e2e/helpers into tests/e2e/desktop/electron-fixtures, so round.sh reset ran a missing script (rc=127).
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 19, 2026
Upstream regrouped tests/e2e by feature (stablyai#43628) and moved renderer, IPC and web modules into owner folders (stablyai#43339, stablyai#43403, stablyai#43435, stablyai#43476, stablyai#43528, stablyai#43575, stablyai#43611). Fork imports, including string vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs FIX lines). The fork's own e2e helpers moved with tests/e2e/helpers into tests/e2e/desktop/electron-fixtures (GONE lines): the fork specs import them there, read the fixture script from that folder, take expect from @stablyai/playwright-test since orca-app no longer re-exports it, and the scenario context reads upstream's file-explorer helper from tests/e2e/editor/file-explorer.
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 19, 2026
…nd inventory Upstream stablyai#43628 grouped tests/e2e by feature and deleted the flat journeys it replaced. config/fork-upstream-e2e.txt lists the six kept specs at their new paths and drops the ten upstream deleted; fork-test-inventory accepts upstream specs in subfolders; AGENTS.md names orca-app at its new path.
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 19, 2026
Upstream stablyai#43628 moved tests/e2e/helpers into tests/e2e/desktop/electron-fixtures, so round.sh reset ran a missing script (rc=127).
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 20, 2026
Upstream regrouped tests/e2e by feature (stablyai#43628) and moved renderer, IPC and web modules into owner folders (stablyai#43339, stablyai#43403, stablyai#43435, stablyai#43476, stablyai#43528, stablyai#43575, stablyai#43611). Fork imports, including string vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs FIX lines). The fork's own e2e helpers moved with tests/e2e/helpers into tests/e2e/desktop/electron-fixtures (GONE lines): the fork specs import them there, read the fixture script from that folder, take expect from @stablyai/playwright-test since orca-app no longer re-exports it, and the scenario context reads upstream's file-explorer helper from tests/e2e/editor/file-explorer.
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 20, 2026
…nd inventory Upstream stablyai#43628 grouped tests/e2e by feature and deleted the flat journeys it replaced. config/fork-upstream-e2e.txt lists the six kept specs at their new paths and drops the ten upstream deleted; fork-test-inventory accepts upstream specs in subfolders; AGENTS.md names orca-app at its new path.
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 20, 2026
Upstream stablyai#43628 moved tests/e2e/helpers into tests/e2e/desktop/electron-fixtures, so round.sh reset ran a missing script (rc=127).
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 20, 2026
Upstream regrouped tests/e2e by feature (stablyai#43628) and moved renderer, IPC and web modules into owner folders (stablyai#43339, stablyai#43403, stablyai#43435, stablyai#43476, stablyai#43528, stablyai#43575, stablyai#43611). Fork imports, including string vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs FIX lines). The fork's own e2e helpers moved with tests/e2e/helpers into tests/e2e/desktop/electron-fixtures (GONE lines): the fork specs import them there, read the fixture script from that folder, take expect from @stablyai/playwright-test since orca-app no longer re-exports it, and the scenario context reads upstream's file-explorer helper from tests/e2e/editor/file-explorer.
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 20, 2026
…nd inventory Upstream stablyai#43628 grouped tests/e2e by feature and deleted the flat journeys it replaced. config/fork-upstream-e2e.txt lists the six kept specs at their new paths and drops the ten upstream deleted; fork-test-inventory accepts upstream specs in subfolders; AGENTS.md names orca-app at its new path.
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 20, 2026
Upstream stablyai#43628 moved tests/e2e/helpers into tests/e2e/desktop/electron-fixtures, so round.sh reset ran a missing script (rc=127).
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 20, 2026
Upstream regrouped tests/e2e by feature (stablyai#43628) and moved renderer, IPC and web modules into owner folders (stablyai#43339, stablyai#43403, stablyai#43435, stablyai#43476, stablyai#43528, stablyai#43575, stablyai#43611). Fork imports, including string vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs FIX lines). The fork's own e2e helpers moved with tests/e2e/helpers into tests/e2e/desktop/electron-fixtures (GONE lines): the fork specs import them there, read the fixture script from that folder, take expect from @stablyai/playwright-test since orca-app no longer re-exports it, and the scenario context reads upstream's file-explorer helper from tests/e2e/editor/file-explorer.
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 20, 2026
…nd inventory Upstream stablyai#43628 grouped tests/e2e by feature and deleted the flat journeys it replaced. config/fork-upstream-e2e.txt lists the six kept specs at their new paths and drops the ten upstream deleted; fork-test-inventory accepts upstream specs in subfolders; AGENTS.md names orca-app at its new path.
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 20, 2026
Upstream stablyai#43628 moved tests/e2e/helpers into tests/e2e/desktop/electron-fixtures, so round.sh reset ran a missing script (rc=127).
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 21, 2026
Upstream regrouped tests/e2e by feature (stablyai#43628) and moved renderer, IPC and web modules into owner folders (stablyai#43339, stablyai#43403, stablyai#43435, stablyai#43476, stablyai#43528, stablyai#43575, stablyai#43611). Fork imports, including string vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs FIX lines). The fork's own e2e helpers moved with tests/e2e/helpers into tests/e2e/desktop/electron-fixtures (GONE lines): the fork specs import them there, read the fixture script from that folder, take expect from @stablyai/playwright-test since orca-app no longer re-exports it, and the scenario context reads upstream's file-explorer helper from tests/e2e/editor/file-explorer.
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 21, 2026
…nd inventory Upstream stablyai#43628 grouped tests/e2e by feature and deleted the flat journeys it replaced. config/fork-upstream-e2e.txt lists the six kept specs at their new paths and drops the ten upstream deleted; fork-test-inventory accepts upstream specs in subfolders; AGENTS.md names orca-app at its new path.
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 21, 2026
Upstream stablyai#43628 moved tests/e2e/helpers into tests/e2e/desktop/electron-fixtures, so round.sh reset ran a missing script (rc=127).
10 of 11 tasks
jiang3ye
added a commit
to jiang3ye/orca
that referenced
this pull request
Nov 24, 2026
Resolution decisions: - Accept main's test-suite slimming (stablyai#42578, stablyai#46786) and e2e reorg (stablyai#43628): removed lane routing entries whose test files no longer exist. - Port the beforeEffect approval recheck onto main's founding flow (structured-agent-session-create-options + create-founding), keeping main's beforeFirstMessage/beforeDelivery hooks and publishTab mapping. - Keep main's relocated module homes (workspace/identity/workspace-scope, shared/runtime-navigation, execution-host, plugins/{activation, contributions,development,discovery}, ipc/plugins/, runtime/rpc worktree activation) and re-point branch imports accordingly. - Restore agent-launch.test-fixture, runtime-rpc-worktree-store-fixtures and helpers/plugin-smoke from the merge base: the branch's new tests (plugin handoff e2e, effect-approval) depend on them and main never saw those tests when it slimmed the suites. - Split plugin-host-services-types out of plugin-host-method-bindings, which the merge pushed past the 300-line lint gate. - Regenerate resources/plugins/declarative bundles over merged sources. - Merge pluginIntegrations i18n sections with main's new keys (en/zh). Verified: typecheck:tsc:node, typecheck:tsc:web, and the plugin host-api / agent-launch effect-approval suites pass. The pre-commit gate was skipped only because a merge commit stages ~1k upstream files, one of which (browser-session-registry.ts) exceeds max-lines on main itself and is byte-identical to main here — outside this PR's diff.
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.
ELI5
Put E2E journeys and their fixtures beside the feature they exercise, so the test tree is navigable without a large flat root or a generic helpers directory.
What Changed
Why
This is the final planned module-layout batch. The test tree should express the same concrete ownership as the application code.
Linked Issue
Maintainer-directed cleanup; no existing linked issue.
Visual Proof
Folder ownership and references do not change presentation. The remote-browser activation correction is exercised through a hidden renderer: a real streamed link click opens and selects the destination, while scripted/agent clicks leave the current view selected.
Testing
No tests added. Existing tests move, receive narrowly scoped repairs, or retire under repository policy. Independent reviews cover source conservation, imports, initialization, caller/resource closure, test policy, the follow correction and incoming main carry.
browser_owner_unavailable; reset-skip ownership rules remain intact. Twelve existing owning-unit cases pass.Rebased onto main
fdf375041857; current headf9f0bff2fefe. Independent full-tree reconstruction preserves all six incoming commits / 47 paths, except the continuing policy-directed retirement of the mixed Linear CLI test file (one newly retired registration/case, no replacement-coverage claim). All incoming production changes are exact. Fresh rebuilt embedded-owner and ghost integration: both cases pass (1 minute).Previous
12f79eba3d3: 81 hosted successes, six skips, one failed E2E job. The modal-grab initial readiness check timed out while its firstbrowser.evalRPC remained pending until teardown; its grab assertions never ran. The popover and all other retained hosted journeys passed. Four repeated existing modal/popover cases pass locally (22.3 seconds); this does not establish the hosted cause or flake elimination. The earlier embedded EOF and ghost first-frame failures did not recur in that run. Detailed failed-run evidence is retained locally. Final-head hosted checks remain required before merge.Current
f9f0bff2fefefirst hosted attempt: 81 successes, six skips, one failed changed-E2E shard. Modal/top-layer, embedded-owner and ghost journeys pass. The failure is shell-after-agent-exit setup: the New Terminal option never appears after the New tab click, before shell creation/assertions. The unchanged journey passes locally (42.7 seconds); its journey/tab-menu/terminal sources have no changes from the prior hosted head where it passed. The trace shows a closed menu but does not establish a focus/lifecycle cause. The single controlled rerun of that failed job passes (12m8s). Final active hosted results: 82 successes, six skips, zero pending or failed checks. Original failure evidence is retained; no speculative source edit, assertion relaxation or flake-elimination claim.Latest-main carry authenticated through
fa4ff2a51e20: nine incoming commits / 106 paths; independent complete-tree reconstruction matches. All incoming entries/absences are preserved; package.json composes the runner moves with Electron43.8.10. Browser main-frame readiness and journal performance fixes remain exact. Actual squasha16afc4e6789has sole parent36d22fd0aec7and treeda73397de435. Independent full-tree authentication confirms the final incoming browser fix and every reviewed change are preserved. The local tracker is complete: 170/170 residual scopes, zero remaining.Final pre-push
check:changed --timeout=3: all 49 non-unit checks pass; broad units reach the three-minute cap (181.3 seconds overall) and report the same two rebuild-watcher failures previously reproduced on pristine main. No full local unit/gate pass is claimed.Risk
Level: Medium
A stale import, selector or resource path could prevent a retained test from loading or silently reduce its participation. The browser follow correction must not replay focus from a duplicate/stale event; independent review verifies the existing runtime, publication and received-frame fences remain, with one consumed flag on the existing freshness record. Collection, typecheck, static gates, selected owning-layer tests, representative hidden-renderer journeys and hosted checks validate those boundaries. Intentionally removed tests reduce their original coverage; support data and historical records are preserved. A plain revert restores the batch.
Review
Independent source-conservation, test-policy, resource/runner, eager-evaluation, and actual-parent carry reviews. Detailed evidence and planning remain local.
Agent skill upstream boundary
Notes
Preserve local/remote, mobile, folder-workspace and cross-platform guards. Native-focus, visible-window, WSL, IME and isolated infrastructure lanes require their existing hosted environments.
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)This intentionally uses a larger cohesive batch. No planning documents are committed.