Fix desktop updater diagnostics#8954
Conversation
There was a problem hiding this comment.
1 issue found across 5 files
Confidence score: 5/5
desktop/macos/changelog/unreleased/issue-8941-updater-diagnostics.jsonhas a trailing period in the changelog string, which can cause a minor convention/lint inconsistency in release notes formatting but no runtime impact if merged as-is — remove the trailing period before merging to keep changelog entries consistent.
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="desktop/macos/changelog/unreleased/issue-8941-updater-diagnostics.json">
<violation number="1" location="desktop/macos/changelog/unreleased/issue-8941-updater-diagnostics.json:2">
P3: Changelog fragment change string ends with a period, but the repo convention requires no trailing period.</violation>
</file>
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
| @@ -0,0 +1,3 @@ | |||
| { | |||
| "change": "Improved macOS updater failure diagnostics so nested Sparkle network errors are classified correctly." | |||
There was a problem hiding this comment.
P3: Changelog fragment change string ends with a period, but the repo convention requires no trailing period.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At desktop/macos/changelog/unreleased/issue-8941-updater-diagnostics.json, line 2:
<comment>Changelog fragment change string ends with a period, but the repo convention requires no trailing period.</comment>
<file context>
@@ -0,0 +1,3 @@
+{
+ "change": "Improved macOS updater failure diagnostics so nested Sparkle network errors are classified correctly."
+}
</file context>
| "change": "Improved macOS updater failure diagnostics so nested Sparkle network errors are classified correctly." | |
| "change": "Improved macOS updater failure diagnostics so nested Sparkle network errors are classified correctly" |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 065b2b7fc6
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| @@ -0,0 +1,3 @@ | |||
| { | |||
| "change": "Improved macOS updater failure diagnostics so nested Sparkle network errors are classified correctly." | |||
There was a problem hiding this comment.
Remove trailing period from changelog text
desktop/macos/AGENTS.md → Changelog Entries explicitly says changelog fragments should be “One sentence, no period,” but this new fragment ends the change value with a period. Please drop the trailing punctuation so the release automation output stays consistent with the documented desktop changelog format.
Useful? React with 👍 / 👎.
Summary
NSURLErrorDomainfailures as network failures instead of generic appcast retrieval failuresUpdate Check FailedtelemetryUpdate AvailableandUpdate InstalledeventsRoot cause
Sparkle wraps appcast retrieval/download failures in
SUSparkleErrorDomain/2001, sometimes nesting another Sparkle wrapper before the realNSURLErrorDomain. The app classified by the top-level localized message before walking nested errors, so transient network failures from current clients were reported asappcast_retrieval. The available/installed analytics also only emittedversion, which made source-vs-target release interpretation require person-level sequence inference.Fixes #8941
Validation
xcrun swift test --package-path desktop/macos/Desktop --filter UpdateFailureDiagnosticsTestscd desktop/macos && xcrun swift build -c debug --package-path DesktopNotes: the Swift commands still emit existing unrelated warnings, including FluidAudio resource warning, libwebp macOS version linker warning, and existing Swift concurrency/deprecation warnings.