mirror of
https://github.com/morluto/rea.git
synced 2026-11-04 22:06:10 +00:00
fix(browser): retain module resolver cleanup ownership
Serialize resolution with shutdown, retain the owned browser after close failures, and retry cleanup before another launch. Wire cleanup through the shared service and CLI/MCP lifecycles, preserving primary failures and completed native reports alongside cleanup diagnostics. Separate the browser resolution workflow from lifecycle ownership. Validation: seven resolver source tests, eleven application tests, MCP shutdown retry, public CLI parity, and full static/architecture checks passed. Real Chromium behavior remains unverified.
This commit is contained in:
1 parent
c2b56e3e1c
commit
a82e37c806
7 files changed
+441
-198
No files matched your search
@@ -38,6 +38,7 @@ export interface WebModuleResolutionBatch {
|
||||
|
||||
/** Replaceable native resolution engine, with no provider protocol in callers. */
|
||||
export interface WebModuleResolutionPort {
|
||||
close?(): Promise<void>;
|
||||
resolve(
|
||||
input: {
|
||||
readonly importerUrl: string;
|
||||
|
||||
Reference in new issue
Block a user