Skip to content

Conversation

@stuartmorgan-g
Copy link
Collaborator

Gives the Swift messages file a more idiomatic output filename, which does not include an underscore.

Works around flutter/flutter#178736

Pre-Review Checklist

Footnotes

  1. Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling. 2 3

Gives the Swift messages file a more idiomatic output filename, which
does not include an underscore.

Works around flutter/flutter#178736
@stuartmorgan-g stuartmorgan-g added override: no versioning needed Override the check requiring version bumps for most changes override: no changelog needed Override the check requiring CHANGELOG updates for most changes labels Nov 18, 2025
@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests or get an explicit test exemption before merging.

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. If you believe this PR qualifies for a test exemption, contact "@test-exemption-reviewer" in the #hackers channel in Discord (don't just cc them here, they won't see it!). The test exemption team is a small volunteer group, so all reviewers should feel empowered to ask for tests, without delegating that responsibility entirely to the test exemption group.

@stuartmorgan-g
Copy link
Collaborator Author

CHANGELOG/version override: This just renames an internal implementation file, so is a no-op for clients.

@stuartmorgan-g
Copy link
Collaborator Author

test-exempt: code refactor with no semantic change

Copy link

@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 renames the Swift Pigeon output file for StoreKit 2 from sk2_pigeon.g.swift to the more idiomatic StoreKit2Messages.g.swift. This change addresses a swift-format issue with underscores in filenames. The renaming of the file also triggered corresponding renames of generated classes and functions within the file, improving naming consistency and adherence to Swift conventions. The changes are confined to the Pigeon configuration and the generated Swift file, and appear to be correct and beneficial.

Copy link
Contributor

@LouiseHsu LouiseHsu left a comment

Choose a reason for hiding this comment

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

ah interesting - i definitely did not consider swift format when I was naming it. lgtm!

@stuartmorgan-g
Copy link
Collaborator Author

i definitely did not consider swift format when I was naming it

Yes, if not for the specific behavior of the Pigeon generator, I don't think there's really any reason we would ever have given the filename much thought.

@stuartmorgan-g
Copy link
Collaborator Author

@LouiseHsu Are you aware of any flake in these native unit tests? I'm seeing flake in both CI and locally in this PR, and I can't imagine that the rename caused it.

@LouiseHsu
Copy link
Contributor

@LouiseHsu Are you aware of any flake in these native unit tests? I'm seeing flake in both CI and locally in this PR, and I can't imagine that the rename caused it.

Hmm, not that Im aware of. I can take a look. The failures look like it comes from interacting with the testing sandbox... which shouldnt be related?

@stuartmorgan-g stuartmorgan-g added the autosubmit Merge PR when tree becomes green via auto submit App label Nov 18, 2025
@auto-submit auto-submit bot merged commit 8af0ee9 into flutter:main Nov 18, 2025
80 checks passed
@stuartmorgan-g
Copy link
Collaborator Author

Locally when I ran it several times, sometimes a couple of the tests had the wrong outcome.

@LouiseHsu
Copy link
Contributor

jk guess its fine.

@stuartmorgan-g stuartmorgan-g deleted the storekit-pigeon-output-rename branch November 18, 2025 19:00
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 19, 2025
github-merge-queue bot pushed a commit to flutter/flutter that referenced this pull request Nov 19, 2025
flutter/packages@34746bb...8f72e4b

2025-11-19 victoreronmosele@gmail.com [rfw] Update broken links in rfw's
README.md (flutter/packages#9796)
2025-11-19 49699333+dependabot[bot]@users.noreply.github.com
[dependabot]: Bump androidx.activity:activity from 1.10.1 to 1.11.0 in
/packages/image_picker/image_picker_android/android
(flutter/packages#10045)
2025-11-19 49699333+dependabot[bot]@users.noreply.github.com
[dependabot]: Bump androidx.core:core from 1.13.1 to 1.17.0 in
/packages/url_launcher/url_launcher_android/android
(flutter/packages#9855)
2025-11-19 matt.boetger@gmail.com Upgrade AGP to 8.9.1
(flutter/packages#10458)
2025-11-18 stuartmorgan@google.com [pigeon] Update analyzer range to 8-9
(flutter/packages#10466)
2025-11-18 stuartmorgan@google.com [in_app_purchase] Rename Swift Pigeon
output file (flutter/packages#10465)
2025-11-18 engine-flutter-autoroll@skia.org Roll Flutter from
cc14ef5 to cb7b7df (20 revisions) (flutter/packages#10464)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC flutter-ecosystem@google.com on the revert to ensure that a
human
is aware of the problem.

To file a bug in Flutter:
https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App override: no changelog needed Override the check requiring CHANGELOG updates for most changes override: no versioning needed Override the check requiring version bumps for most changes p: in_app_purchase platform-ios platform-macos

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants