feat(auth): wire instrumentation — users repo spans + sign-in/up/out withSpan

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-07 00:24:20 +02:00
parent 5903cef70a
commit 64ffb009e1
7 changed files with 379 additions and 44 deletions

View File

@@ -54,7 +54,7 @@ export async function bindAllProduction(): Promise<void> {
bound = true;
const { tracer, logger } = resolveInstrumentation(); // Rule 0
const resolvedConfig = await config;
bindProductionAuth(resolvedConfig);
bindProductionAuth(resolvedConfig, tracer, logger); // Phase E task 19
bindProductionBlog(resolvedConfig, tracer, logger); // Phase E task 18
bindProductionMarketingPages(resolvedConfig);
bindProductionNavigation(resolvedConfig);
@@ -70,7 +70,7 @@ export async function bindAllDevSeed(): Promise<void> {
if (bound) return;
bound = true;
const { tracer, logger } = resolveInstrumentation(); // Rule 0
await bindDevSeedAuth();
await bindDevSeedAuth(tracer, logger); // Phase E task 19
await bindDevSeedBlog(tracer, logger); // Phase E task 18
await bindDevSeedMarketingPages();
await bindDevSeedNavigation();