Skip to content

fix: content_aware_hash tag for fuchsia merge / upload - #173253

Merged
auto-submit[bot] merged 2 commits into
flutter:masterfrom
jtmcdole:fuchsiaHash2
Aug 5, 2025
Merged

auto-submit[bot] merged 2 commits into
flutter:masterfrom
jtmcdole:fuchsiaHash2

Conversation

@jtmcdole

@jtmcdole jtmcdole commented Aug 4, 2025 •

Copy link
Copy Markdown
Member

Also tag after the upload, similar to #173140
fixes: #173137

@flutter-dashboard

This comment was marked as resolved.

@github-actions github-actions Bot added the engine flutter/engine related. See also e: labels. label Aug 4, 2025

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request refactors the CIPD package upload process to fix a race condition when tagging with content_aware_hash. The change separates the package creation and tagging steps. I've identified a critical issue where an incorrect package name is being used for the new tagging logic, which will likely cause failures. I've also suggested adding a docstring to the new helper function to adhere to the project's style guide. The Flutter style guide specifies that Python code should follow the Google Python Style Guide. The Google guide requires docstrings for public modules, functions, classes, and methods.

Comment thread engine/src/flutter/tools/fuchsia/merge_and_upload_debug_symbols.py Outdated
Comment thread engine/src/flutter/tools/fuchsia/merge_and_upload_debug_symbols.py Outdated
Comment thread engine/src/flutter/tools/fuchsia/merge_and_upload_debug_symbols.py
@jtmcdole

jtmcdole commented Aug 5, 2025

Copy link
Copy Markdown
Member Author
  • Update for package_name (since this python file handles both arm and x64).
  • refactored some code to TagBuildWithContentHash for easier reading.

@jtmcdole jtmcdole added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 5, 2025
@auto-submit
auto-submit Bot added this pull request to the merge queue Aug 5, 2025
Merged via the queue into flutter:master with commit efa5893 Aug 5, 2025
@flutter-dashboard flutter-dashboard Bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Aug 5, 2025
danilozhang pushed a commit to danilozhang/flutter that referenced this pull request Aug 6, 2025
ksokolovskyi pushed a commit to ksokolovskyi/flutter that referenced this pull request Aug 19, 2025
mboetger pushed a commit to mboetger/flutter that referenced this pull request Sep 18, 2025
korca0220 pushed a commit to korca0220/flutter that referenced this pull request Sep 22, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Nov 12, 2025
lucaantonelli pushed a commit to lucaantonelli/flutter that referenced this pull request Nov 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

engine flutter/engine related. See also e: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[infra] race condition in fuchsia upload of content hash

4 participants