stack/apps/backend/scripts
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
..
verify-data-integrity Fix cron jobs using dev env instead of test env in CI workflows (#1319) 2026-04-09 21:27:18 -07:00
clickhouse-migrations.ts clickhouse new syncs and verify-data (#1304) 2026-04-08 14:43:22 -07:00
db-migrations.ts Queries view (#1145) 2026-02-16 11:39:21 -08:00
db-migrations.tsdown.config.ts Fix Docker build 2026-03-09 10:49:42 -07:00
generate-keys.ts Split backend and dashboard (#83) 2024-06-18 15:49:31 +02:00
generate-migration-imports.ts Auto migration (#526) 2025-07-24 02:38:37 +02:00
generate-openapi-fumadocs.ts chore(backend): align OpenAPI output with Mintlify and mirror specs to docs-mintlify. 2026-04-08 17:12:27 -05:00
generate-private-sign-up-risk-engine.ts private files n sm build shit (#1276) 2026-03-23 12:31:36 -07:00
generate-route-info.ts fixes? 2025-12-12 17:29:57 -08:00
run-cron-jobs.ts stack auth preview mode (#1307) 2026-04-08 16:57:42 -07:00
run-email-queue.ts Speed up tests (#1063) 2025-12-28 11:25:04 -08:00