Skip to content

fix(logging): apply log level changes dynamically without restart#1

Closed
evulhotdog wants to merge 3 commits into
mainfrom
feat/queue-status-revamp
Closed

fix(logging): apply log level changes dynamically without restart#1
evulhotdog wants to merge 3 commits into
mainfrom
feat/queue-status-revamp

Conversation

@evulhotdog

Copy link
Copy Markdown
Owner

foo

evulhotdog and others added 3 commits May 27, 2026 21:35
The DynamicLeveler existed in slogutil but was never wired into logger setup. Log level changes from the config UI required a full restart to take effect because SetupLogRotation baked the level into handlers as a static value.

Now SetupLogRotation returns a DynamicLeveler used as the Leveler in HandlerOptions. RegisterLogLevelHandler calls SetLevel on it, which atomically propagates to all active handlers.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
…or categorization

Backend:
- Add FailureCategory type + CategorizedError to internal/errors/category.go
- Add TimeLeft field to ProgressUpdate for SSE ETA streaming
- Derive failure_category in QueueItemResponse from error messages
- Log failure category in handleProcessingFailure

Frontend:
- Add DaisyUI PipelineStepper showing 4-phase processing pipeline
- Add CategorizedErrorAlert mapping 9 failure categories to icons/alerts
- Add ETA display (time_left_seconds) in QueueItemCard and QueuePage
- Consolidate stage fallbacks to 'Downloading'
- Extend useQueueStream with time_left_seconds field
@evulhotdog evulhotdog closed this May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants