refactor(core): migrate to Bun and converge acquisition policies and Agent boundaries

This commit is contained in:
root committed 2026-10-13 14:37:03 +08:00
1 parent 3f1c6d02f6
commit 27c0f27434
268 files changed
+7468 -7852

No files matched your search

@@ -18,7 +18,10 @@ describe.skipIf(!up)("快照截止时间", () => {
let h: Harness;
let siteId: string;
// 永不返回,也不理会 signal
const hang = (() => new Promise<Response>(() => {})) as typeof fetch;
const hang = (() => new Promise<Response>(() => {})) as (
input: RequestInfo | URL,
init?: RequestInit,
) => Promise<Response>;
beforeAll(async () => {
h = await createHarness("snapdeadline", { fetch: hang });