Windows offline suite: investigate documented temporary-SQLite PermissionError

Đang mở
#125 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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ó
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
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python, sqlite
Lĩnh vực
databases, testing

Hướng nghiên cứu

Start by running the focused test tests/test_bench.py::test_tangleclaw_style_adapter_and_leaderboard_result on Windows 11 with Python 3.12 and record the commit SHA and traceback. Read tests/test_bench.py, bench/validate.py and bench/adapters/tangleclaw.py to trace the temporary SQLite lifecycle. Done means documenting a current passing run or fixing a reproduced cause, then passing the focused test and offline suite on Windows with a regression check.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug help wanted

Problem

The current README at 935c2e2 records a Windows 11 / Python 3.12 run with 323 passed, 1 skipped and two failures. One is tests/test_bench.py::test_tangleclaw_style_adapter_and_leaderboard_result, reported as a PermissionError on a temporary SQLite file.

That leaves Windows contributors starting from a known red offline suite. This issue tracks the SQLite-related failure separately from the path-resolution failure.

Evidence boundary: this is a maintainer-documented failure from 2026-11-14, found again during the issue-coverage audit on 2026-11-17. I have not rerun it on Windows today. The underlying handle/cleanup cause is not established. Please first confirm whether it still reproduces on current main; if it no longer does, report the passing version and relevant fix rather than manufacturing a change.

Reproduce

On Windows 11 with Python 3.12, in a disposable checkout and venv:

python -m pip install -e '.[lite]' pytest
python -m pytest -q tests/test_bench.py::test_tangleclaw_style_adapter_and_leaderboard_result

The offline tests require no model download. Include the traceback, commit SHA and Python version. Relevant starting points: tests/test_bench.py, bench/validate.py, bench/adapters/tangleclaw.py and their temporary SQLite lifecycle. Do not assume the filename itself is the cause.

Acceptance

  • Reproduce on the documented Windows/Python combination, or document that current main is already fixed with a passing transcript.
  • If reproduced, fix the demonstrated resource lifecycle/path cause; do not skip the test, swallow PermissionError or weaken the result validation.
  • The focused test and offline suite pass on Windows; keep Linux/macOS behavior intact.
  • A regression check fails on the unfixed code and passes with the fix. State the actual environment tested.
  • Update the README's known-failure paragraph only after the corresponding Windows evidence exists.

Contributions welcome. Comment before working so we can avoid duplicate effort. A focused PR with the Windows traceback and before/after output is enough; no credentials or private notes are needed.

Prepared with Codex; source inspection and public documentation only, no fresh Windows reproduction or human review claimed.

Ngôn ngữ chính
Python
Star
9
Fork
6
Merge trung bình
13 giờ 8 phút
Pull request đã merge (30 ngày)
40

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của tonydzi/sqlite-graph-memory

Tất cả issue của tonydzi/sqlite-graph-memory

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.