-
Notifications
You must be signed in to change notification settings - Fork 537
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
Deprecate unnecessary exports of container-runtime package #23607
Conversation
…to test/container-runtime-deprecations
4a5f0d5
to
ddd4188
Compare
…to test/container-runtime-deprecations
a41535b
to
dfe2e21
Compare
…to test/container-runtime-deprecations
once these deprecations are made internal, we will see about a 50% reduction of exported surface area: https://github.com/microsoft/FluidFramework/compare/test/container-runtime-deprecations-removals |
packages/runtime/container-runtime/src/blobManager/blobManagerSnapSum.ts
Outdated
Show resolved
Hide resolved
packages/runtime/container-runtime/src/summary/summaryManager.ts
Outdated
Show resolved
Hide resolved
packages/runtime/container-runtime/src/summary/summaryManager.ts
Outdated
Show resolved
Hide resolved
packages/runtime/container-runtime/src/summary/summaryManager.ts
Outdated
Show resolved
Hide resolved
packages/runtime/container-runtime/src/summary/summaryManager.ts
Outdated
Show resolved
Hide resolved
packages/runtime/container-runtime/src/summary/summaryManager.ts
Outdated
Show resolved
Hide resolved
b58e4f2
to
611033c
Compare
…to test/container-runtime-deprecations
…to test/container-runtime-deprecations
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving for docs.
packages/runtime/container-runtime/src/blobManager/blobManagerSnapSum.ts
Outdated
Show resolved
Hide resolved
@@ -1432,10 +1459,11 @@ export class ContainerRuntime | |||
}; | |||
|
|||
/** | |||
* Summarizer is responsible for coordinating when to send generate and send summaries. | |||
*Summarizer is responsible for coordinating when to send generate and send summaries. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*Summarizer is responsible for coordinating when to send generate and send summaries. | |
* Summarizer is responsible for coordinating when to send generate and send summaries. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There seem to be a number of places where the formatting was (unintentionally?) changed to omit the leading space. We should restore those.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this package was using our recommended
eslint config, it would have caught this. Migration to this config is WIP 🙂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah. the current linting tools are not great. running autofix tends to create a ton of issue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some docs syntax related comments that should be resolved before merging.
b47ff93
to
8be9540
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Exciting!
Co-authored-by: Matt Rakow <[email protected]>
…to test/container-runtime-deprecations
…to test/container-runtime-deprecations
🔗 No broken links found! ✅ Your attention to detail is admirable. linkcheck output
|
@@ -51,6 +51,7 @@ import { | |||
getStorageIds, | |||
summarizeBlobManagerState, | |||
toRedirectTable, | |||
// eslint-disable-next-line import/no-deprecated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will it help you to find/remove these if you put a keyword on these lines? Or... maybe you can just do git revert
on this commit to start the removal branch?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
npm run lint:fix
can remove them
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent!
FYI I believe @jason-ha had a technique for exporting symbols non-deprecated for @internal
which avoids having to do the // eslint-disable-next-line import/no-deprecated
everywhere, in case you're interested.
The following types in the
@fluidframework/container-runtime
are deprecated. These types are unnecessary for external users of this package.related #23644