**Not ready to merge tomorrow as written.** Two problems are blockers, and both are small fixes. I read only `export_job.py` and did not open `test_export_job.py`. The coverage note below comes from the docstring, which says it tests the CSV header and one row.

## Blockers

1. **High: failures are swallowed, so a broken export looks like a success.** `run()` catches every exception, logs it, and exits 0 (`export_job.py:56-57`). Suppose the upload returns a 500 at 02:00. Cron sees a clean exit, nobody is alerted, and finance has no file for that day. Re-raise after logging, or call `sys.exit(1)`, so cron's failure handling fires.
2. **High: customer emails are written to the logs.** Line 52 logs `[row[1] for row in rows]`, which is every customer email for the day. That is personal data in plain-text logs. Log only the count and the date.

## Should fix before merge (small)

3. **Medium: `requests.post` has no timeout** (line 42). A stalled finance endpoint hangs the 02:00 job forever. Add `timeout=30` or similar.
4. **Medium: money is converted with float division** (`amount_cents / 100`, line 37). Finance CSVs should use `Decimal`, or format the amount as a fixed two-decimal string. This also assumes every currency has two decimal places, which is wrong for JPY, for example.
5. **Medium: the "yesterday" boundary depends on the server's timezone.** `date.today()` uses the server's local date, and the query compares against `paid_at`. If `paid_at` is `timestamptz`, the day window can be off by hours. Pick a timezone explicitly, probably UTC, and check the column type.
6. **Medium: test coverage is thin.** Nothing covers an empty day, a failed upload, a DB error, the day-window query, or `run()`. This fails your own standard of testing the failure cases. Items 1 to 5 each need a test, and writing them first would keep the fixes honest.

## Can follow after merge

7. **Medium: no way to re-run a past date.** `run()` always exports yesterday, so a failed night cannot be backfilled without editing code. Accept an optional date argument.
8. **Low: the CSV is not written atomically.** A crash mid-write leaves a partial file at the final path. Write to a temp file, then rename.
9. **Low: `UPLOAD_URL = os.environ[...]` is read at import time.** Importing the module without that variable raises `KeyError`, which makes tests awkward. Read it inside `run()`.
10. **Low: CSV injection.** An email beginning with `=`, `+` or `@` could be executed as a formula if finance opens the file in Excel.
11. **Low: the exported file contains customer emails.** It is written with the default umask into `/var/exports`. Confirm the directory permissions and retention.
12. **Low: `fetchall()` loads the whole day into memory.** This is fine now and worth revisiting if volume grows.

## Plan for tomorrow

Items 1 to 6 are roughly half a day with tests. Items 7 to 12 can go into a ticket. If you merge without 1 and 2, you take on silent data loss and a privacy exposure, and neither would be noticed until finance asks where the file is.

VERDICT: NOT READY
