`export_job.py` is not ready to merge tomorrow. The worst problem is that a failed export looks like a success to cron, so finance would silently miss a day of invoices. I only read the file. I didn't run it. `test_export_job.py`, which the docstring says covers it, doesn't exist in this directory, so I couldn't check any tests.

**Blockers**

1. **Failures are swallowed** (`export_job.py:56-57`). `run()` catches every exception, logs it and exits with code 0.
   - Example: the upload endpoint returns a 500 at 02:00. `raise_for_status()` raises, the error is logged, and the job exits 0. Cron sees success and nobody is alerted.
   - Expected: a non-zero exit, either by re-raising or by calling `sys.exit(1)`.

2. **Customer emails are written to the logs** (`export_job.py:52`). The log line includes `[row[1] for row in rows]`, which is the full list of customer emails every night. That is personal data in log files, and it also makes the line very long. Log the count and the date only.

3. **No tests.** The docstring cites `test_export_job.py`, but the file isn't there. Even if it existed, "CSV header and one row" would leave out most of what matters. Your standards require tests before merge. The cases I'd want:
   - an empty day
   - the failure exit code
   - the day-boundary query
   - the amount formatting
   - upload errors

**Should fix before merge**

4. **Money is formatted with float division** (`export_job.py:37`). `amount_cents / 100` gives `12.5` for 1250 cents, not `12.50`. Finance may also see a float for amounts that don't divide cleanly. Use `Decimal(amount_cents) / 100` formatted to two places, or write `amount_cents` as-is under a header named `amount_cents`. Check with finance which format they expect.

5. **The date depends on the server's timezone** (`export_job.py:47`). `datetime.date.today()` uses the server's local time. If `paid_at` is stored in UTC and the server isn't, "yesterday" is shifted by a few hours. Pick one timezone explicitly. Also, `fetch_invoices` compares a `date` against `paid_at`, so check that the column type and the boundaries behave as intended.

6. **Config is read when the module is imported** (`export_job.py:16`). `os.environ["FINANCE_UPLOAD_URL"]` raises `KeyError` on import if the variable is unset. That makes the module hard to test and gives a confusing error. Read it inside `run()`.

7. **Re-runs and partial failures.** The upload has no timeout, so a hung endpoint blocks the job forever. A retry would re-upload the same file, and I can't tell whether the finance endpoint de-duplicates. Add `timeout=` to the `requests.post` call, and confirm what the endpoint does with duplicates.

8. **`EXPORT_DIR` is hardcoded** to `/var/exports`. The job doesn't check that the directory exists. It would be better to make it configurable.

**Minor:** `run()` mixes connecting, fetching, writing and uploading. It is still small enough, but it would be easier to test if the date and path logic were split out. Logging is never configured, so the `log.info` and `log.error` lines may not appear under cron.

Items 1–3 would need to be done before merge. Items 4–5 are quick and worth doing in the same change.

VERDICT: NOT READY
