Skip to content

Conversation

dz0ny
Copy link
Member

@dz0ny dz0ny commented May 29, 2025

  • Introduced hasError property in AppCheck and its subclasses to track errors during version checks.

Can be merged before Dash changes, but not released.

ref: https://github.com/teamniteo/pareto/issues/715

@dz0ny dz0ny requested a review from Copilot May 29, 2025 09:06
Copy link

github-actions bot commented May 29, 2025

You can find the built app under the Artifacts at https://github.com/ParetoSecurity/pareto-mac/actions/runs/15323050497

Copy link

You can find the built app under the Artifacts at https://github.com/ParetoSecurity/pareto-mac/actions/runs/15320368496

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR improves error handling and logging across the app’s various version check mechanisms by introducing and utilizing the hasError property. Key changes include updating CFBundleVersion in the app plist, adding hasError flag updates in multiple AppCheck subclasses, and refining update logic in application update checks.

Reviewed Changes

Copilot reviewed 30 out of 30 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
Pareto/Info.plist Updated CFBundleVersion from 5664 to 5709
Pareto/Checks/Zoom.swift, VSCode.swift, SublimeText.swift, etc. Added error flag (hasError) setting on failure
Pareto/Checks/ParetoCheck.swift Introduced hasError property and resets it before check execution
Pareto/Checks/Claim.swift Added computed property checksNoError with combined check logic
Pareto/Checks/Application Updates/ParetoUpdated.swift Enhanced release filtering and logging with hasError on failure

dz0ny and others added 3 commits May 29, 2025 13:24
- Introduced `hasError` property in `AppCheck` and its subclasses to track errors during version checks.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@dz0ny dz0ny force-pushed the feat/propagate-error branch from f212c76 to 635f53d Compare May 29, 2025 11:24
@dz0ny dz0ny merged commit 256b72c into main May 29, 2025
5 checks passed
@dz0ny dz0ny deleted the feat/propagate-error branch May 29, 2025 11:40
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.

2 participants