feat(progress): add stage labels to progress updates - #413
Merged
Conversation
Analyze multiple RAR archive groups concurrently using goroutines, reducing import time for NZBs with multiple separate RAR sets (e.g. season packs). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Attach a human-readable stage label (e.g. "Parsing NZB", "Analyzing archive",
"Validating segments", "Verifying archive") to every progress broadcast so the
UI can surface what the importer is currently doing.
Backend:
- Add UpdateProgressWithStage to Broadcaster interface and ProgressBroadcaster
- Add WithStage() fluent setter on Tracker; all Update/UpdateAbsolute calls now
carry the stage through to SSE subscribers
- Store stage alongside percentage in progressState; expose via ProgressEntry in
GetAllProgress (SSE initial payload)
- Wire granular per-file trackers into singlefile and multifile processors so
segment validation progress is reported in real time
- Assign stage labels at each processor.go milestone
Frontend:
- Upgrade progress maps from Record<number,number> to Record<number,ProgressEntry>
({percentage, stage}) in useProgressStream and useQueueStream
- Show stage label instead of "PROGRESS" header in QueuePage row
- Show stage in ImportStatusCard detail/status when processing a single item
- Fix ActivityHub/QueuePage to access .percentage from the new entry shape
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
yoshitaka420
pushed a commit
to yoshitaka420/altmount
that referenced
this pull request
Jun 1, 2026
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Summary
stagefield to every progress broadcast so the UI can display what the importer is currently doing (e.g. Parsing NZB, Analyzing archive, Validating segments, Verifying archive)Record<number, number>→Record<number, ProgressEntry>and surfaces the stage label in the Queue page row header and the Import Status CardTest plan
bun run checkpasses (TypeScript + lint)makebuilds cleanly (Go backend + frontend)🤖 Generated with Claude Code