Skip to content

Commit 44aca6a

Browse files
V48 Gate 3 (implementation-only): Type deposit_synthesis_dispatched sourcePathHintCount
CI typecheck failed: ProductEvent did not allow sourcePathHintCount on the dispatch analytics payload after Forced Inclusion was wired into the funnel.
1 parent b1802e4 commit 44aca6a

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

uapi/lib/product-analytics.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ export type ProductEvent =
4040
name: "deposit_synthesis_dispatched";
4141
data: {
4242
hasObfuscations: boolean;
43+
/** Forced Inclusion path count (scope shape only). */
44+
sourcePathHintCount: number;
4345
protectedExclusionCount: number;
4446
demandSignalCount: number;
4547
};

uapi/tests/productAnalytics.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,22 @@ describe("trackProductEvent", () => {
2626
name: "deposit_synthesis_dispatched",
2727
data: {
2828
hasObfuscations: true,
29+
sourcePathHintCount: 1,
2930
protectedExclusionCount: 2,
3031
demandSignalCount: 3,
3132
},
3233
});
3334

3435
expect(mockTrack).toHaveBeenCalledWith("deposit_synthesis_dispatched", {
3536
hasObfuscations: true,
37+
sourcePathHintCount: 1,
3638
protectedExclusionCount: 2,
3739
demandSignalCount: 3,
3840
});
3941
expect(mockTrackEvent).toHaveBeenCalledWith("deposit_synthesis_dispatched", {
4042
event_category: "product",
4143
hasObfuscations: true,
44+
sourcePathHintCount: 1,
4245
protectedExclusionCount: 2,
4346
demandSignalCount: 3,
4447
});

0 commit comments

Comments
 (0)