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

Port https://github.com/microsoft/FluidFramework/pull/5773 to 0.38 #5850

Merged
merged 1 commit into from
Apr 20, 2021

Conversation

vladsud
Copy link
Contributor

@vladsud vladsud commented Apr 19, 2021

This change did not make it into 0.38 by one day.
After discussing it with Jade, we are running out of time to get it into hosts (including Teams) before GA on 5/7, so porting looks like responsible step, given that release likely did not make it yet to Bohemia.
Please let me know if you feel it's too risky given where we are.

Addresses #5477

It gives a lot of flexibility to developers to control loading process.
In particular, it allows Bohemia to apply cached ops before container is returned, and (optionally) allow ops from storage to continue to trickle in through initial boot / render cycle to speed up catch up process (this would need to be tested to ensure existing code behaves correctly in presence of changes).

Addresses microsoft#5477

It gives a lot of flexibility to developers to control loading process.
In particular, it allows Bohemia to apply cached ops before container is returned, and (optionally) allow ops from storage to continue to trickle in through initial boot / render cycle to speed up catch up process (this would need to be tested to ensure existing code behaves correctly in presence of changes).
@msfluid-bot
Copy link
Collaborator

@fluidframework/base-host: +1.09 KB
Metric NameBaseline SizeCompare SizeSize Diff
main.js 173.79 KB 174.88 KB +1.09 KB
Total Size 173.79 KB 174.88 KB +1.09 KB
@fluid-example/bundle-size-tests: +6 Bytes
Metric NameBaseline SizeCompare SizeSize Diff
container.js 204.05 KB 204.05 KB +6 Bytes
map.js 49.07 KB 49.07 KB No change
matrix.js 143.21 KB 143.21 KB No change
odspDriver.js 208.75 KB 208.75 KB No change
sharedString.js 158.1 KB 158.1 KB No change
Total Size 763.18 KB 763.18 KB +6 Bytes

Baseline commit: 009f6ed

Generated by 🚫 dangerJS against e74c562

Copy link
Contributor

@heliocliu heliocliu left a comment

Choose a reason for hiding this comment

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

I'm happy to rubber stamp this if it's a port. @arinwt do you know the status of the 0.38 integration? does this need a release tonight or can i get to that in the morning tomorrow?

@arinwt
Copy link
Contributor

arinwt commented Apr 20, 2021

I don't think it's integrated yet. I don't see any rush on this. I can do a patch release later tonight if needed.

@vladsud
Copy link
Contributor Author

vladsud commented Apr 20, 2021

Thanks! Yes, it's a port

@vladsud vladsud merged commit 18b98f0 into microsoft:release/0.38 Apr 20, 2021
@vladsud vladsud deleted the LoadingOptions_38 branch April 20, 2021 04:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants