Skip to content

Conversation

@jmagman
Copy link
Member

@jmagman jmagman commented Sep 12, 2024

Update the dashboard so "mokey" and "pixel_7pro" tasks are filtered/iconed as Android. flutter/flutter#148085

For example, Linux_mokey old_gallery__transition_perf should show up in the dashboard as an Android test, but its icon and filtering counts it as a Linux test:

Screenshot 2024-09-12 at 9 57 52 AM
Screenshot 2024-09-12 at 9 57 48 AM

Also fix two unrelated warnings.

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 the Flutter Style Guide recently, and have followed its advice.
  • I signed the CLA.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is test-exempt.
  • All existing and new tests are passing.

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

@jmagman jmagman requested a review from zanderso September 12, 2024 18:26
final String matchedName = qualifiedTask.task!.toLowerCase();
final bool isWebTest = matchedName.contains('_web') || matchedName.contains('web_');
final bool isToolTest = matchedName.contains('_tool') || matchedName.contains('tool_');
final bool isAndroidTest = matchedName.contains('_android') || matchedName.contains('_mokey');
Copy link
Member

Choose a reason for hiding this comment

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

All the instances of _android should be gone, and I think all we have now are _mokey and _pixel_7pro.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah thanks, I forgot about pixel_7pro. I think keeping _android is pretty harmless, I can remove it if you prefer.

Copy link
Member Author

Choose a reason for hiding this comment

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

Maybe next time we do this we use "_highend" and "_lowend" or something similar so the builder names don't change.

Copy link
Member

Choose a reason for hiding this comment

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

Changing the builder name is our current mechanism for starting a new series in SkiaPerf, which we want when we change the kind of device a benchmark runs on. We could investigate a new mechanism for that, and then we could leave the builder names the same.

Copy link
Member Author

Choose a reason for hiding this comment

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

Or they could be different, but have some kind of stable way to identify them as Android from the name agnostic of the device hardware, so this doesn't need to be updated every time.

@jmagman jmagman changed the title Filtered Android tasks should include mokey in dashboard Filtered Android tasks should include mokey and pixel 7 pro in dashboard Sep 12, 2024
import 'package:firebase_crashlytics/firebase_crashlytics.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
Copy link
Member Author

Choose a reason for hiding this comment

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

Unrelated to this change but fix the warning:

info: The import of 'package:flutter/rendering.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/material.dart'. (unnecessary_import at [flutter_dashboard] lib/main.dart:11)

@jmagman jmagman added the autosubmit Merge PR when tree becomes green via auto submit App. label Sep 13, 2024
@auto-submit auto-submit bot merged commit b4b0b2c into flutter:main Sep 13, 2024
@jmagman jmagman deleted the mokey branch September 13, 2024 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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.

3 participants