Repository navigation
Conversation
Runtime-created actions (per-app FlutterAppAction subclasses, OpenEmulatorAction) use their ID constant only as an analytics id or ProjectActions key. The review bot assumed a plugin.xml registration on flutter#9236.
Contributor
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
Merged
4 tasks done
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Say that not every action
IDis aplugin.xmlregistration. Runtime-created actions (per-appFlutterAppActionsubclasses,OpenEmulatorAction) useIDonly as an analytics id or aProjectActionskey. On #9236 the bot claimed renamingOpenEmulatorAction.IDbreaks aplugin.xmlregistration that doesn't exist.NOTE: This one is low on evidence since review-tuner doesn't pickup the WIP but replays support it's value.
Evidence
OpenEmulatorAction.IDwithout updatingplugin.xmlbreaks lookups. A maintainer replied that the action isn't registered and the id is analytics-onlyOpenEmulatorActionamong "registered actions" (same misconception, not rebutted on this point)Replay results
Quick
check(simulated reviewer,inheritmodel, 1 run per arm):plugin.xmlrename with a stalegetAction("…")lookupVerdict: helps (2/3 → 3/3). In both arms the guard was flagged as a MUST-FIX, so the rule still catches real registration mismatches. Informally, two more replays without this rule (from a separate check) also raised the same id-rename concern on #9236, so it appeared in 3/3 runs without the rule and 0/1 with it.
Limitations
plugin.xml, the examples need updating.Prepared with
review-tuner(agent-assisted evidence and replay workflow) and reviewed by @pq.Review the contribution guidelines below:
AUTHORSfile.CHANGELOG.mdif appropriate.Contribution guidelines:
our contributor guide and
the Flutter organization contributor guide
for general expectations for PRs.
dart format.practices (discussion).