Repository navigation
fix(updater): suppress automatic check failure banners - #690
Salah-Eddine Lachkar (artpumpkin) wants to merge 1 commit into
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
[Low impact] The PR appears safe to merge; no actionable issues were found. SummaryAutomatic update-check failures now log a local warning without showing a red banner.
Reviews (2) · Last reviewed commit: "fix(updater): keep automatic check failu..." · Reviewed by Greptile |
|
|
Hi Salah-Eddine Lachkar (@artpumpkin)! Thank you for your contribution. However the "hard part" of this task is the manual verification in the step four of the test plan: "Native release-build verification: launch offline and confirm no global error banner; verify a failed installation still surfaces its error. Native updater calls are mocked in the hook tests, and no real update was installed during validation." Can you please run this verification, providing some explanation on how this was run and some video as proof? |







Summary
Fixes #657. An automatic update-check failure now logs a local warning and emits
update_check_failedwith the fixed reason codecheck_failed, without showing a red banner. Raw error strings and manifest URLs are not sent in this telemetry event. Update installation failures retain their existing banner and telemetry.Removes the dead check-error banner branch. Manual checking/settings changes remain outside this issue.
Test Plan
import.meta.env.DEVstubbed false: network, HTTP and malformed-manifest check rejections stay out of banner state; an install rejection retains its error. Tests also check warning output and telemetry URL exclusion.git diff --checkpasses.Docs
Implementation and local validation were AI-assisted.