`export_job.py` is not ready to merge tomorrow. The failure handling can lose a night's export without anyone noticing, and the file has almost no tests. I read only `export_job.py`. I did not run it, and the `test_export_job.py` named in its docstring does not exist in this directory.

**Blockers**

1. **Failures are swallowed (`export_job.py:56-57`).** `run()` catches every exception, logs one line, and exits with status 0.
   - Example: if the finance endpoint returns a 500 at 02:00, cron sees success and nobody is alerted. Finance is missing a day of invoices until someone notices.
   - Fix: re-raise after logging (or `sys.exit(1)`), and use `log.exception` so the traceback is kept.
2. **Customer emails are written to the logs (`export_job.py:52`).** The log line lists every customer's email address, so personal data ends up in log storage.
   - Fix: log only the count and the date.
3. **Almost no tests.** The docstring claims `test_export_job.py` covers the CSV header and one row, but that file is missing. Nothing covers the date window, the upload, or the failure path. This also breaks your own rule that tests come first.
   - Fix: add tests for the CSV output, the query's date boundaries, an upload failure that must surface, and an empty day.

**Should fix before merge**

4. **Wrong amounts are possible (`export_job.py:37`).** `amount_cents / 100` is float division. Example: 1999 cents is written as `19.99`, and 1000 cents is written as `10.0` rather than `10.00`. Finance may read or round these differently. Use `Decimal(amount_cents) / 100` formatted to two places, and check that the currency has two decimal places (JPY has none).
5. **Date window depends on the server's timezone (`export_job.py:47`).** `date.today()` uses the server's local time, and `paid_at` is compared against bare dates. Around midnight, or if the server is in UTC and the data is not, invoices can fall into the wrong day. Decide which timezone defines "yesterday" and apply it explicitly.
6. **A rerun re-uploads the same file with no protection against duplicates (`export_job.py:42`).** After a failed run, a manual rerun overwrites the file and posts it again. Check whether the finance endpoint de-duplicates by filename. If it doesn't, add an idempotency key.
7. **The upload has no timeout (`export_job.py:42`).** `requests.post` can hang forever, which would block the 02:00 cron job. Add `timeout=`.

**Minor**

8. `UPLOAD_URL = os.environ["FINANCE_UPLOAD_URL"]` (`export_job.py:16`) is read at import time, so importing the module in a test fails unless the variable is set. Read it inside `run()`.
9. `EXPORT_DIR` is hardcoded (`export_job.py:15`) and never checked for existence. Make it configurable and create it if missing.
10. The CSV file is not cleaned up after upload, so exports pile up in `/var/exports`. Check whether that is intended, and whether the files, which contain customer emails, are access-restricted.

**Deadline**

The smallest set that makes this safe to merge is items 1 and 2 plus a basic test file, which is under an hour of work. Items 4-7 could go in a follow-up if you name them as debt in the PR description. Items 1 and 4 can lose or corrupt finance data silently, so I would not skip those.

VERDICT: NOT READY
