Skip to content

Rebase fix: ingester DB cache eviction/export safety and startup cleanup#11

Merged
ian-ross merged 1 commit into
mainfrom
db-staging
May 9, 2026
Merged

Rebase fix: ingester DB cache eviction/export safety and startup cleanup#11
ian-ross merged 1 commit into
mainfrom
db-staging

Conversation

@ian-ross
Copy link
Copy Markdown
Member

@ian-ross ian-ross commented May 9, 2026

Summary

This branch is rebased onto main and keeps the ingester hardening changes:

  • Fix staged-connection eviction so touched/dirty staged DBs are committed before eviction.
  • Fail-fast when opening staging DBs for VACUUM export if read-only open fails.
  • Close nursery DB explicitly after connect-path promotion.
  • Narrow startup cleanup in scratch/ingester-export to only exporter temp snapshots.
  • Add regression tests for both behaviors.

Testing

  • uv run --python 3.13 pytest tests/feder_ingest/test_db_cache_paths.py -q

Co-authored-by: GPT-5.3 Codex Spark <openai-codex-gpt-5.3-codex-spark@pi.local>
Pi-Model: openai-codex/gpt-5.3-codex-spark
@ian-ross ian-ross merged commit 022ce35 into main May 9, 2026
1 check passed
@ian-ross ian-ross deleted the db-staging branch May 9, 2026 14:27
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