- Deleting an order removed its Tiny events, delivered or not: cancelled
and deleted before the worker sent it (or with Tiny down), the order stayed
open in Tiny. A real order's events now stay; only a test order's go.
- With TINY_ADAPTER missing from the production stack, the simulator marked
paid orders delivered with made-up receipts, and they had to be queued
again by hand. Production now holds the sends (the outbox retries and
Sentry is told); with the real Tiny back, the worker sends them at once.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 19/1F: the board carries the approved proof's machine; the pull and the
order's machine field keep to it and say why.
- 17/1E: a network drop while a download or an answer arrives counts as
unreachable/offline, warned first like the others.
- 16: no folder picker (Safari): said in a line.
- 1A, 1J/1K, 1D, 18: guidance and expected refusals (pull to another machine,
someone already on the machine, e-mail in use, coupon) are not errors.
- 1B: an empty file is refused on the page.
- API-C: the Tiny's rate limit reaches Sentry only if it repeats.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Tiny refused #42 fourteen times ("Forma de recebimento não está
habilitada": the customer-credit forma, CORREÇÃO DTF, is disabled in
Dropstar's Tiny) and only Integrações showed it. The outbox now logs the
refusal as an error on the first failure and every tenth retry, one
message template so Sentry keeps one issue per kind.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The API ran as one uvicorn process, so a slow 150 MB PDF check at checkout
held every other request; WEB_CONCURRENCY now comes from API_WORKERS
(default 2, 1 restores one process) and the api /tmp grows to 512 MiB for
two checks at once. The worker delivered one outbox job per second; it now
drains up to 50 per pass before its periodic tasks.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>