Use an always true BotDetector in fuchsia_asset_builder.dart #58740
Labels
a: quality
A truly polished experience
customer: fuchsia
P2
Important issues not at the top of the work list
team
Infra upgrades, team productivity, code health, technical debt. See also team: labels.
team-tool
Owned by Flutter Tool team
tool
Affects the "flutter" command-line tool. See also t: labels.
triaged-tool
Triaged by Flutter Tool team
Projects
The fuchsia_asset_builder tool runs during the Fuchsia build, and should never not be considered a bot. Analytics is already disabled for the entrypoint, but bot detection runs beforehand. Running the real bot detector is likely resulting in stray files in the Fuchsia source tree. This can be worked around by injecting a bot detector that always returns true here:
flutter/packages/flutter_tools/bin/fuchsia_asset_builder.dart
Line 33 in 3ec6978
Example hardwired bot detector:
flutter/packages/flutter_tools/test/src/mocks.dart
Line 702 in e216eec
/cc @iskakaushik @jonahwilliams
The text was updated successfully, but these errors were encountered: