TOUR_REAL_UNCHANGED fails falsely when the real app rewrites its own cache
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 42/100
Hướng nghiên cứu
Start from the TOUR_REAL_UNCHANGED check, which fingerprints paths under the real $HOME before and after a recording and fails on any change. The payload names ~/.cache/fugue as the trigger, so reproduce with a listed path that a running real instance rewrites. Done when a tour of an app whose real instance is running no longer fails falsely, a stub that touches a listed file still fails, and the docs explain how to choose the list. The design choice (warn versus fail, process detection) is open, so confirm it before coding.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Found while recording Fugue's README clips. TOUR_REAL_UNCHANGED fingerprints paths under the real $HOME before and after a run and fails the run if any changed. When the same app is also running on the real desktop and rewrites its own cache (Fugue's QML cache under ~/.cache/fugue), the tour fails after about 3 minutes with nothing kept: a false positive, because another process made the change, not the session.
Wanted
- Say so in the docs: do not list a folder the real app writes to, and how to choose.
- Better: tell the cases apart. Record which processes (by pid/comm) have those paths open or run as the same app during the recording, or compare only files the session's own processes could write (the sandbox HOME makes this nearly impossible, so the check is about leaks), and warn instead of failing when the same executable is also running outside the session; keep failing when no such process exists.
- Fail early (before the 3-minute recording) with a clear hint when the real app is running and its paths are listed.
Done when
A tour of an app whose real instance is running does not fail falsely, still fails on a real leak (test with a stub that touches a listed file), and the docs say how to choose the list.
- Ngôn ngữ chính
- Shell
- Star
- 0
- Fork
- 0
- Merge trung bình
- 2 phút
- Pull request đã merge (30 ngày)
- 3
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 bmaltais/omarchy-plugin-devkit
-
enhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 58/100
Tất cả issue của bmaltais/omarchy-plugin-devkit
Issue tương tự
-
Battery "top up once" ends immediately when UPower reports fully-charged below 100%Có 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 76/100
omacom/omarchy#21286 · 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 62/100
libretro/libretro-super#2238 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ChurchCRM/docs.churchcrm.io#328 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
type/documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
c-w-z/commit-decision-record#90 · 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 83/100
melodic-software/claude-code-plugins#20573 ·
Maintainer thường phản hồi trong vòng 1 ngày