-
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
[For 2.20] Remove IContainerRuntimeOptions.flushmode #23337
base: main
Are you sure you want to change the base?
[For 2.20] Remove IContainerRuntimeOptions.flushmode #23337
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 3 out of 3 changed files in this pull request and generated no comments.
🔗 No broken links found! ✅ Your attention to detail is admirable. linkcheck output
|
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.
⯅ @fluid-example/bundle-size-tests: +245 Bytes
Baseline commit: 35e9227 |
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.
A few minor tweaks to wording, but docs look good!
IContainerRuntimeOptions.flushMode has been removed | ||
|
||
This option allowed an application specify whether to flush ops "immediately" (literally 1-by-1) or "turn-based" | ||
(batched by JS turn). But `Immediate` mode has been deprecated and should no longer be used. |
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.
(batched by JS turn). But `Immediate` mode has been deprecated and should no longer be used. | |
(batched by JS turn). `Immediate` mode has been deprecated and should no longer be used. |
|
||
IContainerRuntimeOptions.flushMode has been removed | ||
|
||
This option allowed an application specify whether to flush ops "immediately" (literally 1-by-1) or "turn-based" |
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.
This option allowed an application specify whether to flush ops "immediately" (literally 1-by-1) or "turn-based" | |
This option allowed an application to specify whether to flush ops "immediately" (literally 1-by-1) or "turn-based" |
This option allowed an application specify whether to flush ops "immediately" (literally 1-by-1) or "turn-based" | ||
(batched by JS turn). But `Immediate` mode has been deprecated and should no longer be used. | ||
|
||
Now there is only one choice, which is the default `TurnBased` mode. So we can simply remove this option. |
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.
Now there is only one choice, which is the default `TurnBased` mode. So we can simply remove this option. | |
Now there is only one choice, which is the default `TurnBased` mode, so the `Immediate` mode can be removed. |
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.
I think it would also be okay to point to deprecation release notes (when available)
@jason-ha what specifically are you suggesting? |
Description
Fixes AB#26496
See #23287
IContainerRuntimeOptions.flushMode
is being removedThis option allowed an application specify whether to flush ops "immediately" (literally 1-by-1) or "turn-based"
(batched by JS turn). But
Immediate
mode has been deprecated and should no longer be used.Now there is only one choice, which is the default
TurnBased
mode. So we can simply remove this option.Breaking Changes
This is a breaking change to the
IContainerRuntimeOptions
interface.flushMode
is deprecated as of2.12.0
, and there are no known usages in partner codebases.FlushMode.Immediate
has been deprecated since2.0.0-rc.2.0.0
.