fix: preserve raw event correlation and merged migrations
This commit is contained in:
@@ -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"),
|
||||
]);
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user