Skip to content

Conversation

robert-ancell
Copy link
Contributor

Raise awareness that Flutter FIXME:RELEASED_VERSION merged the UI/platform threads on Linux. This is a significant internal change that might break apps. If so, we'd like customers to reach out to us on GitHub so that we can fix bugs, if any.

Raise awareness that Flutter FIXME:RELEASED_VERSION merged the UI/platform threads on
Linux. This is a significant internal change that _might_
break apps. If so, we'd like customers to reach out to us on GitHub so
that we can fix bugs, if any.
@robert-ancell robert-ancell requested review from a team and sfshaza2 as code owners October 9, 2025 22:10
Copy link
Contributor

Summary of Changes

Hello @robert-ancell, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request introduces crucial documentation to inform Flutter users about a significant internal architectural change on Linux: the merging of UI and platform threads. This modification, while standardizing behavior across platforms, has the potential to impact existing applications. The primary objective is to proactively communicate this breaking change and establish a clear channel for users to report any issues, thereby ensuring the continued stability and smooth evolution of Flutter applications on the Linux platform.

Highlights

  • Announcement of Merged Threads on Linux: This pull request adds an announcement regarding Flutter's internal change to merge UI and platform threads by default on Linux, aligning its behavior with other platforms.
  • Potential Breaking Change Awareness: The announcement highlights that this significant internal change might break existing applications and encourages users to report any regressions on GitHub to facilitate bug fixes.
  • Documentation Update: A new markdown file, linux-merged-threads.md, is added to the release/breaking-changes section, providing detailed context, a description of the change, a migration guide, and references for this threading modification.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@robert-ancell robert-ancell marked this pull request as draft October 9, 2025 22:10
@robert-ancell
Copy link
Contributor Author

This is essentially a copy of #12440

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request adds a new breaking change announcement for merged threads on Linux. The changes include adding the announcement to the index and creating a new markdown file with the details. My review focuses on consistency and adherence to the repository's documentation standards. I've pointed out a placeholder inconsistency and some sorting issues in the index file. Overall, the content of the announcement is clear and well-written.

* [`$FLUTTER_ROOT/version` replaced by `$FLUTTER_ROOT/bin/cache/flutter.version.json`][]
* [SnackBar with action no longer auto-dismisses][]
* [Deprecate `SemanticsProperties.focusable` and `SemanticsConfiguration.isFocusable`][]
* [Merged threads on Linux][]
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

According to line 41, this list should be in alphabetical order. This new entry is appended at the end, not in alphabetical order. Please place it in the correct alphabetical position to follow the documented convention.

[`$FLUTTER_ROOT/version` replaced by `$FLUTTER_ROOT/bin/cache/flutter.version.json`]: /release/breaking-changes/flutter-root-version-file
[SnackBar with action no longer auto-dismisses]: /release/breaking-changes/snackbar-with-action-behavior-update
[Deprecate `SemanticsProperties.focusable` and `SemanticsConfiguration.isFocusable`]: /release/breaking-changes/deprecate-focusable
[Merged threads on Linux]: /release/breaking-changes/linux-merged-threads
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

Similar to the list of breaking changes, this list of link definitions should also be in alphabetical order based on the rule on line 41. Please place this new link definition in the correct alphabetical position.


## Description of change

Flutter FIXME:Next version merges the UI and platform threads by default on Linux.
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

This placeholder FIXME:Next version is inconsistent with FIXME:RELEASE_VERSION used elsewhere in the file (lines 4, 9, 36). To maintain consistency, please use FIXME:RELEASE_VERSION here as well.

Suggested change
Flutter FIXME:Next version merges the UI and platform threads by default on Linux.
Flutter FIXME:RELEASE_VERSION merges the UI and platform threads by default on Linux.

@robert-ancell
Copy link
Contributor Author

@loic-sharma I'm not sure what version numbers to put in here - is there a number for the next release I should use or remove these numbers?

@flutter-website-bot
Copy link
Collaborator

Visit the preview URL for this PR (updated for commit c6f61e6):

https://flutter-docs-prod--pr12534-linux-merged-threads-d6qcedwn.web.app

@loic-sharma
Copy link
Member

loic-sharma commented Oct 9, 2025

@robert-ancell The placeholders are fine for now :)

FYI @flutter/website-reviewers, this change (flutter/flutter#176759) is NOT in the upcoming 3.38 release. It'll land in the subsequent release.

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.

3 participants