mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
feat(analytics): build-time bake + telemetry depth (#336)
Bake PostHog + Sentry into the published Docker image (SNAPOTTER_ANALYTICS build arg, codegen script). Delete entire consent system. Move event emission to BullMQ worker. Add cross-tier identity stitching, Sentry performance tracing on both tiers, frontend funnel events. Fix stateful regex bug. 86 files changed, 1593 insertions(+), 3747 deletions(-)
This commit is contained in:
@@ -261,6 +261,7 @@ function createMockRequest(opts: {
|
||||
for (const p of parts) yield p;
|
||||
},
|
||||
}),
|
||||
headers: {},
|
||||
log: { warn: vi.fn(), error: vi.fn(), info: vi.fn() },
|
||||
};
|
||||
}
|
||||
@@ -599,6 +600,7 @@ describe("createToolRoute", () => {
|
||||
};
|
||||
},
|
||||
}),
|
||||
headers: {},
|
||||
log: { warn: vi.fn(), error: vi.fn(), info: vi.fn() },
|
||||
};
|
||||
|
||||
@@ -644,6 +646,7 @@ describe("createToolRoute", () => {
|
||||
};
|
||||
},
|
||||
}),
|
||||
headers: {},
|
||||
log: { warn: vi.fn(), error: vi.fn(), info: vi.fn() },
|
||||
};
|
||||
|
||||
@@ -677,6 +680,7 @@ describe("createToolRoute", () => {
|
||||
};
|
||||
},
|
||||
}),
|
||||
headers: {},
|
||||
log: { warn: vi.fn(), error: vi.fn(), info: vi.fn() },
|
||||
};
|
||||
|
||||
@@ -709,6 +713,7 @@ describe("createToolRoute", () => {
|
||||
};
|
||||
},
|
||||
}),
|
||||
headers: {},
|
||||
log: { warn: vi.fn(), error: vi.fn(), info: vi.fn() },
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user