Skip to content

Audit conversation purge remainders from tombstones - #25708

Merged
Git-on-my-level merged 8 commits into
mainfrom
lane/purge-coalescing-audit
Nov 18, 2026
Merged

Git-on-my-level merged 8 commits into
mainfrom
lane/purge-coalescing-audit

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Compare two adjacent tombstone windows with bounded, read-only Firestore and GCS probes.
  • Emit count-only WARNING events for committed seals, completions and handbacks. Join group totals on the epoch hash. Logs avoid Firestore receipt writes and TTL infrastructure.
  • Distinguish surviving references from intended ordering edges. Report incomplete coverage for discarded associations and the Postgres mirror.

Verification

  • 94 audit, purge and retention unit cases passed.
  • The Firestore emulator passed the full tombstone query after a two-member coalesced purge, with a pending obligation excluded.
  • Production ro-prod returned incomplete_scan for both windows. Firestore requires a collection-group index for deleted_conversations.deleted_at. All counts are unknown.
  • Tombstones capture original deletion intent. Subsequent re-arms can preserve the timestamp. The cohort cannot establish completion time or execution-path attribution.

Line-Count-Exception: backend/database/firestore_index_registry.py | 2396 -> 2399 | Declare the additive single-field collection-group index required by the purge remainder audit.

Release follow-up

After merge, Release runs the existing Firestore index reconcile (step 0 of every release) and waits for the ascending collection-group index on deleted_conversations.deleted_at to reach READY. Then re-run the read-only purge remainder audit for 2026-11-18 using canary 14:58:37–16:03:39Z and control 13:53:35–14:58:37Z.

View guided diff Turn on auto-fix

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-18T17:25:18.828983Z
We couldn’t complete this review. Comment @codex review to try again.
17b5baf PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@Git-on-my-level
Git-on-my-level merged commit b17161b into main Nov 18, 2026
68 checks passed
@Git-on-my-level
Git-on-my-level deleted the lane/purge-coalescing-audit branch November 18, 2026 22:04
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