Treat ETL repos like product repos. Pull requests, linting, type hints, and unit tests on transformation functions catch bugs before they touch million-row tables.
Integration tests against dockerized Postgres with fixture slices validate SQL and PostGIS logic. Full production data in CI is unnecessary; representative edge cases are not.
Data-quality gates in deploy pipelines: row count bounds, null rate thresholds, and schema checks. Fail the deploy when invariants break.
Schedule and application deploys are separate concerns. Orchestrate with cron, Airflow, or systemd timers, but version the code they run.
Document rollback: how to re-run yesterday's pipeline version against a restored snapshot when today's deploy corrupts a staging table.