Windows offline suite: investigate documented temporary-SQLite PermissionError

Aperta
#125 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
python, sqlite
Ambito
databases, testing

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Python
Stelle
9
Fork
6
Merge medio
13h 8m
PR unite (30g)
40

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di tonydzi/sqlite-graph-memory

Tutte le issue di tonydzi/sqlite-graph-memory

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.