Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Identify when the legacy _createDataStoreWithProps API is used to create root datastores #9796

Merged
merged 1 commit into from
Apr 8, 2022

Conversation

andre4i
Copy link
Contributor

@andre4i andre4i commented Apr 8, 2022

This would help better identify the targets for migrating away from the legacy API.

Related to #9660

@andre4i andre4i requested a review from a team as a code owner April 8, 2022 18:12
@github-actions github-actions bot added area: runtime Runtime related issues base: main PRs targeted against main branch labels Apr 8, 2022
@msfluid-bot
Copy link
Collaborator

@fluid-example/bundle-size-tests: +470 Bytes
Metric NameBaseline SizeCompare SizeSize Diff
aqueduct.js 394.19 KB 394.28 KB +94 Bytes
containerRuntime.js 216.71 KB 216.8 KB +94 Bytes
loader.js 160.3 KB 160.3 KB No change
map.js 231.8 KB 231.9 KB +94 Bytes
matrix.js 319.24 KB 319.33 KB +94 Bytes
odspDriver.js 182.98 KB 182.98 KB No change
odspPrefetchSnapshot.js 76.7 KB 76.7 KB No change
sharedString.js 339.75 KB 339.85 KB +94 Bytes
Total Size 1.91 MB 1.91 MB +470 Bytes

Baseline commit: 0c41ca1

Generated by 🚫 dangerJS against 56b6d16

@@ -1900,6 +1900,10 @@ export class ContainerRuntime extends TypedEventEmitter<IContainerRuntimeEvents>
Array.isArray(pkg) ? pkg : [pkg], id, isRoot, props).realize();
if (isRoot) {
fluidDataStore.bindToContext();
this.logger.sendTelemetryEvent({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general, I do not think telemetry like that (especially if it's not an error) is helpful. We should assume that we can see telemetry only from small set of our customers. For example, I think onenote does not send data to our DB. Same for any 3rd party.

Telemetry like that might be good at nudging people to react if it brings attention of developers on FF upgrade - so issuing error events might have some impact.

But when it comes to end-to-end process, I think we should not rely on telemetry, we should rely on process itself - clearly setting SLAs, expectations, communication (breaking.md, deprecated APIs).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree in general. This is to augment the process, provide the data (if available) about the main customers that already use the API to monitor the decommission

@andre4i andre4i merged commit 87f75ea into microsoft:main Apr 8, 2022
@andre4i andre4i mentioned this pull request Apr 11, 2022
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: runtime Runtime related issues base: main PRs targeted against main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants