Skip to content

Ensure that directory names are typed as strings in the CIPD package YAML file generated by merge_and_upload_debug_symbols.py#187813

Merged
auto-submit[bot] merged 1 commit into
flutter:masterfrom
jason-simmons:bug_187806
Jun 11, 2026
Merged

Ensure that directory names are typed as strings in the CIPD package YAML file generated by merge_and_upload_debug_symbols.py#187813
auto-submit[bot] merged 1 commit into
flutter:masterfrom
jason-simmons:bug_187806

Conversation

@jason-simmons

Copy link
Copy Markdown
Member

This script is writing a YAML file that is used to create a CIPD package containing Fuchsia debug symbols. The YAML spec references subdirectories in Fuchsia's .build-id directory.

.build-id contains binaries indexed by the binary's hash. The name of each subdirectory in .build-id is the first two hex digits of the hash.

If the subdirectory name contains two digits starting with a zero, then the YAML entry will look like "dir: 01". YAML will interpret the value as the integer 1, which will not match the actual directory name of "01". CIPD will thus fail to create the package.

This PR fixes the YAML so that the directory names are quoted as strings.

See #187806

…YAML file generated by merge_and_upload_debug_symbols.py

This script is writing a YAML file that is used to create a CIPD
package containing Fuchsia debug symbols.  The YAML spec references
subdirectories in Fuchsia's .build-id directory.

.build-id contains binaries indexed by the binary's hash.  The name of
each subdirectory in .build-id is the first two hex digits of the hash.

If the subdirectory name contains two digits starting with a zero, then
the YAML entry will look like "dir: 01".  YAML will interpret the value
as the integer 1, which will not match the actual directory name of
"01".  CIPD will thus fail to create the package.

This PR fixes the YAML so that the directory names are quoted as
strings.

See flutter#187806
@jason-simmons jason-simmons requested a review from b-luk June 10, 2026 21:49
@flutter-dashboard flutter-dashboard Bot added the CICD Run CI/CD label Jun 10, 2026
@flutter-dashboard

Copy link
Copy Markdown

It looks like this pull request may not have tests. Please make sure to add tests or get an explicit test exemption before merging.

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. If you believe this PR qualifies for a test exemption, contact "@test-exemption-reviewer" in the #hackers channel in Discord (don't just cc them here, they won't see it!). The test exemption team is a small volunteer group, so all reviewers should feel empowered to ask for tests, without delegating that responsibility entirely to the test exemption group.

@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 modifies merge_and_upload_debug_symbols.py to wrap the directory path in double quotes within the generated CIPD package definition. There are no review comments, and no feedback is provided.

@github-actions github-actions Bot added the engine flutter/engine related. See also e: labels. label Jun 10, 2026
@jason-simmons jason-simmons added the autosubmit Merge PR when tree becomes green via auto submit App label Jun 10, 2026
@auto-submit auto-submit Bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Jun 10, 2026
@auto-submit

auto-submit Bot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

autosubmit label was removed for flutter/flutter/187813, because - The status or check suite Linux mac_android_aot_engine has failed. Please fix the issues identified (or deflake) before re-applying this label.

@jason-simmons jason-simmons added the autosubmit Merge PR when tree becomes green via auto submit App label Jun 10, 2026
@auto-submit auto-submit Bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Jun 11, 2026
@auto-submit

auto-submit Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

autosubmit label was removed for flutter/flutter/187813, because - The status or check suite Mac mac_unopt has failed. Please fix the issues identified (or deflake) before re-applying this label.

  • The status or check suite Mac_arm64 build_tests_3_5 has failed. Please fix the issues identified (or deflake) before re-applying this label.

@jason-simmons jason-simmons added the autosubmit Merge PR when tree becomes green via auto submit App label Jun 11, 2026
@auto-submit auto-submit Bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Jun 11, 2026
@auto-submit

auto-submit Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

autosubmit label was removed for flutter/flutter/187813, because - The status or check suite Mac mac_unopt has failed. Please fix the issues identified (or deflake) before re-applying this label.

@jason-simmons jason-simmons added the autosubmit Merge PR when tree becomes green via auto submit App label Jun 11, 2026
@auto-submit auto-submit Bot added this pull request to the merge queue Jun 11, 2026
Merged via the queue into flutter:master with commit 312bf19 Jun 11, 2026
222 checks passed
@flutter-dashboard flutter-dashboard Bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Jun 11, 2026
auto-submit Bot pushed a commit to flutter/packages that referenced this pull request Jun 11, 2026
flutter/flutter@c0a1129...8bdce07

2026-06-11 bernaferrari2@gmail.com Make shape border lerp symmetric (flutter/flutter#187282)
2026-06-11 matt.kosarek@canonical.com Sized to content for regular and dialog windows on win32 (flutter/flutter#186829)
2026-06-11 jason-simmons@users.noreply.github.com Ensure that directory names are typed as strings in the CIPD package YAML file generated by merge_and_upload_debug_symbols.py (flutter/flutter#187813)
2026-06-11 stuartmorgan@google.com Add core-packages to ecosystem triage (flutter/flutter#187796)
2026-06-11 engine-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from 8azSyvz57mKcPqTwk... to 2KosSR4ONUjIB7tP_... (flutter/flutter#187842)
2026-06-11 ishaquehassan@gmail.com Document moveStep direction on WidgetController.dragUntilVisible (flutter/flutter#186943)
2026-06-11 ahmedsameha1@gmail.com Add more 0x0 size tests part 11 (flutter/flutter#186822)
2026-06-10 kumarshivam72@gmail.com Fix ShapeDecoration.lerp crash when interpolating between gradient and color (flutter/flutter#187368)
2026-06-10 codedoctor@linwood.dev Reland "Add support for stylus buttons" (flutter/flutter#187629)
2026-06-10 tanyabouman@gmail.com Api docs: typo fix in Navigator (flutter/flutter#187572)
2026-06-10 engine-flutter-autoroll@skia.org Roll Packages from bd297cf to 1b56cde (4 revisions) (flutter/flutter#187784)
2026-06-10 116356835+AbdeMohlbi@users.noreply.github.com Improve docs on MediaQuery: highContrast, invertColors and disableAnimations (flutter/flutter#186614)
2026-06-10 matt.boetger@gmail.com [Android] Test to verify AnnounceSemanticsEvent deprecation warning on API 36 (flutter/flutter#187754)

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
Please CC louisehsu@google.com,stuartmorgan@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Packages: 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
via-guy pushed a commit to via-guy/flutter that referenced this pull request Jun 26, 2026
…YAML file generated by merge_and_upload_debug_symbols.py (flutter#187813)

This script is writing a YAML file that is used to create a CIPD package
containing Fuchsia debug symbols. The YAML spec references
subdirectories in Fuchsia's .build-id directory.

.build-id contains binaries indexed by the binary's hash. The name of
each subdirectory in .build-id is the first two hex digits of the hash.

If the subdirectory name contains two digits starting with a zero, then
the YAML entry will look like "dir: 01". YAML will interpret the value
as the integer 1, which will not match the actual directory name of
"01". CIPD will thus fail to create the package.

This PR fixes the YAML so that the directory names are quoted as
strings.

See flutter#187806
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CICD Run CI/CD engine flutter/engine related. See also e: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants