Skip to content

Automation: Introduce AutomationTimeoutException and improve error reporting - #1803

Merged
d4rken merged 1 commit into
mainfrom
locked-system-apps
May 25, 2025
Merged

d4rken merged 1 commit into
mainfrom
locked-system-apps

Conversation

@d4rken

@d4rken d4rken commented May 25, 2025

Copy link
Copy Markdown
Member

This commit introduces a new AutomationTimeoutException to specifically handle cases where automation tasks time out.

Additionally, the AutomationCompatibilityException and the new AutomationTimeoutException now include an action to report a bug, guiding users to the relevant wiki page.

The AppCleaner's ClearCacheModule has been updated to:

  • Properly handle and log AutomationTimeoutException.
  • Limit the number of consecutive timeouts before considering it a compatibility issue, specifically when no successful operations have occurred.
  • Track individual item failures during inaccessible cache deletion and include them in the result, even if the overall operation is cancelled by the user.

String resources have been updated for clarity and to include a "Report bug" action label.

…porting

This commit introduces a new `AutomationTimeoutException` to specifically handle cases where automation tasks time out.

Additionally, the `AutomationCompatibilityException` and the new `AutomationTimeoutException` now include an action to report a bug, guiding users to the relevant wiki page.

The AppCleaner's `ClearCacheModule` has been updated to:
- Properly handle and log `AutomationTimeoutException`.
- Limit the number of consecutive timeouts before considering it a compatibility issue, specifically when no successful operations have occurred.
- Track individual item failures during inaccessible cache deletion and include them in the result, even if the overall operation is cancelled by the user.

String resources have been updated for clarity and to include a "Report bug" action label.
@d4rken d4rken added Automation Accessibility service related (ACS) c: AppCleaner c: AppControl labels May 25, 2025
@d4rken
d4rken merged commit f750c66 into main May 25, 2025
@d4rken
d4rken deleted the locked-system-apps branch May 25, 2025 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Automation Accessibility service related (ACS) c: AppCleaner c: AppControl

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant