-
Notifications
You must be signed in to change notification settings - Fork 535
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
Remove SummarizerStopReason, ISummarizeEventProps, and ISummarizerEvents #23483
Remove SummarizerStopReason, ISummarizeEventProps, and ISummarizerEvents #23483
Conversation
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.
Copilot reviewed 5 out of 7 changed files in this pull request and generated no comments.
Files not reviewed (2)
- packages/runtime/container-runtime/package.json: Language not supported
- packages/runtime/container-runtime/src/index.ts: Evaluated as low risk
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.
Approved for docs!
|
||
Removed SummarizerStopReason, ISummarizeEventProps, and ISummarizerEvents | ||
|
||
`SummarizerStopReason`, `ISummarizeEventProps`, and `ISummarizerEvents` have all been removed from the `"@fluidframework/container-runtime"` package. Please migrate all uses of these APIs to their respective copies in the `"@fluidframework/container-runtime-definitions"` package. |
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.
@jason-ha was suggesting we link to the release note where the deprecation was announced, rather than having to restate everything again in duplicate.
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.
Yep - but okay if the migration notes are short like this.
@@ -742,6 +742,7 @@ declare type current_as_old_for_Interface_ISubmitSummaryOptions = requireAssigna | |||
* typeValidation.broken: | |||
* "Interface_ISummarizeEventProps": {"forwardCompat": false} | |||
*/ | |||
// @ts-expect-error compatibility expected to be broken |
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.
@CraigMacomber -- I thought when something was removed, it got a special new entry in this file. Did that change?
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.
The type tests don't understand "removal". The tests are generated purely from the prior package API and the break settings of the current package.
The testing shouldn't care if the API still exists or not - just that the new API surface is (isn't) the same as the old.
(This was a nice change in strategy that Craig put in place.)
🔗 No broken links found! ✅ Your attention to detail is admirable. linkcheck output
|
SummarizerStopReason
,ISummarizeEventProps
, andISummarizerEvents
have all been removed from the"@fluidframework/container-runtime"
package and moved to the"@fluidframework/container-runtime-definitions"
package.Context
These types have been moved to the
"@fluidframework/container-runtime-definitions"
package to be included on theIContainerRuntime
interface.#23217
AB#26524