Skip to content

Conversation

@gmackall
Copy link
Member

@gmackall gmackall commented Jan 21, 2025

Follow up to #4162.

The first PR was wrong - it modified the logic that is used to handle packages PRs, not framework PRs. This PR fixes that, adds a test, and also modifies the README to add a missing step that I found in flutter/flutter#129651, which originally blocked me from running the tests locally.

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 the Flutter Style Guide recently, and have followed its advice.
  • I signed the CLA.
  • I listed at least one issue that this PR fixes in the description above.
  • 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.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Copy link
Contributor

@reidbaker reidbaker left a comment

Choose a reason for hiding this comment

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

Best I can tell all of webhook_subscription.dart is formatting. If so consider reverting in this pr.

@gmackall gmackall force-pushed the add_test_for_no_comment_on_kotlin_files branch from 45417ed to 37d7ea0 Compare January 21, 2025 20:55
@gmackall

This comment was marked as resolved.

@gmackall gmackall marked this pull request as draft January 21, 2025 21:55
@gmackall gmackall changed the title Add a test that checks we don't add the "needs tests" comment when there is a Test.kt file present in the PR Fix exemption for flutter tool Kotlin tests, add test, and update README Jan 21, 2025
@gmackall gmackall marked this pull request as ready for review January 21, 2025 22:36
@gmackall
Copy link
Member Author

Re requesting your review @reidbaker - the request for a test actually found a bug, so the PR is no longer just a test.

Copy link
Contributor

@reidbaker reidbaker left a comment

Choose a reason for hiding this comment

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

I love when tests catch bugs

Copy link
Contributor

@stuartmorgan-g stuartmorgan-g left a comment

Choose a reason for hiding this comment

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

LGTM! Sorry I didn't catch the lack of test when reviewing the first PR; I should have, since I've written tests changes in this file plenty of times.

@gmackall gmackall added the autosubmit Merge PR when tree becomes green via auto submit App. label Jan 22, 2025
@auto-submit auto-submit bot merged commit 7325e32 into flutter:main Jan 22, 2025
4 checks passed
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants