Quantum Studio: a run on the job service whose answer is lost is sent again, safely #600
Loading…
Reference in a new issue
No description provided.
Delete branch "wai/quantum-studio-service-retry"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The Studio's runs on the job service sent each job once, and gave up at the first lost answer, whether of the submission or of any poll. This is the browser's side of #596: the service's
Idempotency-Key.What changes
wai/quantum-studio/src/engine.js(ServiceEngine)GET /v1'sidempotency). To one that does, a run goes under anIdempotency-Keyof its own, a random UUID.The READMEs (in English and Chinese) and the CHANGELOG say so.
Tests
test/service.test.mjs, against a scriptedfetch:The studio workflow runs it on its three legs, beside the hardware test.
Checked
node test/service.test.mjs: every check passes, here and in CI's image (catthehacker/ubuntu:act-22.04, Node 24).wai-quantum-views/build.sh) is the committed bytes.engine.jsis not one of its 49 sources, sobuild-views.mjs --checkholds.🤖 Generated with Claude Code