**Not ready to merge tomorrow.** There are three problems to fix first: failures are swallowed, customer emails are logged, and the upload can hang forever. The job also has almost no tests. I read only `export_job.py` and did not open `test_export_job.py`, so the test comments below rely on the docstring's description: "CSV header and one row".

## Must fix before merge

1. **High: failures are hidden (lines 56-57).** `run()` catches every exception, logs one line, and exits with status 0. Cron will report success.
   - **Failing case:** the finance endpoint returns a 500 at 02:00. The job logs "export failed", exits 0, and finance never gets the file. Nobody is alerted.
   - **Expected:** the job exits non-zero (re-raise, or `sys.exit(1)`) so cron or monitoring can see it.

2. **High: customer emails are written to the logs (line 52).** `[row[1] for row in rows]` logs every customer email for the day at INFO level. That is personal data in log storage, and it is also a very long line on a busy day.
   - **Fix:** log only the count and the day.

3. **Medium: the upload has no timeout (line 42).** `requests.post` without `timeout=` can wait forever. A hung finance endpoint leaves the cron process stuck, and the next night's run may overlap with it. Add a timeout. A small retry for transient errors would be good too.

4. **Medium: test coverage is too thin for a job that moves finance data.** One header and one row does not cover:
   - a failed upload
   - an empty day
   - rows near the midnight boundary
   - the amount formatting below

   Tests for these are the cheapest way to prove fixes 1 and 3.

## Should fix (smaller, but real)

5. **Medium: the day boundary depends on timezones that are never stated (lines 47 and 28).** `date.today()` uses the server's local time. Comparing `paid_at` to a plain date uses the database session timezone if the column is `timestamptz`.
   - **Failing case:** a server in UTC and a database session in another zone could put an invoice paid at 23:30 on the wrong day.
   - Pick one timezone explicitly and pass timezone-aware bounds.
   - I can't see the schema, so this is a real risk but I haven't confirmed it happens.

6. **Medium: amounts go through floating point and assume 2 decimals (line 37).** `amount_cents / 100` writes a float. Plain cents like 1999 come out as `19.99`, but other values can show float noise. Currencies with 0 or 3 decimals (JPY, KWD) would also be wrong.
   - **Fix:** use `Decimal(amount_cents) / 100`, or write the cents column as it is.
   - Check with finance which they expect.

7. **Low: `UPLOAD_URL = os.environ["FINANCE_UPLOAD_URL"]` is read at import time (line 16).** Importing the module without that variable set raises `KeyError`, which makes tests awkward. Read it inside `run()` or `upload()`.

8. **Low: the export file stays in `/var/exports` (line 48).** It holds customer emails and is created with default permissions. Consider restricting permissions and cleaning up old files.

## Speculative (not blocking)

- **Empty day:** the job uploads a header-only file. That may be right or wrong depending on whether finance expects a file every night. Worth asking.
- **Spreadsheet formulas:** an email starting with `=` could be read as a formula when finance opens the CSV. This is unlikely for email fields.
- **Memory:** `fetchall()` loads the whole day into memory. This is fine at current volume, but check it if volume grows.

Items 1, 2, 3 and the missing tests are about a day's work. Item 5 is the one to confirm with the schema, because it could silently put invoices on the wrong day.

VERDICT: NOT READY
