**Not ready to merge tomorrow.** The job can fail every night and cron will report success. It also writes customer emails to the logs. Both fixes are small. I read `export_job.py` and did not run it. The `test_export_job.py` file the docstring names wasn't in the directory, so I haven't seen it.

## Blockers

1. **Failures are swallowed (high).** `export_job.py:56-57` catches `Exception`, logs one line, and returns normally. Suppose the finance endpoint returns a 500: `raise_for_status()` throws, the error is logged, and the script exits 0. Cron sees success and finance silently gets no file. The expected behavior is a non-zero exit, with the error logged with its traceback. The fix is to re-raise, or to call `log.exception(...)` and then `sys.exit(1)`.

2. **Customer emails are logged (high).** `export_job.py:52` logs `[row[1] for row in rows]`, which is the full list of customer emails for the day. That puts personal data in log storage, which is usually retained and read by more people than the finance upload is. Log only the count and the date.

## Should fix before merge

3. **No timeout on the upload (medium).** `requests.post` at line 42 has no `timeout`, so a stalled endpoint hangs the 02:00 cron run indefinitely. Add something like `timeout=30`.

4. **Amounts are written as floats (medium).** `amount_cents / 100` at line 37 writes `100` cents as `1.0` and `10` cents as `0.1`. Finance usually expects two decimals. Use `Decimal(amount_cents) / 100` and format with `:.2f`.

5. **The day boundary depends on timezone (medium, and I couldn't confirm it).** `date.today()` uses the server's local time. The query compares `paid_at` against bare dates, so it uses the database session's timezone. If the server is UTC and `paid_at` is `timestamptz` in another zone, invoices near midnight land in the wrong day's file. I don't know your column type or server settings, so please confirm.

6. **Test coverage is too thin (medium).** The docstring says the tests cover only the CSV header and one row. Nothing covers the failure path (which would have caught blocker 1), the day boundaries, an empty day, the upload call, or the amount formatting. Your standards call for these before a feature is done.

## Minor

7. **Config is read at import time (low).** `os.environ["FINANCE_UPLOAD_URL"]` on line 16 raises `KeyError` as soon as the module is imported, so any test importing it needs the variable set. Read it inside `run()` instead.
8. **The export file has default permissions (low).** `/var/exports` is hardcoded, may not exist, and the CSV holds customer emails. Create the directory if missing and set the file mode to 0600.
9. **Logging may never appear (low).** No `logging.basicConfig` is called, so `log.info` may print nothing under cron.
10. **The exported file is never cleaned up (low).** It stays on disk after upload.

## Speculative

- A day with no invoices still uploads a header-only file. Check whether finance wants that.
- A re-run overwrites the local file and re-uploads. Check whether the endpoint de-duplicates.
- Email values starting with `=` or `+` could act as spreadsheet formulas if finance opens the file in Excel. This is unlikely for emails.

Given the deadline, blockers 1 and 2 plus the timeout (3) are about a 15-minute change. Add a test that makes the upload fail and asserts a non-zero exit. That would make this ready to merge, and I'd put the rest in a follow-up ticket.

VERDICT: NOT READY
