Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

fix(web_ui): use static whitelist for image codec tests#182648

Queued
harryterkelsen wants to merge 3 commits intoflutter:masterfrom
harryterkelsen:whitelist-image-test-images
Queued

fix(web_ui): use static whitelist for image codec tests#182648
harryterkelsen wants to merge 3 commits intoflutter:masterfrom
harryterkelsen:whitelist-image-test-images

Conversation

@harryterkelsen
Copy link
Contributor

Thecodecs_test.dart previously fetched all images from/test_images/ dynamically. This caused flakiness when Skia added new images that were purposely undecodable or problematic for the Flutter web engine.

This change introduces a static whitelist of verified test images and removes the dynamic fetching logic. It also cleans up obsolete skip conditions for images that are no longer in the whitelist.

Fixes#182629

Pre-launch Checklist

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

Note: The Flutter team is currently trialing the use ofGemini Code Assist for GitHub. Comments from thegemini-code-assist bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed.

The `codecs_test.dart` previously fetched all images from `/test_images/`dynamically. This caused flakiness when Skia added new images that werepurposely undecodable or problematic for the Flutter web engine.This change introduces a static whitelist of 187 verified test imagesand removes the dynamic fetching logic. It also cleans up obsoleteskip conditions for images that are no longer in the whitelist.Verified by running the tests on Chrome via `felt`.
@github-actionsgithub-actionsbot added engineflutter/engine related. See also e: labels. platform-webWeb applications specifically labelsFeb 20, 2026
Copy link
Contributor

@gemini-code-assistgemini-code-assistbot 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

The pull request correctly transitions the image codec tests to use a static whitelist instead of dynamic discovery, which should significantly reduce flakiness caused by unexpected changes in the test image directory. The changes include the addition of a comprehensive_kTestImages list, removal of unused imports, and cleanup of obsolete logic. One minor oversight was found where a skip condition for an image not present in the new whitelist was retained.

Copy link
Contributor

@mdebbarmdebbar left a comment

Choose a reason for hiding this comment

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

LGTM

@harryterkelsenharryterkelsen added the autosubmitMerge PR when tree becomes green via auto submit App labelFeb 20, 2026
@auto-submitauto-submitbot removed the autosubmitMerge PR when tree becomes green via auto submit App labelFeb 20, 2026
@auto-submit
Copy link
Contributor

auto label is removed for flutter/flutter/182648, Failed to enqueue flutter/flutter/182648 with HTTP 400: GraphQL mutate failed.

@harryterkelsenharryterkelsen added the autosubmitMerge PR when tree becomes green via auto submit App labelFeb 20, 2026
@auto-submitauto-submitbot removed the autosubmitMerge PR when tree becomes green via auto submit App labelFeb 20, 2026
@auto-submit
Copy link
Contributor

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

@harryterkelsenharryterkelsen added the autosubmitMerge PR when tree becomes green via auto submit App labelFeb 20, 2026
@auto-submitauto-submitbot added this pull request to themerge queueFeb 20, 2026
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@mdebbarmdebbarmdebbar approved these changes

+1 more reviewer

@gemini-code-assistgemini-code-assist[bot]gemini-code-assist[bot] left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

autosubmitMerge PR when tree becomes green via auto submit Appengineflutter/engine related. See also e: labels.platform-webWeb applications specifically

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

More systemically separate Flutter's image testing from Skia's images directory

2 participants

@harryterkelsen@mdebbar

[8]ページ先頭

©2009-2026 Movatter.jp