-
Notifications
You must be signed in to change notification settings - Fork 531
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
Cleanup of runtime code #6872
Cleanup of runtime code #6872
Conversation
■ @fluidframework/base-host: No change
⯆ @fluid-example/bundle-size-tests: -409 Bytes
Baseline commit: 2ca9937 |
@kenluck2001 Thank you for this PR and #6876 ! There's an internal event at Microsoft this week, so you may not see any feedback on these PRs until next week. Just wanted to let you know we're not ignoring these. :) |
@jatgarg, can you please help with CR here? Specifically, assess if cleanup can be done across server/client in one go (i.e. I'd think we want to build repos linked together to prove correctness). @tanviraumi - please glance as well, I'm surprised a bit it's so easy :) Does R11S need to retain any of the logic related to commits? From quickly glancing through code, it feels like we do not use commits at all nowadays and we can do cleanup (including wiping out commits from ISnapshotTree). @kenluck2001 - some context for you: We have 3 separate builds as part of repo - common, server, client. They depend on each other through versioning mechanism. I.e. changes you are making here on the server side are not consumed in same build by client build - client keeps using old definitions, until new server packages are published and client bumps dependencies (versions in package.json) to consume them. So while build succeeded, it does not prove that all commit references (on client side) are removed - we may find surprises down the road when client consumes these new server bits.. Thus I'm a bit worried this is not complete fix, and a bit more involved validation might be required. We have certain ways to simplify such validation (by linking builds together), and that's required to prove to ourselves that indeed direction is right, but it is a bit involved operation |
Ping @jatgarg @tanviraumi |
…to cleanup-runtime-code
FYI @znewton |
I am trying to test these changes on my local box. |
Added some changes. The previous changes also look fine to me. Ran snapshot tests with these changes. So approving. We can merge once @znewton also approves this. |
This PR refactored the source code to remove these concepts from repo: #4691
TreeEntry.Commit
"commit"
ISnapshotTree.commits
Not sure if if #4683 is fully covered too