Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/drivers/odsp-driver/src/fetchSnapshot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ async function fetchLatestSnapshotCore(
const internalFarmType = checkForKnownServerFarmType(odspResolvedUrl.siteUrl);
const isRedemptionNonDurable: boolean =
odspResolvedUrl.shareLinkInfo?.isRedemptionNonDurable === true;
const fileVersion = odspResolvedUrl.fileVersion ?? undefined;

const perfEvent = {
eventName,
Expand Down Expand Up @@ -547,6 +548,7 @@ async function fetchLatestSnapshotCore(
useLegacyFlowWithoutGroups:
useLegacyFlowWithoutGroupsForSnapshotFetch(loadingGroupIds),
userOps: snapshot.ops?.filter((op) => isRuntimeMessage(op)).length ?? 0,
fileVersion,
// Measures time to make fetch call. Should be similar to
// fetchStartToResponseEndTime - receiveContentTime, i.e. it looks like it's time till first byte /
// end of response headers
Expand Down
Loading