Repository navigation
fix(updater): handle benign network errors and deduplicate error statuses - #146
Merged
Merged
Conversation
…uses Treats net::ERR_FAILED during update checks as benign (transitions to idle instead of showing error), deduplicates identical error statuses, and adds a manual download link to user-facing error toasts. Co-Authored-By: Claude Opus 4.6 <[email protected]>
Co-Authored-By: Claude Opus 4.6 <[email protected]>
This was referenced Aug 12, 2026
enrick-dev
pushed a commit
to enrick-dev/orca
that referenced
this pull request
Oct 15, 2026
…uses (stablyai#146) * fix(updater): handle benign network errors and deduplicate error statuses Treats net::ERR_FAILED during update checks as benign (transitions to idle instead of showing error), deduplicates identical error statuses, and adds a manual download link to user-facing error toasts. Co-Authored-By: Claude Opus 4.6 <[email protected]> * fix: use T[] array syntax instead of Array<T> to pass oxlint Co-Authored-By: Claude Opus 4.6 <[email protected]> --------- Co-authored-by: Claude Opus 4.6 <[email protected]>
nwparker
pushed a commit
to Afloat16/orca
that referenced
this pull request
Nov 27, 2026
Link-preview and workspace-port page titles passed numeric character references straight to String.fromCodePoint, so legacy references such as &stablyai#146; became invisible C1 controls, � produced a lone surrogate, and � or � stayed literal. Follow the WHATWG numeric character reference rules: 0x80-0x9F map through the Windows-1252 replacement table, and NUL, surrogates and values above U+10FFFF become U+FFFD. Fixes stablyai#50344
nwparker
pushed a commit
that referenced
this pull request
Nov 27, 2026
…es (#50345) Link-preview and workspace-port page titles passed numeric character references straight to String.fromCodePoint, so legacy references such as ’ became invisible C1 controls, � produced a lone surrogate, and � or � stayed literal. Follow the WHATWG numeric character reference rules: 0x80-0x9F map through the Windows-1252 replacement table, and NUL, surrogates and values above U+10FFFF become U+FFFD. Fixes #50344
nwparker
added a commit
to Pr1p/orca
that referenced
this pull request
Nov 28, 2026
…red decoder htmlToText decoded entities with its own small table, so mail from Outlook or Word showed C1 control characters for &stablyai#146; and &stablyai#151;, common named entities such as — stayed literal, and a surrogate reference produced a broken string. It now strips tags as before and runs the shared decodeHtmlEntities, which maps Windows-1252 references to their characters and replaces unusable ones with U+FFFD. The named still becomes a plain space so the line-end trim strips it. Fixes stablyai#51598 Co-authored-by: Neil <[email protected]>
nwparker
added a commit
that referenced
this pull request
Nov 28, 2026
…red decoder (#51599) htmlToText decoded entities with its own small table, so mail from Outlook or Word showed C1 control characters for ’ and —, common named entities such as — stayed literal, and a surrogate reference produced a broken string. It now strips tags as before and runs the shared decodeHtmlEntities, which maps Windows-1252 references to their characters and replaces unusable ones with U+FFFD. The named still becomes a plain space so the line-end trim strips it. Fixes #51598 Co-authored-by: Neil <[email protected]>
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
net::ERR_FAILEDduring update checks as benign — transitions to idle instead of showing a scary error toasterrorevent fire for the same failureTest plan
updater.test.tswith tests for error deduplication and benign failure handling🤖 Generated with Claude Code