Skip to content

Fix auto-update and add Settings page with app logs#42

Merged
Umaaz merged 3 commits into
mainfrom
crisp-elm
Apr 6, 2026
Merged

Fix auto-update and add Settings page with app logs#42
Umaaz merged 3 commits into
mainfrom
crisp-elm

Conversation

@Umaaz
Copy link
Copy Markdown
Contributor

@Umaaz Umaaz commented Apr 6, 2026

Summary

  • Fixed auto-updater: errors now surface to the UI instead of being silently logged, switched from single startup check to periodic re-checks every 30 minutes, uses checkForUpdates() instead of checkForUpdatesAndNotify() since we have custom UI
  • Added centralized logger: new src/main/logger.ts with ring buffer (500 entries) that pipes main process logs to renderer via IPC, replaced all ad-hoc console.log/warn/error calls across main process files
  • New Settings page: accessible via gear icon in sidebar footer, shows update status with manual "Check for updates" button, and a filterable live log viewer with auto-scroll

Test plan

  • Open Settings via gear icon in sidebar footer
  • Verify app logs appear (at minimum the startup log)
  • Click "Check for updates" — in dev mode, should show dev mode error; in production, should check GitHub
  • Verify VersionIndicator in sidebar shows error state (red dot) on update failure
  • Verify log filter input narrows displayed entries
  • Run npm run typecheck — passes clean

🤖 Generated with Claude Code

Umaaz and others added 3 commits April 7, 2026 00:18
Auto-updater now surfaces errors to the UI, uses periodic re-checks
(every 30 min), and switches to checkForUpdates() since we have custom
UI. Added centralized logger module with ring buffer that pipes main
process logs to renderer via IPC. New Settings view shows update
controls and a filterable live log viewer.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Logs now persist to ~/.konductor/app.log across restarts. File is
auto-rotated at 512KB. Live IPC streaming to renderer is preserved.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Umaaz Umaaz enabled auto-merge April 6, 2026 22:31
@Umaaz Umaaz merged commit 8138fea into main Apr 6, 2026
3 checks passed
@Umaaz Umaaz deleted the crisp-elm branch April 6, 2026 22:32
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.

1 participant