Progress callback wiring #91
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#91
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?
Phase 1: Progress callback wiring
If P1 chose
progress_cb, implement the per-stage progressnotifications. If P1 chose
run_in_executor-only, this phase isunnecessary (mark as N/A in the issue tracker).
Files:
src/main_pipeline.py(addprogress_cbparameter, callbetween stages)
src/service/handlers/digitize.py(forward progress eventsto SSE response)
tests/test_progress_callback.py(asserts callback firesfor each stage, with correct stage names)
Acceptance:
process(progress_cb=cb)invokescbonce per stagetransition with
{stage, status, duration_ms?}.can render as a progress bar.
raster_to_vector,semantic_annotation,dom_resolution,physical_optimization,format_emission.Depends on: P1 (decision), P2 (chosen primitive).
Out of scope
covered by issue #43 (concurrency contract). This ticket is about
the API shape, not the operational parameters.
progress_cbis for stage-level progress, not pixel-levelprogress within a stage. That would require deeper refactoring
per stage.
Decomposed from easystitch#34
Decomposed from easystitch#53