Skip to content

[pigeon] Fix pigeon test generation missing wrapResponse method. - #5903

Merged
auto-submit[bot] merged 2 commits into
flutter:mainfrom
azchohfi:pigeonTestGenerationFix
Jan 16, 2024
Merged

auto-submit[bot] merged 2 commits into
flutter:mainfrom
azchohfi:pigeonTestGenerationFix

Conversation

@azchohfi

Copy link
Copy Markdown
Contributor

Pigeon was not generating the wrapResponse method, and therefore failing compilation of the generated tests.

Fixes: flutter/flutter#141499

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the relevant style guides and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/packages repo does use dart format.)
  • I signed the CLA.
  • The title of the PR starts with the name of the package surrounded by square brackets, e.g. [shared_preferences]
  • I listed at least one issue that this PR fixes in the description above.
  • I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.
  • I updated CHANGELOG.md to add a description of the change, following repository CHANGELOG style.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is test-exempt.
  • All existing and new tests are passing.

@tarrinneal tarrinneal left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for throwing this together! I would say this is probably indicative of a need for more tests using this test output, but I think the dartTest output is potentially on it's way out.

@tarrinneal tarrinneal added the autosubmit Merge PR when tree becomes green via auto submit App label Jan 16, 2024
@auto-submit
auto-submit Bot merged commit 82158e8 into flutter:main Jan 16, 2024
@azchohfi
azchohfi deleted the pigeonTestGenerationFix branch January 16, 2024 21:14
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jan 17, 2024
auto-submit Bot pushed a commit to flutter/flutter that referenced this pull request Jan 17, 2024
flutter/packages@7dd0fcb...1a2b780

2024-01-17 98614782+auto-submit[bot]@users.noreply.github.com Reverts "[ci] Run check_podspecs on arm Mac bots" (flutter/packages#5909)
2024-01-17 [email protected] [various] Update minimum iOS versions to 12.0 (flutter/packages#5902)
2024-01-16 [email protected] [ci] Run check_podspecs on arm Mac bots (flutter/packages#5885)
2024-01-16 [email protected] [pigeon] Fix pigeon test generation missing wrapResponse method. (flutter/packages#5903)
2024-01-16 [email protected] Roll Flutter from 1a2c315 to 8e94423 (2 revisions) (flutter/packages#5897)
2024-01-16 49699333+dependabot[bot]@users.noreply.github.com Bump actions/upload-artifact from 3.1.3 to 4.1.0 (flutter/packages#5896)

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 [email protected],[email protected] 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
creatorpiyush pushed a commit to creatorpiyush/packages that referenced this pull request Jun 10, 2026
…tter#5903)

Pigeon was not generating the wrapResponse method, and therefore failing compilation of the generated tests.

Fixes: flutter/flutter#141499
bisor0627 pushed a commit to bisor0627/packages that referenced this pull request Jun 19, 2026
…tter#5903)

Pigeon was not generating the wrapResponse method, and therefore failing compilation of the generated tests.

Fixes: flutter/flutter#141499
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 p: pigeon

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[pigeon] Missing 'wrapResponse' method when using dartTestOut and only host APIs

2 participants