Skip to content

Close SQLite handles before atomic warehouse replacement - #4

Merged
dev-belly merged 1 commit into
mainfrom
fix/windows-sqlite-handles-2026-10-11
Oct 11, 2026
Merged

dev-belly merged 1 commit into
mainfrom
fix/windows-sqlite-handles-2026-10-11

Conversation

@dev-belly

Copy link
Copy Markdown
Owner

The Windows pipeline failed with WinError 32 during warehouse publication because SQLite transaction contexts do not close their connections and pooled readers retain file handles. Explicitly close the check/list connections and use non-pooled SQL readers so a subsequent atomic replacement can complete. Retain rollback behavior for rejected staging builds and add Windows Python 3.12 pipeline/test checks.

Validation: all 465 tests are collected; local Windows passes 464 with the make-help test skipped because make is unavailable. The full ten-step pipeline and all 15 SQL queries pass. Two successive report builds produce identical bytes for ten reports; published reports/charts remain unchanged. Ruff and whitespace checks pass.

@dev-belly
dev-belly marked this pull request as ready for review October 11, 2026 04:15
@dev-belly
dev-belly merged commit 5f6e641 into main Oct 11, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant