medic / cht-sync

Data synchronization between CouchDB and PostgreSQL for the purpose of analytics.
GNU General Public License v3.0
4 stars 5 forks source link

feat(#107): Adds multi-db watcher support #113

Closed dianabarsan closed 5 months ago

dianabarsan commented 5 months ago

Adds watcher for continuous doc import. Watcher has a timeout of 5 seconds between tries. Adds multi database support. Ignores postgres deadlock errors, and adds retry.

Updates e2e tests to:

107

dianabarsan commented 5 months ago

I agree with the whole weirdness around e2e tests in this repo depending on another repository. I really struggled not to make this change in this iteration, because I wanted to keep this relatively contained to the watcher + multi db support.

I think the simplest solution right now is to have a sort of test-branch for cht-pipeline instead of passing main to e2e tests here. But the best would be to somehow source the DBT models to this repo.

medic-ci commented 2 months ago

:tada: This PR is included in version 1.0.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: