The server refused the 25 DPI test sheet before payment ("abaixo do
mínimo de 96 DPI"), as it should.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
End to end on the real stack: a 27 x 30 cm UV PNG with 20 cm of art in
the middle, quoted with the 4,5 cm the Site cuts above and below, paid;
the worker's PNG is 21 cm plus the footer, transparent 0,5 cm above and
below the art, and the Prumo report says "Faixas vazias cortadas: 9,0 cm".
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Marcus, 2026-11-18: "Pago fora do site › Crédito do cliente" maps to the
forma de recebimento CREDITO PRE-PAGO (987762591), and the order also
gets the marcador CREDITO PRE-PAGO. CORREÇÃO DTF, refused by Tiny for
#42, is for correction orders only. A retry adds only the marcadores
the order is missing.
The outbox computes the forma when it delivers, so #42's queued sale
goes through on its next retry after the deploy.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The coupon form checks its code on save and throws a plain Error with
the reason; formDialog showed every error in red, so a typing mistake
became an issue. A plain Error without an API status is now a notice;
the API's refusals (already reported by apiError) and broken code stay
red and reach Sentry.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The artwork browser test still expected 2 × 0,342 m for the test sheet
with 19 cm empty at the bottom; with the empty strips cut (2d8d7c7) each
copy is the trimmed height.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Step 2 of trimming empty strips (Marcus, 2026-11-18): the Site.
- The sheet check finds where the ink starts and ends (each map cell
keeps its first and last ink row) and returns the empty strips.
- A ready PNG sheet whose strip passes 1 cm loses it but for 0,5 cm, as
the layout keeps; its metres drop to what is left, and the cart sends
trim_top_cm and trim_bottom_cm with the source, which the server prints
without (06f4ec9). Spaces between artworks stay.
- The sheet's card says "Removemos N cm vazios do fim do arquivo.
Cobrado: X m." (with several sheets or copies: "Esta folha fica com
X m.").
- The thinnest stroke's place for the proof counts from where the cut
starts.
Checked in Chromium against the page: a 100 cm UV sheet with art from 20
to 45 cm leaves 25,98 cm, a 3 m sheet (the tall-PNG path) 71 cm, two
sheets each say their own metres; the cart's production passes the
server model and prints 25,98 cm with the art whole.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Step 1 of trimming empty strips (Marcus, 2026-11-18): the server side.
- ProductionSource has trim_top_cm and trim_bottom_cm (default 0); only
a measured finished sheet may carry them, and length_cm is what is
left, billed and printed.
- The generator leaves those file rows out (whole decode and banded PNG
reading), and the proportion check compares the art with what is left.
A PDF with a cut, or a cut that does not match the file, goes to hand
preparation.
- The Prumo report says "Faixas vazias cortadas: N cm".
The Site does not send the cut yet (step 2).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Enter in the coupon field sends the cart like "Aplicar" and "Pagar"; with
a quality note still unconfirmed, the guard's expected message was red
and reached Sentry. It is now a warning, and the page scrolls to the
first note to confirm.
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>
A customer's POST /api/uploads failed with "Failed to fetch" before any
part was sent (05:07 UTC): their network, not the Site. The upload now
tries again three seconds later; if that fails too, the file shows
"sem conexão com o servidor. Confira a internet e tente de novo" with
the "Tentar de novo" button, and Sentry hears of it as before.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
#36 is already in Imprimindo. From there the order goes back to Arte
recebida like a card leaving Imprimindo: what Flexi has not taken is
withdrawn from the machine's hot folder (hotfolder.stop), and the step
back is recorded as "Arquivo gerado de novo".
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The first film over 15 m (#36) left a 15 m part of 4,8 GB decoded, which
the FlexiPRINT refuses (#30, 12,3 m and 3,9 GB, printed). PRINT_PART_CM
already sets the part size; an order already generated had no way to get
its new parts.
- POST /orders/{id}/print-files/again (produce): in Arte recebida or Arte
conferida, without a customer correction, the finals that were the
generated files stop counting, the order is back in Arte recebida (a
step back recorded as "Arquivo gerado de novo") and every item is
generated again; one rendering now is left alone.
- The order's "Próximo passo" offers "Gerar de novo" there, with a
confirmation that the final must be approved again.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Tiny refused GET /vendedores with 403 in production; the message blamed
the app's Contatos scope, which already works for the Venda customer
search. Tiny checks the connected user's module permissions: the message
now asks for "ver Vendedores" on our user and carries Tiny's own reply.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Marcus, 2026-11-17:
- Each machine has its own places (machines.places, 1 to 6, three to
start): orders at once in Imprimindo and files at once in its hot
folder. Admin sets it in the machine dialog; Admin and Gestão in the
machine sheet's Dados da máquina. A third order shows as "Na vez".
- Whoever is signed in on a machine drops a card anywhere in Imprimindo
and it goes to that machine; without one, the lane under the pointer.
- Each Kanban user may name their Tiny seller (Usuários, read from
Tiny's own list); a montador Venda reaches Tiny with the seller of who
assembled it. Every other order still sends no seller.
- A folder download that never reached storage (a network drop) waits
for the next pass as a warning and is reported only if it keeps
failing (Sentry DTF-WEB-V).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Marcus could not reach the review photo of the proof of #30 (card #31):
in Revisão it sat at the end of the card's Pedido tab, away from the
answer, and once the seller answered, the card left the board and the
photo with it.
- The board sends each order's proof card with its photos and videos.
- "Responder a prova" has "Ver foto" / "Ver vídeo" beside Prova OK, or
says the Revisor has not sent one yet.
- The parent shows a Prova section (the card, its answer, who and when)
with the same buttons, and "Aguardando prova" offers them too.
- The viewer drops the print-file line for a review photo and reports a
photo it could not load, in red and to Sentry.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Clicking PIX while Mercado Pago's card form was still mounting removed its
holder; the mount went on, found no fields and its onError showed "Erro no
formulário do cartão". Each mount now has its own number and holder id;
a stale mount's callbacks are ignored and the late form is unmounted when
it arrives. A mount that fails on the current form says so in red.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Chrome writes a .crswap working copy beside the file it writes. In the
hot folder the FlexiPRINT took each one as it appeared, the write failed
and every 30 s try left another; when the rename failed, the copy fallback
created the final name empty first and never removed it (0 KB files in
Arte conferida and maquina5\C2, Marcus 2026-11-17).
- Every file is written in _tmp, at the root of the chosen folder, under
its own name, then moved under its final name into its folder.
- An empty file, or one shorter than the download's length, is deleted
and reported in red (so in Sentry); the pass goes on and the next one
tries it again.
- In the hot folders and Recibos a failed move is tried again; nothing
is ever copied there. Elsewhere the copy stays, removes the final file
if it fails, and reports to Sentry that it was used.
- Each page load clears the old .baixando and .crswap leftovers from the
flow's folders; each pass clears tries over an hour old from _tmp.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The drop already opens the order on the approval step (DTF-WEB-F); its
line is guidance, like the review photo's in DTF-WEB-B, so it is no
longer red and no longer reaches Sentry.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- InvalidStateError (the FlexiPRINT's watcher changed a part while the
browser wrote it) joins the files held by another program: the pass goes
on and the next one tries again; it reaches Sentry if it lasts.
- A NotFoundError with the main folder not answering (the server's share
not up yet in the morning) says the folder is away and retries every
30 s; it reaches Sentry after 5 minutes. A file that vanished mid-pass
keeps reporting at once, now in Portuguese.
- A refresh that never reached the server (the computer waking up) says
so and tries again; it reaches Sentry after 3 minutes offline. The
folders' pass leaves that to the refresh.
- "Liberar pasta" no longer creates the folders itself, where a failure
was swallowed; the pass right after does it and reports.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
CI run 318 failed in retention_test: an expired upload outside the
storage policy's prefixes (originals/, videos/) made delete_object raise
AccessDenied, and the cleanup stopped there on every tick, so no file
behind it was ever deleted. The worker now logs it as an error (so it
reaches Sentry), tries that file again a day later and goes on with the
rest; retention_test covers it. The test fixtures that wrote keys under
test/, machine-test/, machine-log-test/ and reset-test/ now use
originals/, where the worker may delete them.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
After 8 hours the session ends and the 30 s folders pass got "Entre no
Kanban." (401), reported in red and so to Sentry. A 401 or the restart's
503 now ends the pass quietly, since load() already shows the sign-in,
and no pass runs while the sign-in is showing. Real folder failures stay
red.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Marcus, 2026-11-16: the whole Site tab stays. The cleanup marked every
upload expired, the files behind the Site's videos and captions too; it
now skips the uploads site_videos points at, and counts only what it
removes.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
CI run 315 failed in label_test with the API's own 429 on
/operator/login: the whole suite signs in from one address and crossed
the 60 sign-ins per 15 min of app/core/auth.py. A test that did not ask
for the limit now clears login_attempts once and signs in again; tests
that expect the 429 still get it.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Pull: on "O pedido mudou" the board reloads; a card still in Arte
conferida is pulled again with the fresh version, one already printing
on that machine is left as it is, anything else reports the conflict.
Folders: a file another program holds open is expected while the
FlexiPRINT reads it. The first pass warns without the error flag, so it
no longer reaches Sentry; only a file still held after 10 passes (about
5 minutes) is an error.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Codes like NX.226 and NX.1003 are allowed in the page, the API and the
stamps table (a dot anywhere but first). A file's own size is a dot and
its letter before .png (Marcus, 2026-11-16): NX.226.C.png is NX.226 in C,
so nobody renames the library. Montar takes the size asked for, else the
code without a size, else another size of it scaled (the closest larger
one, else the largest) and says which file it was made from; the DPI
warning still applies. The <code>-<size>.png form is no longer read.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
After a reload the browser forgets the folder's permission and the
machines stopped writing until someone opened Integrações and clicked
"Liberar pasta" (Marcus, 2026-11-16). The first click or key anywhere in
the signed-in Kanban now makes that request; refused, the next click
asks again, and the "Liberar pasta" button shares the same request.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The picker's accept list does not stop a dropped file, so a .mov or a
file over the limit reached the server and was refused with one message
for both fields. The dialog now checks extension and size with the
server's limits as soon as a file is chosen or dropped, says under the
field which file cannot be sent, and Salvar stays in the dialog.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
"Onde aparece" names the products another published video holds and
closes them while this one is published; turning Publicar on over a
taken product stays off and says which video holds it. The server checks
before copying any file and its refusal names that video too.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
A machine whose only finished order passed through Imprimindo in seconds
showed 110671,5 m per hour. The pace (per machine and month by month) now
needs at least 15 minutes of printing time and shows a dash below that.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Marcus's photo of 16/11: "Failed to execute 'createWritable' ... modifications
are not allowed". A file in use by another program (FlexiPRINT reading it, an
editor) made the whole pass fail, so every other file waited too, and a
target name held open left a half-written .baixando behind. Now that file is
skipped and retried 30 s later while the rest is written, the warning names
it in Portuguese, the .baixando is removed, and only one Kanban tab per
computer writes the folders (Web Locks), so two tabs never lock each other
out. The warning reaches Sentry like every red message.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The first fix stays quiet when the finals were already approved or the order
left Arte recebida/Correção. Order #28 changed in another tab while the
panel was open and still waited for its finals, so the 409 came back. The
person had already confirmed those files: the Kanban now reloads and sends
them once more with the fresh version (the server checks everything again),
and only reports if that fails too or the order was cancelled.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Until now only failed API calls and uncaught exceptions reached Sentry. An
error the page caught and showed, like the folders' "A última tentativa
falhou" Marcus photographed on 16/11, or an upload that failed on the Site,
never did. Now every red message in the Kanban, the Site's checkout, the
customer's account page and every failed upload is sent, one issue per kind
of message; the same text an API error already sent, or a 401 / restart 503
it skips on purpose, is not sent twice.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The panel only offers Arte conferida once every item's final is approved, but
the board's drop sent the move and the server refused it. The drop now says
what is missing and opens the order on "Aprovar o arquivo final", the same
pattern as the review photo guard for Finalizado (DTF-WEB-B).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The register dialog offered Faturado, which the API refuses there: an
invoiced sale goes through the montador's Venda (front 7a.3). The choices are
now Pix, Cartão, Dinheiro and Crédito do cliente, as the API accepts. A
validation error in the Kanban now shows its first field and message instead
of the bare "Confira os campos (422)".
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
upload_limits_test sends about 300 requests in a few seconds (70 upload starts
and deletes, a 30-upload burst, 66 sheets), past nginx's 20 r/s with a burst
of 100 per address. On a busy runner the gateway answered 429 and the suite
failed (runs 298, 301, 302, and 303 twice). The shared client now waits a
second and retries when the 429 is nginx's HTML page; the API's own 429s, which
the suites check with expected=429, are unchanged, and so is the production
limit.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The bottom bar keeps Produção, Cotações, Pagamentos and Números; Mais opens
a sheet with the other sections (Montar, Site, Integrações, Usuários, as the
role allows, with the rail's icons) and the account (theme, password, Sair)
under their own headings, as in Ph1 and Ph2. Stage chips drop their icons and
keep the fade at the edge; the contraction fields take the full width in the
order page (Ph3). Números on the phone names each stage's limit, overruns and
waiting orders, and Por origem fits its five columns.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The item keeps its Arte / Montagem preview, folded under the facts as
"Prévia da arte", so an item without a picture still has no empty column.
The Prumo, preview and Originais disclosures share one row style with a
turning chevron; Originais is hidden when there are none. In Revisão the
camera label no longer sits over the live video, a live camera takes the
whole row, and the no-camera line is a plain note as in D2.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Roadmap Novo Layout, phase E (canvas P2, D2, Ph3): the panel without the
empty column (the item preview stays in Cotações and Abrir e conferir),
Próximo passo with its actions together and the primary last, the item
facts in a four-column grid (the secondary facts kept in a second row),
the Cliente, Entrega and Máquina blocks, and the Revisão dialog with the
camera card and the drop area. Every nextBox branch, action and
permission is unchanged. Built by Prensa.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Roadmap Novo Layout, phase F step 2 (canvas U2, N1): the machines list as
compact rows with their status line; the machine sheet in the shared
dialog with a fixed head and the tabs Situação, Lançamentos and Dados da
máquina (launch rule unchanged); Números as one scrolling page with the
four headline cards, Metros por dia, Produção, Vendas and Consulta
groups. The people list and roles matrix are untouched. Built by Bobina.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Sentry DTF-WEB-D: after "Criar pedido de teste" the quote panel kept
offering "Pedido pago fora do site", and the register answered "Esta
cotação já virou o pedido #N" without saying it was the test order.
The message now names the test order and says to delete it to register
the payment; creating the test order closes the quote panel.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Roadmap Novo Layout, phase F step 1 (canvas M1, M2, M3): the header with
the folder chip and Ajustes; "Adicionar estampa" by code with the found
card; the sheet list with steppers, metres and the live packed preview;
the side panel with Interno/Venda by role, the Tiny customer card,
delivery as real radio choices, brand per stamp and sticky totals; the
"Escolha a pasta dos pedidos" state; and Ajustes (sizes and the internal
customer) in the shared dialog with one save. Same reads, packing,
permissions and API calls. Built by Bobina.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Sentry DTF-WEB-C and DTF-WEB-B (order #24, 16/11): a review photo under
1600 px on its longer side was refused only after the upload (a 1280x720
webcam always is), and dragging the card to Finalizado without the photo
got the server's 409. The dialog now says the minimum, the camera shot
and a chosen photo are measured in the browser with the same message,
and the drop opens Revisão instead of a refused move.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Roadmap Novo Layout, phase D step 2 (canvas A1, D1): a late card gets
the red border and red time (warn colour for a warn late) instead of the
Atrasados strip, which is no longer shown (renderLatebar kept for later);
machine lanes with name, blocking-alert dot, free places and dashed free
slots; compact Finalizado cards; the phone stage chips fade at the edge.
"Tempo aceitável de cada etapa" is a table (Etapa, Aceitável, Responde
pela etapa) with the same API. Built by Prensa.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>