piker/ai/prompt-io/opencode/20260727T204711Z_84a6d47b_p...

1.0 KiB

git diff HEAD~1..HEAD -- piker/storage/nativedb.py

Removed actor-local and filesystem writer locks from NativeDB. The persistent datad feed task already owns writes for each series, while its timeframe children write distinct files. NativeDB retains validated temporary writes, file and directory synchronization, and atomic target replacement for crash durability. The exact .parquet suffix filter is retained so legacy lock sidecars are harmless.

git diff HEAD~1..HEAD -- tests/test_storage_nativedb.py

Removed the synthetic cross-client lock-contention test. Added regression coverage proving replacement and incremental writes create no lock sidecars. Extended indexing coverage with the legacy .parquet.lock artifact that caused upstream flake_update to crash.

Verification generated with the patch:

  • NativeDB and history regression set: 20 passed
  • Ruff: passed
  • git diff --check: passed