stack/apps/backend/scripts/verify-data-integrity
BilalG1 9e342da0f2
Fix cron jobs using dev env instead of test env in CI workflows (#1319)
The custom-base-port and db-migration-backwards-compatibility workflows
were running cron jobs with `with-env:dev` instead of `with-env:test`,
causing ClickHouse sync mismatches in verify-data-integrity.

<!--

Make sure you've read the CONTRIBUTING.md guidelines:
https://github.com/stack-auth/stack-auth/blob/dev/CONTRIBUTING.md

-->


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Chores**
* Streamlined CI test workflows to standardize background cron job
startup for more consistent test runs.
* **Tests**
* Improved end-to-end test reliability by aligning background process
behavior across suites.
* **Bug Fixes**
* Enhanced data verification reliability by ensuring external database
sync before integrity checks and tightening comparison ordering for
certain records, reducing false mismatch detections.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-04-09 21:27:18 -07:00
..
api.ts [Fix]: Investigate Memory Leak on Verify Data Integrity (#1269) 2026-03-23 08:55:10 -07:00
clickhouse-sync-verifier.ts Fix cron jobs using dev env instead of test env in CI workflows (#1319) 2026-04-09 21:27:18 -07:00
index.ts Fix cron jobs using dev env instead of test env in CI workflows (#1319) 2026-04-09 21:27:18 -07:00
payments-verifier.ts verify payment transactions integrity (#1128) 2026-01-27 21:17:43 +00:00
recurse.ts --no-bail for verify-data-integrity script 2026-01-28 13:53:28 -08:00
stripe-payout-integrity.ts verify payment transactions integrity (#1128) 2026-01-27 21:17:43 +00:00