Android e2e: sectionlist-viewability has failed on every main run since #59490
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- Nửa ngày
- Mức phù hợp với người mới
- 70/100
Hướng nghiên cứu
Start with packages/rn-tester/.maestro/sectionlist-viewability.yml and inspect the horizontal scrollUntilVisible for Cheesecake, then read the SectionList viewability example and its 100% coverage threshold. Reproduce the flow on Android and check how Maestro measures visible bounds. Done when the scroll brings Cheesecake fully on screen and the output lists it reliably.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
Since #59490, packages/rn-tester/.maestro/sectionlist-viewability.yml fails on Android in every attempt, so test_e2e_android_rntester_retry_2 / report fails on every main Test All run and on pull requests (#59057 among them).
#59490 changed the horizontal scrollUntilVisible for Cheesecake from visibilityPercentage: 50 with centerElement: true to visibilityPercentage: 100. On Android, Maestro reads a node's bounds cut to the screen (getVisibleBoundsInScreen intersects getBoundsInScreen with the display), so a Cheesecake cell that still runs past the right edge already counts as 100% visible. The scroll stops there, and the example, whose viewAreaCoveragePercentThreshold is 100, never lists Cheesecake.
Steps to reproduce
- Open any
mainTest All run from 859d9b80db to 7aff712957, for example 40522824983 on 7aff712957. test_e2e_android_rntester,test_e2e_android_rntester_retry_1andtest_e2e_android_rntester_retry_2each failsectionlist-viewabilityin both the debug and the release job, andtest_e2e_android_rntester_retry_2 / reportfails.
Expected: the scroll goes on until Cheesecake is fully on screen, and output lists it.
Seen: the scroll stops with the cell cut by the right edge, and output still reads Beer.
All 50 main runs from 859d9b80db to 7aff712957 retried the Android e2e twice, and all 100 retry-2 jobs failed this flow and no other: 97 at the Cheesecake wait and 3 at start_test. The seven runs before #59490 that I checked, from 2026-10-25, never retried it. Runs after 7aff712957 don't reach the e2e, since build_android fails from #59535 on (#59548).
React Native Version
main (7aff712957)
Affected Platforms
Runtime - Android
Output of npx @react-native-community/cli info
Not applicable: this is React Native's own CI, .github/workflows/e2e-android-rntester.yml (Maestro 2.6.1, an API 35 google_apis x86_64 emulator, RNTester's arm64-v8a debug and release APKs).
Stacktrace or Logs
Job 122326947586 (retry 2, release) of run 40522824983:
[Failed] sectionlist-viewability (1m 25s) (Assertion is false: ".*Cheesecake.*", id: output is visible)
The UiAutomator dump in that job's maestro-logs-android-com-facebook-react-uiapp-release-x86_64-NewArch artifact, sectionlist-viewability-failure.xml, on a [0,0][320,640] screen:
<node index="7" text="Beer" resource-id="output" class="android.view.ViewGroup" package="com.facebook.react.uiapp" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,91][320,108]" />
<node index="13" text="" resource-id="Cheesecake" class="android.view.ViewGroup" package="com.facebook.react.uiapp" content-desc="Cheesecake" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[217,128][320,543]">
<node index="0" text="Cheesecake" resource-id="" class="android.view.ViewGroup" package="com.facebook.react.uiapp" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[237,148][320,181]" />
MANDATORY Reproducer
RNTester's own flow, failing on main: https://github.com/react/react-native/blob/7aff712957204820c6737fb8fbda9fa940f1a48a/packages/rn-tester/.maestro/sectionlist-viewability.yml, since https://github.com/react/react-native/pull/59490
Screenshots and Videos
sectionlist-viewability-failure.png in the same artifact draws the cell's label as "Cheesec", cut by the right edge.
- Ngôn ngữ chính
- C++
- Star
- 127k
- Fork
- 25.4k
- Merge trung bình
- 2 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 91
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của react/react-native
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
react/react-native#59722 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Android: new WebSocket() crashes the app for a URL that OkHttp or java.net.URI rejectsCó thể đã có người làm @sorinc03 đã nhận hôm nay. Đang mở🌐Networking Needs: Author Feedback Needs: Repro Platform: Android
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
react/react-native#59704 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
react/react-native#59694 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Android autolinking keeps a stale autolinking.json when only bun.lock changes, since bun.lock isn't in the default lockFilesCó thể đã có người làm @lazerg đã nhận 2 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
react/react-native#59693 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Image.resolveAssetSource's TypeScript declaration drops the null it returns for an unknown assetCó thể đã có người làm @Hassan1305 đã nhận 2 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
react/react-native#59648 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của react/react-native
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
colbymchenry/codegraph#3223 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
The `ufw` decoder requires the kernel's monotonic timestamp, so UFW lines read from journald decode without any fieldCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
arduino/ArduinoCore-megaavr#152 ·
-
bug needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
microsoft/microsoft-ui-xaml#12515 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
BlueQuartzSoftware/simplnx#1906 ·
Maintainer thường phản hồi trong vòng 4 ngày