fix: Prova OK approves every part of a film, and "Gerar de novo" names the new files with a version (#114, #128, #130)
Some checks failed
Build and deploy / Validate source (push) Successful in 16s
Build and deploy / Publish images (push) Has been cancelled
Build and deploy / Integration suite on a real stack (push) Has been cancelled
Build and deploy / Secret scan and release gate (push) Has been cancelled
Some checks failed
Build and deploy / Validate source (push) Successful in 16s
Build and deploy / Publish images (push) Has been cancelled
Build and deploy / Integration suite on a real stack (push) Has been cancelled
Build and deploy / Secret scan and release gate (push) Has been cancelled
The proof's approval took the print file's first upload as the final, so the other parts of a film in parts never reached Arte conferida or the hot folder and were downloaded by hand. It now approves every part, and adds the missing ones to a first part already approved. A one-off migration completes the open orders still before Imprimindo. Generated again, the files are named DTF-130-v2-item-1-p2.png, as Marcus asked, so the FlexiPRINT queue and the Hoson list never take them for the first ones. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -219,6 +219,8 @@ def run():
|
||||
assert (state, finals, back['reason'], back['back']) == ('rec', 0, 'Arquivo gerado de novo', True), (state, finals, back)
|
||||
again, remade = wait_print(client, again['id'], 'ready')
|
||||
assert str(remade['upload_id']) != str(made['upload_id']), (made, remade)
|
||||
# Its name carries the version, so it is not taken for the first (#130).
|
||||
assert remade['name'] == 'DTF-%d-v2-item-1.png' % again['number'], remade['name']
|
||||
print('PASS: a ready file is generated again from Arte conferida, back in Arte recebida to approve')
|
||||
|
||||
# The generated file approved, sent to Correção (its final stops counting)
|
||||
|
||||
Reference in New Issue
Block a user