Skip to content

feat: enforce Convex retention policy - #2742

Merged
Patrick-Erichsen merged 1 commit into
mainfrom
pe/convex-retention-enforcement
Jun 19, 2026
Merged

feat: enforce Convex retention policy#2742
Patrick-Erichsen merged 1 commit into
mainfrom
pe/convex-retention-enforcement

Conversation

@Patrick-Erichsen

Copy link
Copy Markdown
Collaborator

Summary

  • add a typed Convex retention policy manifest that classifies every current table
  • add indexed bounded cleanup for expired Convex Auth sessions and refresh tokens
  • wire auth retention crons and standardize ordinary retention batch sizing
  • add repo-local retention guidance for future Convex table/TTL work

Validation

  • bun run format:check
  • bunx vitest run convex/crons.test.ts convex/lib/retentionPolicy.test.ts convex/retention.test.ts convex/rateLimits.test.ts convex/downloadMetrics.test.ts convex/telemetry.test.ts
  • bunx convex codegen
  • bunx convex dev --once --typecheck=disable
  • bun run ci:static
  • bunx tsc --noEmit && bunx tsc -p packages/schema/tsconfig.json --noEmit && bunx tsc -p packages/clawhub/tsconfig.json --noEmit
  • bun run ci:unit
  • .agents/skills/autoreview/scripts/autoreview --mode branch --base origin/main

@Patrick-Erichsen
Patrick-Erichsen requested a review from a team as a code owner June 19, 2026 00:23
@vercel

vercel Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
clawhub Ready Ready Preview, Comment Jun 19, 2026 12:23am

@Patrick-Erichsen
Patrick-Erichsen merged commit b1b3c5e into main Jun 19, 2026
20 checks passed
@Patrick-Erichsen
Patrick-Erichsen deleted the pe/convex-retention-enforcement branch June 19, 2026 00:30
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