feat: Idle-aware smart test scheduling using chrome.idle API
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- javascript, typescript
- Lĩnh vực
- devtools
Hướng nghiên cứu
Start by reading the manifest permissions, the alarm listener that calls runFullTest(), and the options page where test intervals are configured. Check how scheduled tests are currently retried and how browser idle state is accessed in this extension. Done means full bandwidth tests follow the requested idle and locked rules, active users trigger a five-minute retry, and the idle threshold is configurable with a 60-second default.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
Enhance the scheduled test system to be "idle-aware" — never run bandwidth-intensive tests while the user is actively working, on a video call, or gaming.
Current state
Scheduled tests use chrome.alarms with fixed intervals (configurable in options). Tests fire regardless of user activity.
Proposed improvement
- Use
chrome.idle.queryState()before running scheduled tests - Only run full bandwidth tests when state is
'idle'(user hasn't interacted for 60+ seconds) - If user is
'active', defer the test and retry after 5 minutes - If user is
'locked', still run the test (screen locked = not actively using bandwidth)
Why
- Prevents scheduled tests from disrupting active Zoom calls, gaming sessions, or large downloads
- Makes background monitoring truly invisible and non-intrusive
- Addresses the #1 complaint about continuous monitoring tools: "It slows down my browser"
Implementation
- Add
chrome.idlepermission to manifest - Wrap
runFullTest()call in alarm listener with idle check - Add configurable idle threshold in options (default: 60 seconds)
- Ngôn ngữ chính
- TypeScript
- Star
- 1
- Fork
- 0
- Merge trung bình
- 15 ngày 20 giờ
- Pull request đã merge (30 ngày)
- 3
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không 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 ajithakdev/meterx
-
community enhancement UX
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ajithakdev/meterx#45 ·
-
enhancement good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 70/100
ajithakdev/meterx#20 ·
-
cross-browser enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
ajithakdev/meterx#99 ·
-
enhancement security
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
ajithakdev/meterx#95 · 1 bình luận ·
-
enhancement UX
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
ajithakdev/meterx#56 ·
Tất cả issue của ajithakdev/meterx
Issue tương tự
-
Translate the appĐang mởgood first issue help wanted
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
Mikiyas-Meles-Assefa/opensourcebook#154 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
rowbinary: typeStringToReader keeps Variant members in text order, so Variant(Int64, Float64) reads 7 as 3.5e-323Có thể đã có người làm @rwits08 đã nhận hôm nay. Đang mởbug data-types
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
ClickHouse/clickhouse-js#1293 · 1 bình luận ·
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 68/100
sidebandstudio/clawtrate#1863 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agent/quality testing
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
cncf/techdocs#463 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
GitHub registry install via `gh` credentials rewrites `\u0000`–`\u001f` escapes in source files to `^@`–`^_`Có thể đã có người làm @carlosrobert0 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 92/100
Maintainer thường phản hồi trong vòng 2 ngày