[2.0.0-rc.20] isPending disagrees with an async memo derived from it
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 22/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript, typescript
- Lĩnh vực
- frontend
Hướng nghiên cứu
The payload names no source files, so start by running the linked repro pinned to Solid 2.0.0-rc.20 and confirming the stale pending: true badge appears about one second after clicking "Load item 1". The entry points are isPending(id) and the async memo that reads both id() and isPending(id). Done means the badge and the pending output agree at every step, unless the deferral boundary is explicit. Expect to work through the reactive scheduling core, so ask a maintainer before starting.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the bug
An async memo that reads both id() and isPending(id) can publish a badge containing pending: true while a separate binding of isPending(id) displays false.
In the repro, an independent details memo takes 500 ms. The badge captures the ID and pending status synchronously, then returns that presentation after 1000 ms. Item 0 starts with synchronous, already-loaded values.
The visible sequence after setting id to 1 is:
Time ID Details Pending Async badge
Initially 0 Item 0 false ID: 0, pending: false
~1000 ms 0 Item 0 false ID: 0, pending: true
~2000 ms 1 Item 1 false ID: 1, pending: false
The pending output and its async derivation visibly disagree for about one second.
Your Example Website or App
https://s.olid.uk/id/ZVQj3v1XQf6iq45C1GJAFw
Steps to Reproduce the Bug or Issue
- Open the linked repro, pinned to Solid 2.0.0-rc.20.
- Click "Load item 1" once.
- After about one second, observe Pending: false beside Async badge: ID: 0, pending: true.
- After about two seconds, both settle. Reload to repeat.
Expected behavior
The pending output and ordinary derivations of that output should publish consistently. isPending can intentionally differ from its input's ordinary published value, but its async badge should not disagree with the pending output itself without an explicit deferral boundary.
Screenshots or Videos
No response
Platform
- OS: Debian GNU/Linux 13 (Linux)
- Browser: Chromium 154.0.8037.57 (automated verification)
- Solid: 2.0.0-rc.20, development build
Additional context
Verified from the saved repro in a fresh browser context, with no runtime errors. Tailwind is disabled. The example uses ordinary JSX bindings, two memos, real setTimeout delays, and one signal setter. There is no Loading, createDeferred, manual flush, or effect writing a signal.
- Ngôn ngữ chính
- TypeScript
- Star
- 36.2k
- Fork
- 1.1k
- Merge trung bình
- 10 giờ 10 phút
- Pull request đã merge (30 ngày)
- 505
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 solidjs/solid
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
-
What gets passed to the `when` prop of a `Show` still gets executed twice on SSRCó thể đã có người làm @brenelz đã nhận 4 ngày trước. Đang mở1.x
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
solidjs/solid#4447 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Per-scope takeover for live nodes whose server value is still streaming (D8 follow-up to #3817)Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của solidjs/solid
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
paperclipai/paperclip#19120 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Gradle liquibaseDiffChangelog drops jhi_date_time_wrapperCó thể đã có người làm @mraible đã nhận hôm nay. Đang mởarea: triage theme: undefined
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
jhipster/generator-jhipster#35998 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ai:assign:coding feature p3 ui-ux windows
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
CherryHQ/cherry-studio#23569 · 2 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
lingdojo/kana-dojo#33602 · 1 bình luận · 5 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
GoogleCloudPlatform/BigQuery-Agent-Analytics-Plugins#16 ·
Maintainer thường phản hồi trong vòng 1 ngày