Skip to content

fix(dwall): attribute access denied to geolocation at its source - #913

Merged
thep0y merged 1 commit into
mainfrom
fix/dwall-location-error-provenance
Nov 26, 2026
Merged

thep0y merged 1 commit into
mainfrom
fix/dwall-location-error-provenance

Conversation

@thep0y

@thep0y thep0y commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator

location_unavailable() matched a bare E_ACCESSDENIED from any Windows API, so an unrelated display or file error with that HRESULT stopped the daemon as if the user had turned location off, while the real denial path was only one of several. The geolocation module now converts E_ACCESSDENIED from its own calls (including WinRT async failures) into GeolocationAccessError::Denied, and the classification only trusts that variant.

location_unavailable() matched a bare E_ACCESSDENIED from any Windows API, so an unrelated display or file error with that HRESULT stopped the daemon as if the user had turned location off, while the real denial path was only one of several. The geolocation module now converts E_ACCESSDENIED from its own calls (including WinRT async failures) into GeolocationAccessError::Denied, and the classification only trusts that variant.
@thep0y thep0y added fix rust Pull requests that update rust code labels Nov 26, 2026
@coderabbitai

coderabbitai Bot commented Nov 26, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 12 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 22e63b6d-3800-49b0-82da-8f0b775e33fa
Commits

Reviewing files that changed from the base of the PR and between a0f3da2 and a378e6c.

Files selected for processing: 4

  • crates/dwall/src/daemon.rs
  • crates/dwall/src/error.rs
  • crates/dwall/src/platform/windows/async_operation.rs
  • crates/dwall/src/platform/windows/geolocation.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@thep0y
thep0y merged commit 04098bc into main Nov 26, 2026
10 checks passed
@github-actions
github-actions Bot deleted the fix/dwall-location-error-provenance branch November 26, 2026 06:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant