feat: a one-off job makes the artwork pictures for orders from before them
The customer's browser makes each upload's picture, so older orders show "sem prévia" on the Kanban. ops.backfill_thumbnails, run once from the worker's console, reads each PNG, JPEG or WebP an order or live quote still refers to and stores a WebP the Site's size. PDFs and CorelDRAW files need a renderer the server does not have and keep the layout drawing; images over 100 million pixels are skipped so the worker's memory stays bounded. Running it again only looks at uploads that still have no picture. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -73,7 +73,7 @@ jobs:
|
||||
# one a developer exercises on localhost.
|
||||
- name: API and workflow regressions
|
||||
run: |
|
||||
for suite in smoke_test workflow_test security_test scanning_test payment_test quote_pagination_test kanban_test reconcile_test order_actions_test print_file_test launch_reset_test; do
|
||||
for suite in smoke_test workflow_test security_test scanning_test payment_test quote_pagination_test kanban_test reconcile_test order_actions_test print_file_test thumbnail_backfill_test launch_reset_test; do
|
||||
echo "--- $suite"
|
||||
$COMPOSE exec -T \
|
||||
-e SITE_BASE_URL=http://site \
|
||||
|
||||
Reference in New Issue
Block a user