Skip to content

Conversation

@jtmcdole
Copy link
Member

@jtmcdole jtmcdole commented Aug 4, 2025

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
Copy link
Contributor

@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 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.

@jtmcdole
Copy link
Member Author

jtmcdole commented Aug 5, 2025

  • 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
177 checks passed
@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