This repository was archived by the owner on Jun 8, 2026. It is now read-only.
Fix auto-update error visibility and add zip target - #44
Merged
Conversation
…rget
- Add autoUpdater.on("error") handler with gatewayLog.error logging
- Replace empty catch blocks with error logging in checkForUpdates calls
- Add zip build target alongside DMG for reliable macOS auto-updates
- Update release workflow to upload both DMG and zip artifacts
- Bump version to 0.8.9
Testing: Ran typecheck and lint, both pass. Verified error handler uses
existing gatewayLog infrastructure for consistency.
Risks: The zip target addition changes build output -- CI will now produce
an additional artifact. electron-updater prefers zip on macOS so this
improves update reliability.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Replace org-level GitHub App secrets with repo-level CLAUDE_CODE_OAUTH_TOKEN - Use GITHUB_TOKEN (always available) instead of generated app token - Drop private plugin marketplace dependency (requires cross-repo app token) - Simplify workflow to essentials — no org secrets needed for public repo Testing: Verified CLAUDE_CODE_OAUTH_TOKEN exists as repo secret. Risks: Reviews will use default claude-code-action behavior instead of custom plugins. Review quality should be equivalent for this repo's needs. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Restore claude-code-review.yml to original state - Restore release.yml to original state (revert zip artifact change) - Workflow fixes are out of scope for this PR Co-Authored-By: Claude Opus 4.6 (1M context) <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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
.catch(() => {})blocks. AddedautoUpdater.on("error")handler and replaced empty catches with propergatewayLog.errorlogging for full visibility into update failures.electron-updaterworks most reliably with zip for applying updates. Addedzipas an additional build target alongside DMG (DMG for initial install, zip for auto-updates). Updated release workflow to upload both artifacts.Test plan
just desktop-typecheck)just desktop-lint)🤖 Generated with Claude Code