Skip to content

fix(browser): propagate local browser request aborts - #55925

Closed
lampten wants to merge 5 commits into
openclaw:mainfrom
lampten:codex/fix-browser-local-request-aborts-plugin
Closed

lampten wants to merge 5 commits into
openclaw:mainfrom
lampten:codex/fix-browser-local-request-aborts-plugin

Conversation

@lampten

@lampten lampten commented Mar 27, 2026

Copy link
Copy Markdown

AI-assisted: yes (Codex).
Testing: focused regression tests; broader contract/build checks still hit unrelated main-branch failures noted below.

Summary

  • This supersedes fix(gateway): abort timed-out local browser requests #40305 after the Mar 26 browser plugin refactor moved the relevant code from src/browser/... and src/gateway/... into extensions/browser/....
  • The underlying bug is still present on current main: local browser.request timeouts can still outpace in-process Playwright work, and the Playwright action/snapshot paths still do not consistently honor request aborts.
  • This PR ports the remaining fix onto the new browser-plugin layout instead of trying to keep the old PR alive across stale paths and bot threads.

What Changed

  • wrap abort-aware local browser.request routes with withTimeout(...) and forward the resulting AbortSignal into local dispatch
  • skip that wrapper for existing-session profiles, including the built-in user profile
  • thread req.signal through browser action and snapshot routes into Playwright helpers
  • make Playwright action/snapshot helpers reject immediately on abort while disconnecting the target in the background
  • prevent navigateViaPlaywright(...) from retrying once the request has already been aborted
  • add focused regression tests for local timeout forwarding, abort cleanup, and abort-before-retry navigation behavior

Why A New PR

  • fix(gateway): abort timed-out local browser requests #40305 accumulated review history against files that no longer exist after the browser plugin migration.
  • Re-opening the same discussion on extensions/browser/... is cleaner for human reviewers than asking them to reconstruct intent across stale bot threads and deleted paths.

Linked PRs / Issues

Verification

Passed locally:

  • pnpm exec vitest run extensions/browser/src/gateway/browser-request.local-timeout.test.ts extensions/browser/src/browser/pw-tools-core.interactions.abort.test.ts extensions/browser/src/browser/pw-tools-core.snapshot.abort.test.ts extensions/browser/src/browser/pw-tools-core.snapshot.navigate-guard.test.ts extensions/browser/src/browser/routes/agent.snapshot.test.ts

Also checked:

  • pnpm exec oxfmt --check on all touched files
  • git diff --check

Still failing on current main, outside this diff:

  • pnpm build fails in unrelated agent/skills files (src/agents/compaction.ts, src/agents/pi-extensions/compaction-safeguard.ts, src/agents/skills/source.ts)
  • extensions/browser/src/browser/server.agent-contract-snapshot-endpoints.test.ts and extensions/browser/src/browser/server.agent-contract-form-layout-act-commands.test.ts currently fail before reaching this logic because extensions/browser/src/browser/paths.ts imports a missing resolvePreferredOpenClawTmpDir function under the test harness

Risk / Scope

  • This is intentionally limited to the remaining local timeout/abort bug.
  • It does not change the new Chrome MCP / existing-session behavior beyond explicitly keeping those profiles on the direct dispatch path.

@greptile-apps

greptile-apps Bot commented Mar 27, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR propagates HTTP request AbortSignals (and local timeout signals from withTimeout) through the browser plugin's action, snapshot, and navigation paths so that in-flight Playwright operations are interrupted and the target is force-disconnected when a request is cancelled or times out.\n\nKey changes:\n- browser-request.ts: Wraps supported local act/navigate/pdf routes with withTimeout, forwarding the resulting AbortSignal into dispatcher.dispatch. Routes using an existing-session driver (including the built-in user profile) bypass the wrapper to preserve their direct-dispatch semantics.\n- pw-tools-core.interactions.ts: Adds runAbortablePlaywrightAction — a Promise.race + abort-listener helper that rejects immediately on abort and fires forceDisconnectPlaywrightForTarget in the background. Wraps all interaction helpers (click, hover, drag, select, fill, type, press, scroll, wait, screenshot).\n- pw-tools-core.snapshot.ts: Adds an identical runAbortableSnapshotWork helper and wraps all snapshot/navigation helpers. navigateViaPlaywright additionally calls throwIfAborted before each navigate attempt to prevent retries after the signal fires.\n- Routes (agent.act.ts, agent.snapshot.ts): Threads req.signal into every Playwright helper call.\n- Tests: Focused regression coverage for abort-during-click, abort-before-retry-navigate, and gateway-level timeout forwarding.\n\nOne structural note: runAbortablePlaywrightAction and runAbortableSnapshotWork are virtually identical functions. evaluateViaPlaywright also carries an inline variant of the same pattern. Consolidating these into a single shared helper would reduce the maintenance surface for future fixes to the abort-race logic.

Confidence Score: 5/5

Safe to merge — changes are narrowly scoped to abort/timeout propagation with no behavioral changes to non-local or existing-session paths.

All findings are P2 (code quality/duplication). The abort-race logic is correctly implemented with proper double-check for already-aborted signals, { once: true } listener registration, completed/abortTriggered guards, and event-listener cleanup in finally. The navigate retry guard is correct. Tests cover the key concurrency scenarios. No correctness, data-integrity, or security issues were found.

No files require special attention for merging, but pw-tools-core.snapshot.ts and pw-tools-core.interactions.ts carry duplicated abort helper logic worth consolidating in a follow-up.

Important Files Changed

Filename Overview
extensions/browser/src/gateway/browser-request.ts Adds shouldWrapLocalBrowserRequestWithTimeout + ABORT_AWARE_LOCAL_ACT_KINDS to gate withTimeout wrapping on supported act/navigate/pdf routes; existing-session profiles skip the wrapper. Error handling now catches dispatch rejections and responds with UNAVAILABLE.
extensions/browser/src/browser/pw-tools-core.interactions.ts Adds runAbortablePlaywrightAction wrapper and threads signal through all interaction helpers (click, hover, drag, select, fill, type, press, scroll, wait, screenshot, fillForm).
extensions/browser/src/browser/pw-tools-core.snapshot.ts Adds runAbortableSnapshotWork (duplicate of runAbortablePlaywrightAction) and wraps all snapshot helpers; navigateViaPlaywright gains throwIfAborted guards before each navigate attempt to prevent retries after abort.
extensions/browser/src/browser/routes/agent.act.ts Threads req.signal into all Playwright helper calls for act routes.
extensions/browser/src/browser/routes/agent.snapshot.ts Threads req.signal into all Playwright helper calls for snapshot routes.
Prompt To Fix All With AI
This is a comment left during a code review.
Path: extensions/browser/src/browser/pw-tools-core.snapshot.ts
Line: 40-107

Comment:
**Duplicated abort-race helper**

`runAbortableSnapshotWork` (here) and `runAbortablePlaywrightAction` in `pw-tools-core.interactions.ts` are byte-for-byte identical except for the default `disconnectReason` string. Both carry the same subtle double-check pattern, the `completed`/`abortTriggered` guards, and the `finally`-cleanup for the event listener.

`evaluateViaPlaywright` also has its own bespoke inline variant of the same pattern (with an extra `Promise.race` for the browser-side evaluate timeout).

Having three copies of this logic means any future fix to the race-condition guard has to be applied in three places. Consider extracting the core race to a shared utility, e.g.:

```ts
// shared e.g. pw-tools-core.abort.ts
export async function runAbortablePlaywrightWork<T>(
  opts: { cdpUrl: string; targetId?: string; signal?: AbortSignal; disconnectReason?: string },
  work: () => Promise<T>,
): Promise<T> { /* single implementation */ }
```

Then `runAbortableSnapshotWork` and `runAbortablePlaywrightAction` become thin wrappers (or are removed entirely).

How can I resolve this? If you propose a fix, please make it concise.

Reviews (1): Last reviewed commit: "fix(browser): propagate local browser re..." | Re-trigger Greptile

Comment on lines +40 to +107
work: () => Promise<T>,
): Promise<T> {
const signal = opts.signal;
if (!signal) {
return await work();
}

const abortReason = () => signal.reason ?? new Error("aborted");
const disconnect = () => {
void forceDisconnectPlaywrightForTarget({
cdpUrl: opts.cdpUrl,
targetId: opts.targetId,
reason: opts.disconnectReason ?? "abort browser snapshot",
}).catch(() => {});
};

if (signal.aborted) {
disconnect();
throw abortReason();
}

let completed = false;
let abortTriggered = false;
let abortListener: (() => void) | undefined;
const abortPromise: Promise<never> = new Promise((_, reject) => {
abortListener = () => {
if (completed || abortTriggered) {
return;
}
abortTriggered = true;
disconnect();
reject(abortReason());
};
signal.addEventListener("abort", abortListener, { once: true });
});

if (signal.aborted) {
abortListener?.();
}
if (abortTriggered) {
return await abortPromise;
}

const workPromise = work().finally(() => {
completed = true;
});

try {
return await Promise.race([workPromise, abortPromise]);
} catch (err) {
void workPromise.catch(() => {});
throw err;
} finally {
if (abortListener) {
signal.removeEventListener("abort", abortListener);
}
}
}

export async function snapshotAriaViaPlaywright(opts: {
cdpUrl: string;
targetId?: string;
limit?: number;
signal?: AbortSignal;
}): Promise<{ nodes: AriaSnapshotNode[] }> {
const limit = Math.max(1, Math.min(2000, Math.floor(opts.limit ?? 500)));
const page = await getPageForTargetId({
cdpUrl: opts.cdpUrl,
targetId: opts.targetId,
return await runAbortableSnapshotWork(opts, async () => {
const limit = Math.max(1, Math.min(2000, Math.floor(opts.limit ?? 500)));
const page = await getPageForTargetId({

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Duplicated abort-race helper

runAbortableSnapshotWork (here) and runAbortablePlaywrightAction in pw-tools-core.interactions.ts are byte-for-byte identical except for the default disconnectReason string. Both carry the same subtle double-check pattern, the completed/abortTriggered guards, and the finally-cleanup for the event listener.

evaluateViaPlaywright also has its own bespoke inline variant of the same pattern (with an extra Promise.race for the browser-side evaluate timeout).

Having three copies of this logic means any future fix to the race-condition guard has to be applied in three places. Consider extracting the core race to a shared utility, e.g.:

// shared e.g. pw-tools-core.abort.ts
export async function runAbortablePlaywrightWork<T>(
  opts: { cdpUrl: string; targetId?: string; signal?: AbortSignal; disconnectReason?: string },
  work: () => Promise<T>,
): Promise<T> { /* single implementation */ }

Then runAbortableSnapshotWork and runAbortablePlaywrightAction become thin wrappers (or are removed entirely).

Prompt To Fix With AI
This is a comment left during a code review.
Path: extensions/browser/src/browser/pw-tools-core.snapshot.ts
Line: 40-107

Comment:
**Duplicated abort-race helper**

`runAbortableSnapshotWork` (here) and `runAbortablePlaywrightAction` in `pw-tools-core.interactions.ts` are byte-for-byte identical except for the default `disconnectReason` string. Both carry the same subtle double-check pattern, the `completed`/`abortTriggered` guards, and the `finally`-cleanup for the event listener.

`evaluateViaPlaywright` also has its own bespoke inline variant of the same pattern (with an extra `Promise.race` for the browser-side evaluate timeout).

Having three copies of this logic means any future fix to the race-condition guard has to be applied in three places. Consider extracting the core race to a shared utility, e.g.:

```ts
// shared e.g. pw-tools-core.abort.ts
export async function runAbortablePlaywrightWork<T>(
  opts: { cdpUrl: string; targetId?: string; signal?: AbortSignal; disconnectReason?: string },
  work: () => Promise<T>,
): Promise<T> { /* single implementation */ }
```

Then `runAbortableSnapshotWork` and `runAbortablePlaywrightAction` become thin wrappers (or are removed entirely).

How can I resolve this? If you propose a fix, please make it concise.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree the duplication is real, but I am intentionally not folding that cleanup into this PR.

This change is narrowly scoped to the remaining local timeout/abort bug after the browser plugin migration. The follow-up commit here fixes one concrete behavior gap in navigateViaPlaywright(); extracting the shared abort helper would expand the patch into a refactor across interactions, snapshots, and evaluate without changing user-visible behavior. I’d rather leave that as a separate cleanup once this bugfix lands.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5746317db7

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines +174 to +175
if (path === "/navigate" || path === "/pdf") {
return true;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Don’t timeout-wrap /navigate until abort is enforced

/navigate is now included in the timeout-wrapped local browser.request path, but the navigation helper still does not cancel an in-flight page.goto when the signal aborts. It only checks signal.aborted before navigation/retry and in the catch path, so a timeout can return UNAVAILABLE while the original navigation keeps running and still changes the tab URL/state afterward. That makes timeout responses unreliable and can corrupt subsequent step sequencing.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 4e62c9ac2b.

Root cause was exactly that navigateViaPlaywright() only checked signal.aborted before the first goto() / retry path, so the local gateway timeout could return while the in-flight navigation was still running. I kept the fix narrow: navigateViaPlaywright() now runs inside the same abort race used by the other Playwright snapshot paths, with a dedicated abort browser navigate disconnect reason, and I added a regression test that aborts after goto() has started to verify we reject immediately and disconnect the target instead of letting the navigation continue in the background.

@lampten
lampten force-pushed the codex/fix-browser-local-request-aborts-plugin branch from 4e62c9a to 36e3170 Compare April 2, 2026 19:25
@lampten

lampten commented Apr 2, 2026

Copy link
Copy Markdown
Author

Rebased this PR onto current main after v2026.4.2.

The only real overlap was extensions/browser/src/browser/pw-tools-core.snapshot.ts, where upstream now routes navigation through gotoPageWithNavigationGuard(...) / assertPageNavigationCompletedSafely(...). I kept that newer navigation-safety path intact and re-applied the local abort behavior on top of it, then re-ran the focused browser regressions:

  • extensions/browser/src/gateway/browser-request.local-timeout.test.ts
  • extensions/browser/src/browser/pw-tools-core.interactions.abort.test.ts
  • extensions/browser/src/browser/pw-tools-core.snapshot.abort.test.ts
  • extensions/browser/src/browser/pw-tools-core.snapshot.navigate-guard.test.ts
  • extensions/browser/src/browser/routes/agent.snapshot.test.ts

Local result: 5 test files, 25 tests passed.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 36e317081e

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines +174 to +177
if (path === "/navigate" || path === "/pdf") {
return true;
}
if (path !== "/act" || !params.body || typeof params.body !== "object") {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Wrap snapshot routes in local timeout handling

browser.request now only applies withTimeout(...) to /navigate, /pdf, and selected /act kinds, so local /snapshot and /screenshot requests still dispatch without a signal even when timeoutMs is provided. That means the new abort propagation in snapshot handlers is never triggered for these local calls, and long snapshot/screenshot operations can still run indefinitely despite a caller-supplied timeout.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree there is still a remaining gap for local /snapshot and /screenshot, but I am intentionally not broadening the gateway wrapper in this PR.

Those routes still multiplex abort-aware Playwright branches with non-abort-aware Chrome MCP / direct CDP branches in the same handler. Wrapping them wholesale here would reintroduce the original mismatch for the non-Playwright paths: the local request could time out while the underlying snapshot/screenshot work continues anyway.

This change keeps the gateway timeout wrapper limited to routes and act kinds that are abort-aware end to end today. Expanding /snapshot / /screenshot safely should happen as a follow-up once those handlers are split or uniformly abort-aware.

@lampten
lampten force-pushed the codex/fix-browser-local-request-aborts-plugin branch from 36e3170 to e8c026e Compare April 13, 2026 19:48
@lampten

lampten commented Apr 13, 2026

Copy link
Copy Markdown
Author

Rebased onto current main and intentionally narrowed the patch.

main has already absorbed most of the /act-side abort plumbing, so I dropped the stale act/interactions changes during the rebase and kept only the remaining gap this PR still fixes today:

  • scope local browser.request timeout wrapping to routes that are abort-aware end to end
  • thread req.signal through the Playwright snapshot/navigation route path
  • make Playwright snapshot/navigation work reject promptly on abort and avoid retrying navigate after abort

Focused validation after the rebase:

  • pnpm exec oxfmt --check extensions/browser/src/gateway/browser-request.ts extensions/browser/src/gateway/browser-request.local-timeout.test.ts extensions/browser/src/browser/routes/agent.snapshot.ts extensions/browser/src/browser/pw-tools-core.snapshot.ts extensions/browser/src/browser/pw-tools-core.snapshot.abort.test.ts extensions/browser/src/browser/pw-tools-core.snapshot.navigate-guard.test.ts
  • pnpm exec vitest run extensions/browser/src/gateway/browser-request.local-timeout.test.ts extensions/browser/src/browser/pw-tools-core.snapshot.abort.test.ts extensions/browser/src/browser/pw-tools-core.snapshot.navigate-guard.test.ts extensions/browser/src/browser/routes/agent.snapshot.test.ts

That focused set is green locally (4 files, 23 tests).

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e8c026e0d0

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines +175 to +179
if (path === "/navigate" || path === "/pdf") {
return true;
}
if (path !== "/act" || !params.body || typeof params.body !== "object") {
return false;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Keep timeoutMs effective for non-act local requests

This gate now returns false for every local path except /navigate, /pdf, and /act, so requests like /tabs/open skip withTimeout(...) even when callers provide timeoutMs. In local mode (no browser node), a stalled route can now run indefinitely instead of returning UNAVAILABLE, which regresses the existing browser.request timeout behavior that browser-request.timeout.test.ts already asserts for /tabs/open.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 7e5ef9fa6a.

Root cause was that my earlier scope reduction replaced the old generic local timeout behavior with an overly narrow positive allowlist, which accidentally dropped withTimeout(...) for non-/act local routes like /tabs/open. I changed the gate back to the safer shape for today’s code: local requests are timeout-wrapped by default, but we explicitly exclude the known mixed / non-abort-aware paths (/snapshot, /screenshot, /highlight, download hooks, etc.) and keep the narrower act-kind allowlist only for /act. I also added a regression test that exercises local /tabs/open with timeoutMs and asserts the dispatch still receives an abort signal.

query?: Record<string, unknown>;
body?: unknown;
}): string | undefined {
const resolvedBrowser = resolveBrowserConfig(params.cfg.browser, params.cfg);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Handle config parse failures in timeout gating

resolveRequestedProfileDriver now calls resolveBrowserConfig(...), which can throw on invalid browser URL/port values, but this evaluation happens before the request dispatch try/catch. If config becomes malformed while the browser service is already running, browser.request can fail with an unhandled exception path instead of a shaped gateway error response.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 7e5ef9fa6a.

resolveRequestedProfileDriver(...) now treats browser-config resolution as best-effort inside the timeout gate. If resolveBrowserConfig(...) throws, we fall back to the generic local timeout behavior instead of failing before the request dispatch error handling. That keeps malformed browser config from escaping through an unshaped exception path, and I added a regression test that forces resolveBrowserConfig to throw while asserting the local request still goes through the normal timeout-wrapped dispatch path.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7e5ef9fa6a

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines +56 to +59
"resize",
"wait",
"evaluate",
"close",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Drop non-abortable act kinds from timeout-safe allowlist

browser.request now treats /act kinds resize and close as abort-aware, so those requests are wrapped in withTimeout(...) and expected to cancel cleanly. However, the act executor still does not pass signal into resizeViewportViaPlaywright or closePageViaPlaywright (extensions/browser/src/browser/pw-tools-core.interactions.ts), so a timed-out local /act call can still keep running and mutate tab state after the gateway already returned UNAVAILABLE. This reintroduces the same stale-state hazard the new allowlist is trying to prevent for timed requests.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 005d79debe.

You were right about the immediate resize / close gap, but the root cause was broader: the gateway allowlist was treating a whole set of Playwright /act kinds as abort-aware while executeSingleAction(...) was only threading signal through a subset of them. I fixed this as one audit instead of another one-off patch:

  • executeSingleAction(...) now passes signal to every allowlisted Playwright act helper
  • the interaction helpers (click, type, press, hover, scrollIntoView, drag, select, fill) now all run under the same abort/disconnect wrapper
  • resize / close still pass their signal into the snapshot-side helpers
  • added a click abort regression test and tightened the batch test to assert signal propagation for resize / close

That keeps the local /act timeout allowlist aligned with the actual end-to-end abort behavior instead of fixing only one or two members.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant