Windows offline suite: investigate documented temporary-SQLite PermissionError

Open
#125 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
python, sqlite
Domain
databases, testing

Research direction

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.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Python
Stars
9
Forks
6
Avg merge
13h 8m
Merged PRs (30d)
40

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from tonydzi/sqlite-graph-memory

All issues in tonydzi/sqlite-graph-memory

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.