Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Segmentation Queue Feature
Summary
Adds multi-select batch segmentation to the Segmentation page. Users can select multiple acquisitions to segment, adding them to a queue for sequential processing. The queue lives entirely in Node-RED
Branch
github.com/fairscope/dashboard):feature/segmentation-queue-v2What Changed
Modified Nodes
8a22543633712279show-select), "Segment Selected" button, queue status chips (Segmenting/Queued/Done/Error), cancel buttons, queue summary bar60bfa71a5e7fc2d5queue_confirmedtopic instead ofsegmenter/segment98b980828cac388b^queue_to route queue topics9a2e04f65e0432e166f970bece31600dNew Nodes (on Segmentation tab)
a1b2c3d4e5f60001queue_segment_request,queue_cancel,queue_cancel_allto the Queue Processora1b2c3d4e5f60002a1b2c3d4e5f60003status/segmenterMQTT messages and forwards them to the Queue Processor when a queue is activea1b2c3d4e5f60005Python Changes
None. The queue sends requests using the existing MQTT contract (
segmenter/segment/status/segmenter).How It Works
User Flow
Data Flow
Flow Context Variables
seg_queue— Array of pending{item}objectsseg_queue_current— Currently processing item or nullseg_queue_results— Array of{path, acquisition_id, status, error?}for completed itemsseg_queue_active— Boolean, true while queue is runningseg_queue_settings—{process_min_ESD}confirmed in dialogseg_queue_retry_pending— Boolean, set when segmenter responds "Busy"Edge Cases to notice when trying to debug odd behavior