Repository navigation
refactor(browser): organize automation, cookies and session policy owners - #40002
Conversation
5a28a6a to
5218d38
Compare
4fed94c to
91311d1
Compare
5218d38 to
7777754
Compare
91311d1 to
d221169
Compare
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
…tron fixture (#40074) * fix(browser): import the session registry from its new profiles folder #40002 moved browser-session-registry into sessions/profiles, and #39613 landed after it with the old path, so main no longer typechecks or builds. * fix(test): keep the popup Electron fixture in its own worker #40067 lets unit files share a worker's module cache. The popup compatibility fixture keeps its Electron app, mock server and temp root at module level, so after the first file the others reuse a closed browser.
…on registry Upstream stablyai#40002 moved browser-session-registry.ts into sessions/profiles/ but left these two imports on the old path, breaking typecheck and the test's mock. Fork-local fix until upstream repairs its main.
Browser automation and session policy imports currently pass through mixed modules and cookie forwarding functions. Organize automation, cookie storage/import policy, session profiles, identity, display and permissions around their concrete defining owners. Update consumers, mocks, generated fixture entries and active metadata; remove four forwarding functions, three mixed cookie modules and two transparent type aliases. This combines the automation and cookie/session batches into one 243-file PR.
Keep registry/class singletons, mutation locks, listener identity, permission ordering and existing test assertions intact. Update the cookie fixtures to their real registry/permission owners, and load real historical dependency bodies in the startup metadata benchmark.
Validation:
Rebased onto the actual squash of #39996; all upstream additions and test removals are preserved.