Skip to content

Fix Google Docs archive for shadowless deletes - #206

Merged
mohammedahmed18 merged 1 commit into
mainfrom
fix/archive-without-shadow-preimage
Aug 18, 2026
Merged

Fix Google Docs archive for shadowless deletes#206
mohammedahmed18 merged 1 commit into
mainfrom
fix/archive-without-shadow-preimage

Conversation

@mohammedahmed18

Copy link
Copy Markdown
Collaborator

Summary

  • Allow reviewed entity archive plans to apply even when the local shadow preimage is missing.
  • Let Google Docs archive preconditions accept drive-only stub versions when Drive modified time is unchanged.
  • Add daemon and connector regressions for the approved apply without a shadow preimage and drive-only archive precondition cases.

Test Plan

  • cargo fmt --check
  • git diff --check
  • cargo test -p locality-google-docs
  • cargo test -p localityd --test push_execution

Live Verification

  • Rebuilt target/debug/loc from this branch.
  • Ran loc push /home/mohammed/Locality/ali-google-docs -y --json for the pending google-verification-request-2 delete.
  • Push reconciled with one archive_entity operation and Drive metadata reports trashed: true for 1XLk0m9FcfmV7FB212Bpbxim46BHlRWn0Y4D1pKOU4_g.

@vercel

vercel Bot commented Aug 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
locality Ready Ready Preview Aug 18, 2026 12:14pm

@mohammedahmed18
mohammedahmed18 merged commit f166d83 into main Aug 18, 2026
10 of 12 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