Mark/easystitch: 1024x1024 raster tests take ~14min — investigate #83
Labels
No labels
blocked:children
blocked:depends-101
blocked:depends-103
blocked:depends-104
blocked:needs-attention
blocked:needs-decision
blocked:no-changes
blocked:preflight
bug
chore
feature-request
in-progress
lint-cleanup
needs-decompose
performance
quality
quickfix
security/medium
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/easystitch#83
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?
Problem
tests/test_main.pyandtests/test_pipeline_e2e.pyuse_png_bytes_1024()fixtures (1024x1024 PNG) that go through the full type-aware stitch dispatch (post-#77). They take ~14 minutes each to run.Impact
test_digitize_to_stitches_returns_structured_resulttest_digitize_to_stitches_shape_contracttest_process_bytes_api_unchanged(depends on others)TestRasterToDstRoundTripTestMultiStitchClassification_png_bytes_1024()These slow tests cascade through kilo-gsd's Verify gate and have caused
MAX_PHASE_TIMEto trip at 1800s during real runs (Mark/easystitch#76, 2026-06-24). Workaround: bumped runner'sMAX_PHASE_TIMEfrom 1800s to 3600s andGATE_TIMEOUT_LINTfrom 180s to 300s.Possible causes
Investigation paths
digitize_to_stitches(_png_bytes_1024())and identify the dominant cost (likely fill generator or pull compensation).test_digitize_to_stitches_raster_has_type_distribution).Acceptance
_png_bytes_1024()-based tests run in under 60s each.kilo-gsdrunner timeouts can be reverted toward original values.Related
~/.hermes/scripts/kilo-gsd.py:73-75— timeout constants bumped as workaroundOut of scope
Correctness is fine; this is purely a runtime concern. The raster type-distribution test (#77) already uses a smaller fixture and runs in <1s.