Skip to content

[P2] Enforce data integrity and harden container startup - #113

Open
apple050620312 wants to merge 1 commit into
Kyrela:mainfrom
apple050620312:p2-data-ops-resilience
Open

apple050620312 wants to merge 1 commit into
Kyrela:mainfrom
apple050620312:p2-data-ops-resilience

Conversation

@apple050620312

Copy link
Copy Markdown
Contributor

Summary

  • Recover safely from find-or-create uniqueness races without masking unrelated database failures.
  • Add a migration that deduplicates existing rows and enforces unique member and custom-domain constraints.
  • Expand and index event names for operational queries.
  • Flush buffered analytics and close HTTP sessions during shutdown.
  • Generate runtime configuration safely, bound database startup waits, and make migrations explicit and fail-closed.
  • Keep the database private to the Compose network and add a one-shot migration service.

Priority

P2 — improves correctness, rollout safety, and recovery under concurrent multi-worker operation.

Validation

  • Migration imports successfully.
  • Compose migration topology and private database assertions pass.
  • Runtime imports and all Python AST parsing checks pass.

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