/v1/digitize: settings don't actually affect output #22
Labels
No labels
blocked:needs-attention
blocked:needs-decision
bug
feature-request
in-progress
needs-decompose
quickfix
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/easystitch-service#22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
/v1/digitize: settings don't actually affect output
Repo: Mark/easystitch-service
Severity: High
Found: 2026-09-08 full shakedown
Symptom
POST /v1/digitizeaccepts asettingsJSON object withmin_stitch_length_mm,max_stitch_length_mm,fill_density_mm, etc. — but changes to these values produceidentical stitch output.
tests/integration/test_digitize_e2e.py::test_digitize_settings_affect_outputcurrently fails:with
min_stitch_length_mm=1.0and=4.0, both responses return exactly 2032 stitches.Where the engine itself DOES honor the setting
At the library level,
EmbroideryPipeline.process(input_bytes=..., output_format=..., settings=...)correctly varies stitch count by
min_stitch_length_mm:So the bug is in the service's translation or call path, not in the engine.
Likely location
easystitch-service/pipeline_runner.py— either_translate_settings()(line 374) is droppingfields, or the call into
pipeline.digitize_to_stitches(...)(line 614) isn't passing thetranslated settings through to the engine's stitch-generation stage.
Acceptance
test_digitize_settings_affect_outputpassesmin_stitch_length_mm=1.0vs4.0and confirmthe returned
stats.totalStitchesdiffersLauncher block — stale claim on Mark/easystitch-service#22
The previous kilo-gsd.py run (orphaned task
t_b8d24882) left a live process tree that any new dispatch must reap before retrying:kilo-gsd-easystitch-service-22(created 14:35:17) — alive, idlekilo-gsd-easystitch-service-22-bugfix(created 14:49:03) — alive, idle (bugfix agent finished, ruff now passes)073e69b(mock-pipeline regression) ande9c29ac(lint fix). Not yet pushed.The kanban launcher (t_8e57350e) is blocking with
kind=capability. The watcher/janitor needs to: (1)tmux kill-session -t kilo-gsd-easystitch-service-22andkilo-gsd-easystitch-service-22-bugfix, (2)kill 661885if still present, (3) verifygit push origin mainfrom easystitch-service succeeds, (4) close this issue when the canonical commits land on origin.No new kilo-gsd.py run was spawned — the idempotency check in kilo-gsd.py would no-op against the live tmux session anyway.