fix: preserve raw event correlation and merged migrations

This commit is contained in:
-Puter
2026-07-14 18:13:18 +05:30
parent bbeaae5684
commit 453d9b5191
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ const [proxy, latestRoute, servicesRoute, schema, migration, homeTypes] = await
readFile(new URL("../src/v1/qscore/qscore-routes.ts", import.meta.url), "utf8"),
readFile(new URL("../src/routes/services.ts", import.meta.url), "utf8"),
readFile(new URL("../src/db/schema.ts", import.meta.url), "utf8"),
readFile(new URL("../drizzle/0015_rq_score_snapshot.sql", import.meta.url), "utf8"),
readFile(new URL("../drizzle/0016_rq_score_snapshot.sql", import.meta.url), "utf8"),
readFile(new URL("../src/home/types.ts", import.meta.url), "utf8"),
]);
+1 -1
View File
@@ -264,7 +264,7 @@ export function canonicalGrowEventEnvelope(normalized: GrowEventEnvelope, resolv
occurredAt: normalized.occurredAt,
mission: normalized.mission,
subject: normalized.subject,
correlation: normalized.correlation,
correlation: producer.correlation ?? normalized.correlation,
payload: normalized.payload,
raw: normalized.raw,
dedupeKey: normalized.dedupeKey,