Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@gaaclarke
Copy link
Member

fixes flutter/flutter#143353

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 Flutter Style Guide and the C++, Objective-C, Java style guides.
  • I listed at least one issue that this PR fixes in the description above.
  • I added new tests to check the change I am making or feature I am adding, or the PR is test-exempt. See testing the engine for instructions on writing and running engine tests.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the CLA.
  • All existing and new tests are passing.

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

@gaaclarke gaaclarke marked this pull request as ready for review February 13, 2024 22:31
print_divider('<')
print(f'Unexpected diff in {golden_path}, use `git apply` with the following patch.')
print('')
print(redirect_patch(diff_result.stdout.decode()))
Copy link
Member

Choose a reason for hiding this comment

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

Could the diff also be written to a file? That way we might also be able to teach CI to harvest the file, which could provide a better workflow than copy-pasting from the CI logs.

Copy link
Member Author

Choose a reason for hiding this comment

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

I like the idea. I don't think there is prior art for that though. Copying and pasting the patch is how the license checker and the formatter work. You are thinking it could print out an url to a patch file? So you could do something like git apply | curl <url>?

Copy link
Member Author

Choose a reason for hiding this comment

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

I mean git apply | curl <url> has the same workflow as copy and pasting the patch. It's just a smaller copy and paste =)

Copy link
Member

Choose a reason for hiding this comment

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

If this script just writes the file, then later we can teach CI to harvest the file, upload it to storage, and include a link to it on the LUCI status page.

Copy link
Member Author

Choose a reason for hiding this comment

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

I filed an proposal for that: flutter/flutter#143409

I'm not going to do it as part of this PR and we can prioritize it against the other stuff we need. This PR fixes a problem that needs to be addressed asap.

@gaaclarke gaaclarke added the autosubmit Merge PR when tree becomes green via auto submit App label Feb 13, 2024
@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Feb 13, 2024
@auto-submit
Copy link
Contributor

auto-submit bot commented Feb 13, 2024

auto label is removed for flutter/engine/50621, due to - The status or check suite Linux linux_unopt has failed. Please fix the issues identified (or deflake) before re-applying this label.

@gaaclarke gaaclarke added the autosubmit Merge PR when tree becomes green via auto submit App label Feb 14, 2024
@auto-submit auto-submit bot merged commit 0849250 into flutter:main Feb 14, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Feb 14, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Feb 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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.

[Impeller] Migrate _NUM_EXPECTED_GENERATED_IMPELLER_GOLDEN_FILES to diff file

3 participants