Skip to content

Read flushed conversation content with the key when uploading (0.2.13) - #24

Merged
nullarch merged 1 commit into
mainfrom
fix/upload-reads-flushed-content
Sep 9, 2026
Merged

Read flushed conversation content with the key when uploading (0.2.13)#24
nullarch merged 1 commit into
mainfrom
fix/upload-reads-flushed-content

Conversation

@nullarch

@nullarch nullarch commented Sep 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • sync::open_read_only now carries the database key provider. Under messages/full, events whose content the daemon's periodic flush had moved into encrypted blobs were uploaded as bare metadata: the blob reader had no key and resolve() returned None silently. Seen on the owner's tenant for the events held back by the 2026-09-09 outage.
  • A blob that cannot be read (no key, unreadable file) fails the upload with the cursor kept and a clear message, instead of sending stripped events.
  • Under messages only said-kinds open their blobs; the inference recompute never opens one.
  • Version 0.2.13; CHANGELOG; PROGRESS.

Test plan

  • New messages_profile_reads_the_conversation_out_of_flushed_segments_or_holds_the_upload: flush a conversation into blobs under a key file → remove the key → upload held, nothing on the server, cursor 0 → restore the key → text arrives.
  • cargo test -p attemptdb-capture --test sync (9), clippy, fmt
  • CI matrix

🤖 Generated with Claude Code

…d the batch

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@nullarch
nullarch merged commit 317da55 into main Sep 9, 2026
17 of 18 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