perf(browser-transfer): run image-cdn abort wiring on the kernel operation (R3-2)

The capability-verification deadline, the probe wait and runtime close now
use createAbortableOperation/snapshotAbortTimers instead of three local
helpers and a default scheduler wrapper. Results, error codes and the
scheduler TypeError message are unchanged. Hand-rolled abort ratchet 17 -> 16.

file-transfer gzip: 54562 -> 54406

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
DongHyeonka
2026-09-24 15:22:22 +09:00
co-authored by Claude Opus 5.5
parent 108ac6a606
commit 874f4012ee
2 changed files with 53 additions and 150 deletions
+3 -1
View File
@@ -205,7 +205,9 @@ async function main(): Promise<void> {
// `browser-files/browser-file-vault.ts`가 커널 race로 옮겨갔다(Q-6.2-7).
// 19 → 18: `browser-file-storage/storage-manager-adapter.ts`의 inspection
// 대기가 커널 race로 옮겨갔다(Q-B).
const HAND_ROLLED_ABORT_CEILING = 17;
// 17 → 16: `browser-transfer/image-cdn/image-cdn-runtime.ts`의 검증 deadline과
// probe 대기가 커널 operation으로 옮겨갔다(R3-2).
const HAND_ROLLED_ABORT_CEILING = 16;
const handRolledScan = spawnSync(
"git",
["grep", "-l", 'addEventListener("abort"', "--", "src/adapters"],