Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add an Express/TypeScript contact import API and a separate pg-boss worker on ClickHouse Managed Postgres (public beta). Account tokens scope requests and reads; bounded normalized submissions retain their request ID. Import insertion and enqueue use the same node-postgres transaction, while transactional workers commit import-scoped contact results and queue completion together. Retry exhaustion and missing queue metadata become explicit durable outcomes.
Includes separate application/queue migrations, restricted API/worker roles, verified TLS, readable setup and a scoped CI workflow. Runtime startup performs no DDL. This example sends no emails or other external effects.
Validation on 2 October 2026: native clean install, formatting/type/build checks, 3 domain tests and 8 real Cloud acceptance cases passed on Node 24.21.0 / pg-boss 12.35.1 / PostgreSQL 18.6. Acceptance covers same-endpoint TLS controls, runtime permission denials, enqueue rollback, eight competing retries, two workers, after-effects rollback/retry, exhaustion, runtime retention, real SIGKILL recovery, completion replay, account isolation and confirmed API/worker restarts. Empty-schema setup and repeated migrations/seed/queue setup passed using only committed grants. All 24 app files matched native-tested source hashes before commit. Companion article and private evidence remain local for review.