Repository navigation
בדיקות לא יציבות (#5216): סבב שני - #6032
Merged
Merged
Conversation
- מאזין תוספי הפיתוח: bloc שנסגר באמצע LoadPlugins פתח מאזין על שירות סגור, ואירוע ממנו נוסף ל-stream סגור (shard 2, פעמיים). - הרצת הבדיקות החוזרת ב-Flutter Tests מזהה גם כשל שמגיע אחרי סיום הטסט. - WebView2 lifecycle: הטעינה הראשונה מקבלת 90 שניות, כמו ב-resource probe. - סימולטור iOS שנתקע באתחול מכובה ומאותחל שוב פעם אחת. - הורדת מקורות התוסף (Linux WPE) מנסה שוב על 5xx ושגיאות רשת. - כשבניית APK של בדיקת האנדרואיד נכשלת, סוף build.log מודפס ללוג ה-job.
ב-build.log של הכשל: Maven Central החזיר 429 (Too Many Requests), והניסיון החוזר של Flutter ממתין 100ms בלבד. עכשיו יש עד שני ניסיונות נוספים, אחרי 60 ו-120 שניות, ורק בכשל רשת של Gradle.
ה-WebView הראשון מפעיל את תהליך הדפדפן של WebView2. ב-CI זה לקח כ-25 שניות, והשומר כתב ל-errors.txt רשומה שה-WebView לא נוצר, אף שהוא נוצר. כך נכשלה בדיקת installed plugin ב-Windows (Otzaria#5216). WebView שלא נוצר כלל עדיין נרשם.
Y-PLONI
force-pushed
the
fix/flaky-5216-round2
branch
from
November 25, 2026 18:22
56495f3 to
4eb6bd1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
סבב שני ל-#5216: עברתי על 8 הדיווחים שנוספו אחרי #5734.
מה תוקן
plugin_system_bloc_dev_rescan_testנכשל אחרי סיום הטסט:Bad state: Cannot add new events after calling close. הבדיקה סוגרת את ה-bloc כשה-LoadPluginsשנוסף אחרי הטעינה מחדש עוד ממתין. ה-bloc משחרר אתPluginDevWatchService, ואז_onLoadPluginsקורא ל-syncWatchersעל השירות הסגור. כך נפתח מאזין חדש, ומחיקת תיקיית ה-temp שולחת ממנו אירוע ל-stream סגור. זה קורה גם באפליקציה, כשחלון נסגר באמצע טעינת תוספים.syncWatchersלא עושה כלום אחריdispose. בדיקת רגרסיה ב-plugin_dev_watch_service_testנכשלת לפני התיקון עם אותה שגיאה ועוברת אחריו.לא ניתן לחלץ רשימת קבצים שנכשלו)errorאחריtestDoneמוצלח, וביטוי ה-jq לא קרא אירועים כאלה.errorלקובץ הבדיקה. בדקתי אותו על זרם אירועים בפורמט הזה.Live WebView2 lifecycleהדף לא סיים להיטען תוך 30 שניות,controllerCreated=false. ה-WebView הראשון מפעיל את תהליך הדפדפן, אותו מצב שתוקן ב-resource probe ב-#5734.simctl bootstatusחרג מ-300 שניות.HTTP 503: Backend.max_conn reached.build.logשבארטיפקט: Maven Central החזיר ל-Gradle429 Too Many Requests, והניסיון החוזר של Flutter ממתין 100ms בלבד.App error log changed: Plugin WebView never created (silent blank),onWebViewCreated did not fire within 20s. שלבfirstOpenלקח 27 שניות (WebView2 קר) והצליח, אבל השומר שלPluginTabPageכבר כתב ל-errors.txtשה-WebView לא נוצר.לא טופל כאן
git cloneשלOtzaria/coreנכשל בזמןpub get(תקלת GitHub רגעית; הריפו ציבורי). מדידות PDF: להסיר ניסויים שהסתיימו וריצות CI כפולות #5944 מסיר את הריצות האוטומטיות האלה מ-PR, ולכן לא נגעתי ב-run_pdf_pair.py.אימות
flutter test test/plugins/services/plugin_dev_watch_service_test.dart test/plugins/bloc/plugin_system_bloc_dev_rescan_test.dart– עבר (10). הבדיקה החדשה נכשלה לפני התיקון.test_installed_pdf_iosב-Windows זהה לזה שב-dev (בדיקות macOS בלבד).flutter analyzeעל הקבצים ששונו: אין ממצאים.test_android_startup_probe.py: עבר (42).test/plugins/view/:plugin_tab_page_entrypoint_testנכשל מקומית ב-23 בדיקות, וגםplugin_host_shortcut_script_testנכשל (חסר node). ב-plugin_tab_page_entrypoint_testזה בדיוק אותו מספר כשלים (+5 -23) גם בלי השינוי, כלומר הכשלים תלויי סביבה. ה-CI יבדוק אותם.PR פתוחים חופפים
flutter_tests.yml): הקובץ המשותף מתמזג נקי. ה-PR עצמו מתנגש עם dev בקבצים אחרים.tool/perf_probe): אין קבצים משותפים אחרי הסרת השינוי ב-run_pdf_pair.py. ה-PR עצמו מתנגש עם dev ב-pdf_multi_window_test.dart.Refs #5216